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

#include <intermediate.h>

Inherits TIntermNode.

Inherited by TIntermConstantUnion, TIntermOperator, TIntermSelection, and TIntermSymbol.

Public Member Functions

 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 Attributes

TType type
 
- Protected Attributes inherited from TIntermNode
TSourceLoc line
 

Detailed Description

Definition at line 245 of file intermediate.h.

Constructor & Destructor Documentation

TIntermTyped::TIntermTyped ( const TType t)
inline

Definition at line 247 of file intermediate.h.

Member Function Documentation

int TIntermTyped::elementRegisterCount ( ) const
inline

Definition at line 268 of file intermediate.h.

int TIntermTyped::getArraySize ( ) const
inline

Definition at line 269 of file intermediate.h.

virtual TIntermTyped* TIntermTyped::getAsTyped ( )
inlinevirtual
const char* TIntermTyped::getBasicString ( ) const
inline

Definition at line 263 of file intermediate.h.

TString TIntermTyped::getCompleteString ( ) const
inline

Definition at line 265 of file intermediate.h.

Referenced by TParseContext::executeInitializer(), and switch().

TPrecision TIntermTyped::getPrecision ( ) const
inline
const char* TIntermTyped::getQualifierString ( ) const
inline

Definition at line 264 of file intermediate.h.

TType* TIntermTyped::getTypePointer ( )
inline
bool TIntermTyped::isScalar ( ) const
inline

Definition at line 262 of file intermediate.h.

Referenced by sh::OutputHLSL::visitBinary().

bool TIntermTyped::isVector ( ) const
inline
int TIntermTyped::totalRegisterCount ( ) const
inline

Member Data Documentation

TType TIntermTyped::type
protected

Definition at line 272 of file intermediate.h.

Referenced by getType(), and getTypePointer().


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