All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TIntermSelection Class Reference

#include <intermediate.h>

Inherits TIntermTyped.

Public Member Functions

 TIntermSelection (TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB)
 TIntermSelection (TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB, const TType &type)
TIntermSelectiongetAsSelectionNode ()
TIntermNodegetCondition () const
TIntermNodegetFalseBlock () const
TIntermNodegetTrueBlock () const
virtual void traverse (TIntermTraverser *)
bool usesTernaryOperator () const
- Public Member Functions inherited from TIntermTyped
 TIntermTyped (const TType &t)
int elementRegisterCount () const
int getArraySize () const
virtual TIntermTypedgetAsTyped ()
const char * getBasicString () const
TBasicType getBasicType () const
TString getCompleteString () const
int getNominalSize () const
TPrecision getPrecision () const
TQualifier getQualifier () const
const char * getQualifierString () const
const TTypegetType () const
TTypegetTypePointer ()
bool isArray () const
bool isMatrix () const
bool isScalar () const
bool isVector () const
void setType (const TType &t)
int totalRegisterCount () const
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
virtual ~TIntermNode ()
virtual TIntermAggregategetAsAggregate ()
virtual TIntermBinarygetAsBinaryNode ()
virtual TIntermConstantUniongetAsConstantUnion ()
virtual TIntermLoopgetAsLoopNode ()
virtual TIntermSymbolgetAsSymbolNode ()
virtual TIntermUnarygetAsUnaryNode ()
const TSourceLocgetLine () const
void setLine (const TSourceLoc &l)

Protected Attributes

- Protected Attributes inherited from TIntermTyped
TType type
- Protected Attributes inherited from TIntermNode
TSourceLoc line

Detailed Description

Definition at line 503 of file intermediate.h.

Constructor & Destructor Documentation

TIntermSelection::TIntermSelection ( TIntermTyped cond,
TIntermNode trueB,
TIntermNode falseB 

Definition at line 505 of file intermediate.h.

TIntermSelection::TIntermSelection ( TIntermTyped cond,
TIntermNode trueB,
TIntermNode falseB,
const TType type 

Definition at line 507 of file intermediate.h.

Member Function Documentation

TIntermSelection* TIntermSelection::getAsSelectionNode ( )

Reimplemented from TIntermNode.

Definition at line 516 of file intermediate.h.

bool TIntermSelection::usesTernaryOperator ( ) const

Member Data Documentation

TIntermTyped* TIntermSelection::condition

Definition at line 519 of file intermediate.h.

Referenced by getCondition().

TIntermNode* TIntermSelection::falseBlock

Definition at line 521 of file intermediate.h.

Referenced by getFalseBlock(), and traverse().

TIntermNode* TIntermSelection::trueBlock

Definition at line 520 of file intermediate.h.

Referenced by getTrueBlock(), and traverse().

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