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

#include <intermediate.h>

Inherits TIntermTyped.

Inherited by TIntermAggregate, TIntermBinary, and TIntermUnary.

Public Member Functions

TOperator getOp () const
 
bool isConstructor () const
 
bool modifiesState () const
 
void setOp (TOperator o)
 
- 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 TIntermSelectiongetAsSelectionNode ()
 
virtual TIntermSymbolgetAsSymbolNode ()
 
virtual TIntermUnarygetAsUnaryNode ()
 
const TSourceLocgetLine () const
 
 POOL_ALLOCATOR_NEW_DELETE ()
 
void setLine (const TSourceLoc &l)
 
virtual void traverse (TIntermTraverser *)=0
 

Protected Member Functions

 TIntermOperator (TOperator o)
 
 TIntermOperator (TOperator o, TType &t)
 

Protected Attributes

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

Detailed Description

Definition at line 387 of file intermediate.h.

Constructor & Destructor Documentation

TIntermOperator::TIntermOperator ( TOperator  o)
inlineprotected

Definition at line 396 of file intermediate.h.

TIntermOperator::TIntermOperator ( TOperator  o,
TType t 
)
inlineprotected

Definition at line 397 of file intermediate.h.

Member Function Documentation

void TIntermOperator::setOp ( TOperator  o)
inline

Member Data Documentation

TOperator TIntermOperator::op
protected

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