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 TIntermNode * getCondition () const
 
virtual TIntermAggregate * getBody () const
 
virtual TIntermSwitch * getAsSwitchNode ()
 
virtual const TIntermSwitch * getAsSwitchNode () const
 
void setFlatten ()
 
void setDontFlatten ()
 
bool getFlatten () const
 
bool getDontFlatten () const
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual const glslang::TSourceLoc & getLoc () const
 
virtual void setLoc (const glslang::TSourceLoc &l)
 
virtual glslang::TIntermTyped * getAsTyped ()
 
virtual glslang::TIntermOperator * getAsOperator ()
 
virtual glslang::TIntermConstantUnion * getAsConstantUnion ()
 
virtual glslang::TIntermAggregate * getAsAggregate ()
 
virtual glslang::TIntermUnary * getAsUnaryNode ()
 
virtual glslang::TIntermBinary * getAsBinaryNode ()
 
virtual glslang::TIntermSelection * getAsSelectionNode ()
 
virtual glslang::TIntermMethod * getAsMethodNode ()
 
virtual glslang::TIntermSymbol * getAsSymbolNode ()
 
virtual glslang::TIntermBranch * getAsBranchNode ()
 
virtual glslang::TIntermLoop * getAsLoopNode ()
 
virtual const glslang::TIntermTyped * getAsTyped () const
 
virtual const glslang::TIntermOperator * getAsOperator () const
 
virtual const glslang::TIntermConstantUnion * getAsConstantUnion () const
 
virtual const glslang::TIntermAggregate * getAsAggregate () const
 
virtual const glslang::TIntermUnary * getAsUnaryNode () const
 
virtual const glslang::TIntermBinary * getAsBinaryNode () const
 
virtual const glslang::TIntermSelection * getAsSelectionNode () const
 
virtual const glslang::TIntermMethod * getAsMethodNode () const
 
virtual const glslang::TIntermSymbol * getAsSymbolNode () const
 
virtual const glslang::TIntermBranch * getAsBranchNode () const
 
virtual const glslang::TIntermLoop * getAsLoopNode () const
 
virtual ~TIntermNode ()
 

Protected Attributes

TIntermTyped * condition
 
TIntermAggregate * body
 
bool flatten
 
bool dontFlatten
 
- Protected Attributes inherited from TIntermNode
glslang::TSourceLoc loc
 

Additional Inherited Members

- Protected Member Functions inherited from TIntermNode
 TIntermNode (const TIntermNode &)
 
TIntermNode & operator= (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: