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

#include <intermediate.h>

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

Public Member Functions

 TIntermSelection (TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB)
 
 TIntermSelection (TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB, const TType &type)
 
virtual void traverse (TIntermTraverser *)
 
virtual TIntermTyped * getCondition () const
 
virtual TIntermNode * getTrueBlock () const
 
virtual TIntermNode * getFalseBlock () const
 
virtual TIntermSelection * getAsSelectionNode ()
 
virtual const TIntermSelection * getAsSelectionNode () const
 
void setNoShortCircuit ()
 
bool getShortCircuit () const
 
void setFlatten ()
 
void setDontFlatten ()
 
bool getFlatten () const
 
bool getDontFlatten () const
 
- Public Member Functions inherited from glslang::TIntermTyped
 TIntermTyped (const TType &t)
 
 TIntermTyped (TBasicType basicType)
 
virtual TIntermTyped * getAsTyped ()
 
virtual const TIntermTyped * getAsTyped () const
 
virtual void setType (const TType &t)
 
virtual const TType & getType () const
 
virtual TType & getWritableType ()
 
virtual TBasicType getBasicType () const
 
virtual TQualifier & getQualifier ()
 
virtual const TQualifier & getQualifier () const
 
virtual void propagatePrecision (TPrecisionQualifier)
 
virtual int getVectorSize () const
 
virtual int getMatrixCols () const
 
virtual int getMatrixRows () const
 
virtual bool isMatrix () const
 
virtual bool isArray () const
 
virtual bool isVector () const
 
virtual bool isScalar () const
 
virtual bool isStruct () const
 
virtual bool isFloatingDomain () const
 
virtual bool isIntegerDomain () const
 
TString getCompleteString () const
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual const glslang::TSourceLoc & getLoc () const
 
virtual void setLoc (const glslang::TSourceLoc &l)
 
virtual glslang::TIntermOperator * getAsOperator ()
 
virtual glslang::TIntermConstantUnion * getAsConstantUnion ()
 
virtual glslang::TIntermAggregate * getAsAggregate ()
 
virtual glslang::TIntermUnary * getAsUnaryNode ()
 
virtual glslang::TIntermBinary * getAsBinaryNode ()
 
virtual glslang::TIntermSwitch * getAsSwitchNode ()
 
virtual glslang::TIntermMethod * getAsMethodNode ()
 
virtual glslang::TIntermSymbol * getAsSymbolNode ()
 
virtual glslang::TIntermBranch * getAsBranchNode ()
 
virtual glslang::TIntermLoop * getAsLoopNode ()
 
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::TIntermSwitch * getAsSwitchNode () 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
 
TIntermNode * trueBlock
 
TIntermNode * falseBlock
 
bool shortCircuit
 
bool flatten
 
bool dontFlatten
 
- Protected Attributes inherited from glslang::TIntermTyped
TType type
 
- Protected Attributes inherited from TIntermNode
glslang::TSourceLoc loc
 

Additional Inherited Members

- Protected Member Functions inherited from glslang::TIntermTyped
TIntermTyped & operator= (const TIntermTyped &)
 
- Protected Member Functions inherited from TIntermNode
 TIntermNode (const TIntermNode &)
 
TIntermNode & operator= (const TIntermNode &)
 

Constructor & Destructor Documentation

◆ TIntermSelection() [1/2]

glslang::TIntermSelection::TIntermSelection ( TIntermTyped *  cond,
TIntermNode *  trueB,
TIntermNode *  falseB 
)
inline

◆ TIntermSelection() [2/2]

glslang::TIntermSelection::TIntermSelection ( TIntermTyped *  cond,
TIntermNode *  trueB,
TIntermNode *  falseB,
const TType &  type 
)
inline

Member Function Documentation

◆ getAsSelectionNode() [1/2]

virtual TIntermSelection* glslang::TIntermSelection::getAsSelectionNode ( )
inlinevirtual

Reimplemented from TIntermNode.

◆ getAsSelectionNode() [2/2]

virtual const TIntermSelection* glslang::TIntermSelection::getAsSelectionNode ( ) const
inlinevirtual

Reimplemented from TIntermNode.

◆ getCondition()

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

◆ getDontFlatten()

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

◆ getFalseBlock()

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

◆ getFlatten()

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

◆ getShortCircuit()

bool glslang::TIntermSelection::getShortCircuit ( ) const
inline
Here is the caller graph for this function:

◆ getTrueBlock()

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

◆ setDontFlatten()

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

◆ setFlatten()

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

◆ setNoShortCircuit()

void glslang::TIntermSelection::setNoShortCircuit ( )
inline
Here is the caller graph for this function:

◆ traverse()

void glslang::TIntermSelection::traverse ( TIntermTraverser *  it)
virtual

Implements TIntermNode.

Here is the call graph for this function:

Member Data Documentation

◆ condition

TIntermTyped* glslang::TIntermSelection::condition
protected

◆ dontFlatten

bool glslang::TIntermSelection::dontFlatten
protected

◆ falseBlock

TIntermNode* glslang::TIntermSelection::falseBlock
protected

◆ flatten

bool glslang::TIntermSelection::flatten
protected

◆ shortCircuit

bool glslang::TIntermSelection::shortCircuit
protected

◆ trueBlock

TIntermNode* glslang::TIntermSelection::trueBlock
protected

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