RetroArch
Public Member Functions | Protected Attributes | List of all members
glslang::TIntermSwitch Class Reference

#include <intermediate.h>

Inheritance diagram for glslang::TIntermSwitch:
[legend]
Collaboration diagram for glslang::TIntermSwitch:
[legend]

Public Member Functions

 TIntermSwitch (TIntermTyped *cond, TIntermAggregate *b)
 
virtual void traverse (TIntermTraverser *)
 
virtual TIntermNodegetCondition () const
 
virtual TIntermAggregategetBody () const
 
virtual TIntermSwitchgetAsSwitchNode ()
 
virtual const TIntermSwitchgetAsSwitchNode () const
 
void setFlatten ()
 
void setDontFlatten ()
 
bool getFlatten () const
 
bool getDontFlatten () const
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual const glslang::TSourceLocgetLoc () const
 
virtual void setLoc (const glslang::TSourceLoc &l)
 
virtual glslang::TIntermTypedgetAsTyped ()
 
virtual glslang::TIntermOperatorgetAsOperator ()
 
virtual glslang::TIntermConstantUniongetAsConstantUnion ()
 
virtual glslang::TIntermAggregategetAsAggregate ()
 
virtual glslang::TIntermUnarygetAsUnaryNode ()
 
virtual glslang::TIntermBinarygetAsBinaryNode ()
 
virtual glslang::TIntermSelectiongetAsSelectionNode ()
 
virtual glslang::TIntermMethodgetAsMethodNode ()
 
virtual glslang::TIntermSymbolgetAsSymbolNode ()
 
virtual glslang::TIntermBranchgetAsBranchNode ()
 
virtual glslang::TIntermLoopgetAsLoopNode ()
 
virtual const glslang::TIntermTypedgetAsTyped () const
 
virtual const glslang::TIntermOperatorgetAsOperator () const
 
virtual const glslang::TIntermConstantUniongetAsConstantUnion () const
 
virtual const glslang::TIntermAggregategetAsAggregate () const
 
virtual const glslang::TIntermUnarygetAsUnaryNode () const
 
virtual const glslang::TIntermBinarygetAsBinaryNode () const
 
virtual const glslang::TIntermSelectiongetAsSelectionNode () const
 
virtual const glslang::TIntermMethodgetAsMethodNode () const
 
virtual const glslang::TIntermSymbolgetAsSymbolNode () const
 
virtual const glslang::TIntermBranchgetAsBranchNode () const
 
virtual const glslang::TIntermLoopgetAsLoopNode () const
 
virtual ~TIntermNode ()
 

Protected Attributes

TIntermTypedcondition
 
TIntermAggregatebody
 
bool flatten
 
bool dontFlatten
 
- Protected Attributes inherited from TIntermNode
glslang::TSourceLoc loc
 

Additional Inherited Members

- Protected Member Functions inherited from TIntermNode
 TIntermNode (const TIntermNode &)
 
TIntermNodeoperator= (const TIntermNode &)
 

Constructor & Destructor Documentation

◆ TIntermSwitch()

glslang::TIntermSwitch::TIntermSwitch ( TIntermTyped cond,
TIntermAggregate b 
)
inline

Member Function Documentation

◆ getAsSwitchNode() [1/2]

virtual TIntermSwitch* glslang::TIntermSwitch::getAsSwitchNode ( )
inlinevirtual

Reimplemented from TIntermNode.

◆ getAsSwitchNode() [2/2]

virtual const TIntermSwitch* glslang::TIntermSwitch::getAsSwitchNode ( ) const
inlinevirtual

Reimplemented from TIntermNode.

◆ getBody()

virtual TIntermAggregate* glslang::TIntermSwitch::getBody ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getCondition()

virtual TIntermNode* glslang::TIntermSwitch::getCondition ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getDontFlatten()

bool glslang::TIntermSwitch::getDontFlatten ( ) const
inline
Here is the caller graph for this function:

◆ getFlatten()

bool glslang::TIntermSwitch::getFlatten ( ) const
inline
Here is the caller graph for this function:

◆ setDontFlatten()

void glslang::TIntermSwitch::setDontFlatten ( )
inline
Here is the caller graph for this function:

◆ setFlatten()

void glslang::TIntermSwitch::setFlatten ( )
inline
Here is the caller graph for this function:

◆ traverse()

void glslang::TIntermSwitch::traverse ( TIntermTraverser it)
virtual

Implements TIntermNode.

Here is the call graph for this function:

Member Data Documentation

◆ body

TIntermAggregate* glslang::TIntermSwitch::body
protected

◆ condition

TIntermTyped* glslang::TIntermSwitch::condition
protected

◆ dontFlatten

bool glslang::TIntermSwitch::dontFlatten
protected

◆ flatten

bool glslang::TIntermSwitch::flatten
protected

The documentation for this class was generated from the following files: