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

#include <SymbolTable.h>

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

Public Member Functions

 TVariable (const TString *name, const TType &t, bool uT=false)
 
virtual TVariableclone () const
 
virtual ~TVariable ()
 
virtual TVariablegetAsVariable ()
 
virtual const TVariablegetAsVariable () const
 
virtual const TTypegetType () const
 
virtual TTypegetWritableType ()
 
virtual bool isUserType () const
 
virtual const TConstUnionArraygetConstArray () const
 
virtual TConstUnionArraygetWritableConstArray ()
 
virtual void setConstArray (const TConstUnionArray &array)
 
virtual void setConstSubtree (TIntermTyped *subtree)
 
virtual TIntermTypedgetConstSubtree () const
 
virtual void setAnonId (int i)
 
virtual int getAnonId () const
 
virtual void dump (TInfoSink &infoSink) const
 
- Public Member Functions inherited from glslang::TSymbol
 TSymbol (const TString *n)
 
virtual ~TSymbol ()
 
virtual const TStringgetName () const
 
virtual void changeName (const TString *newName)
 
virtual void addPrefix (const char *prefix)
 
virtual const TStringgetMangledName () const
 
virtual TFunctiongetAsFunction ()
 
virtual const TFunctiongetAsFunction () const
 
virtual const TAnonMembergetAsAnonMember () const
 
virtual void setUniqueId (int id)
 
virtual int getUniqueId () const
 
virtual void setExtensions (int num, const char *const exts[])
 
virtual int getNumExtensions () const
 
virtual const char ** getExtensions () const
 
virtual bool isReadOnly () const
 
virtual void makeReadOnly ()
 

Protected Member Functions

 TVariable (const TVariable &)
 
TVariableoperator= (const TVariable &)
 
- Protected Member Functions inherited from glslang::TSymbol
 TSymbol (const TSymbol &)
 
TSymboloperator= (const TSymbol &)
 

Protected Attributes

TType type
 
bool userType
 
TConstUnionArray constArray
 
TIntermTypedconstSubtree
 
int anonId
 
- Protected Attributes inherited from glslang::TSymbol
const TStringname
 
unsigned int uniqueId
 
int numExtensions
 
const char ** extensions
 
bool writable
 

Constructor & Destructor Documentation

◆ TVariable() [1/2]

glslang::TVariable::TVariable ( const TString name,
const TType t,
bool  uT = false 
)
inline
Here is the caller graph for this function:

◆ ~TVariable()

virtual glslang::TVariable::~TVariable ( )
inlinevirtual

◆ TVariable() [2/2]

glslang::TVariable::TVariable ( const TVariable copyOf)
explicitprotected
Here is the call graph for this function:

Member Function Documentation

◆ clone()

TVariable * glslang::TVariable::clone ( ) const
virtual

Implements glslang::TSymbol.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dump()

void glslang::TVariable::dump ( TInfoSink infoSink) const
virtual

Implements glslang::TSymbol.

Here is the call graph for this function:

◆ getAnonId()

virtual int glslang::TVariable::getAnonId ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getAsVariable() [1/2]

virtual TVariable* glslang::TVariable::getAsVariable ( )
inlinevirtual

Reimplemented from glslang::TSymbol.

Here is the caller graph for this function:

◆ getAsVariable() [2/2]

virtual const TVariable* glslang::TVariable::getAsVariable ( ) const
inlinevirtual

Reimplemented from glslang::TSymbol.

◆ getConstArray()

virtual const TConstUnionArray& glslang::TVariable::getConstArray ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getConstSubtree()

virtual TIntermTyped* glslang::TVariable::getConstSubtree ( ) const
inlinevirtual

◆ getType()

virtual const TType& glslang::TVariable::getType ( ) const
inlinevirtual

Implements glslang::TSymbol.

Here is the caller graph for this function:

◆ getWritableConstArray()

virtual TConstUnionArray& glslang::TVariable::getWritableConstArray ( )
inlinevirtual
Here is the caller graph for this function:

◆ getWritableType()

virtual TType& glslang::TVariable::getWritableType ( )
inlinevirtual

Implements glslang::TSymbol.

Here is the caller graph for this function:

◆ isUserType()

virtual bool glslang::TVariable::isUserType ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ operator=()

TVariable& glslang::TVariable::operator= ( const TVariable )
protected

◆ setAnonId()

virtual void glslang::TVariable::setAnonId ( int  i)
inlinevirtual
Here is the caller graph for this function:

◆ setConstArray()

virtual void glslang::TVariable::setConstArray ( const TConstUnionArray array)
inlinevirtual

◆ setConstSubtree()

virtual void glslang::TVariable::setConstSubtree ( TIntermTyped subtree)
inlinevirtual

Member Data Documentation

◆ anonId

int glslang::TVariable::anonId
protected

◆ constArray

TConstUnionArray glslang::TVariable::constArray
protected

◆ constSubtree

TIntermTyped* glslang::TVariable::constSubtree
protected

◆ type

TType glslang::TVariable::type
protected

◆ userType

bool glslang::TVariable::userType
protected

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