ScummVM API documentation
asCDataType Class Reference

Public Member Functions

 asCDataType (const asCDataType &)
 
bool IsValid () const
 
asCString Format (asSNameSpace *currNs, bool includeNamespace=false) const
 
int MakeHandle (bool b, bool acceptHandleForScope=false)
 
int MakeArray (asCScriptEngine *engine, asCModule *requestingModule)
 
int MakeReference (bool b)
 
int MakeReadOnly (bool b)
 
int MakeHandleToConst (bool b)
 
void SetIfHandleThenConst (bool b)
 
bool HasIfHandleThenConst () const
 
bool IsTemplate () const
 
bool IsScriptObject () const
 
bool IsPrimitive () const
 
bool IsMathType () const
 
bool IsObject () const
 
bool IsReference () const
 
bool IsAuto () const
 
bool IsReadOnly () const
 
bool IsIntegerType () const
 
bool IsUnsignedType () const
 
bool IsFloatType () const
 
bool IsDoubleType () const
 
bool IsBooleanType () const
 
bool IsObjectHandle () const
 
bool IsHandleToAuto () const
 
bool IsHandleToConst () const
 
bool IsArrayType () const
 
bool IsEnumType () const
 
bool IsAnyType () const
 
bool IsHandleToAsHandleType () const
 
bool IsAbstractClass () const
 
bool IsInterface () const
 
bool IsFuncdef () const
 
bool IsObjectConst () const
 
bool IsEqualExceptRef (const asCDataType &) const
 
bool IsEqualExceptRefAndConst (const asCDataType &) const
 
bool IsEqualExceptConst (const asCDataType &) const
 
bool IsNullHandle () const
 
bool SupportHandles () const
 
bool CanBeInstantiated () const
 
bool CanBeCopied () const
 
bool operator== (const asCDataType &) const
 
bool operator!= (const asCDataType &) const
 
asCDataType GetSubType (asUINT subtypeIndex=0) const
 
eTokenType GetTokenType () const
 
asCTypeInfoGetTypeInfo () const
 
int GetSizeOnStackDWords () const
 
int GetSizeInMemoryBytes () const
 
int GetSizeInMemoryDWords () const
 
void SetTokenType (eTokenType tt)
 
void SetTypeInfo (asCTypeInfo *ti)
 
asCDataTypeoperator= (const asCDataType &)
 
asSTypeBehaviourGetBehaviour () const
 

Static Public Member Functions

static asCDataType CreatePrimitive (eTokenType tt, bool isConst)
 
static asCDataType CreateType (asCTypeInfo *ti, bool isConst)
 
static asCDataType CreateAuto (bool isConst)
 
static asCDataType CreateObjectHandle (asCTypeInfo *ot, bool isConst)
 
static asCDataType CreateNullHandle ()
 

Protected Attributes

eTokenType tokenType
 
asCTypeInfotypeInfo
 
bool isReference: 1
 
bool isReadOnly: 1
 
bool isObjectHandle: 1
 
bool isConstHandle: 1
 
bool isAuto: 1
 
bool isHandleToAsHandleType: 1
 
bool ifHandleThenConst: 1
 
char dummy: 1
 

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