webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
TStructure Class Reference

#include <Types.h>

Inheritance diagram for TStructure:
TFieldListCollection angle::NonCopyable

Public Member Functions

 POOL_ALLOCATOR_NEW_DELETE ()
 
 TStructure (const TString *name, TFieldList *fields)
 
int deepestNesting () const
 
bool containsArrays () const
 
bool containsType (TBasicType t) const
 
bool containsSamplers () const
 
void createSamplerSymbols (const TString &structName, const TString &structAPIName, const unsigned int arrayOfStructsSize, TVector< TIntermSymbol *> *outputSymbols, TMap< TIntermSymbol *, TString > *outputSymbolsToAPINames) const
 
bool equals (const TStructure &other) const
 
void setUniqueId (int uniqueId)
 
int uniqueId () const
 
void setAtGlobalScope (bool atGlobalScope)
 
bool atGlobalScope () const
 
const TStringmangledName () const
 
- Public Member Functions inherited from TFieldListCollection
const TStringname () const
 
const TFieldListfields () const
 
size_t objectSize () const
 

Friends

class RegenerateStructNames
 

Additional Inherited Members

- Protected Member Functions inherited from TFieldListCollection
 TFieldListCollection (const TString *name, TFieldList *fields)
 
TString buildMangledName (const TString &mangledNamePrefix) const
 
size_t calculateObjectSize () const
 
- Protected Attributes inherited from TFieldListCollection
const TStringmName
 
TFieldListmFields
 
TString mMangledName
 
size_t mObjectSize
 

Constructor & Destructor Documentation

◆ TStructure()

TStructure::TStructure ( const TString name,
TFieldList fields 
)

Member Function Documentation

◆ atGlobalScope()

bool TStructure::atGlobalScope ( ) const
inline

◆ containsArrays()

bool TStructure::containsArrays ( ) const

◆ containsSamplers()

bool TStructure::containsSamplers ( ) const

◆ containsType()

bool TStructure::containsType ( TBasicType  t) const

◆ createSamplerSymbols()

void TStructure::createSamplerSymbols ( const TString structName,
const TString structAPIName,
const unsigned int  arrayOfStructsSize,
TVector< TIntermSymbol *> *  outputSymbols,
TMap< TIntermSymbol *, TString > *  outputSymbolsToAPINames 
) const

◆ deepestNesting()

int TStructure::deepestNesting ( ) const
inline

◆ equals()

bool TStructure::equals ( const TStructure other) const

◆ mangledName()

const TString& TStructure::mangledName ( ) const
inline

◆ POOL_ALLOCATOR_NEW_DELETE()

TStructure::POOL_ALLOCATOR_NEW_DELETE ( )

◆ setAtGlobalScope()

void TStructure::setAtGlobalScope ( bool  atGlobalScope)
inline

◆ setUniqueId()

void TStructure::setUniqueId ( int  uniqueId)
inline

◆ uniqueId()

int TStructure::uniqueId ( ) const
inline

Friends And Related Function Documentation

◆ RegenerateStructNames


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