doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
idTypeInfoTools Class Reference

Static Public Member Functions

static const classTypeInfo_tFindClassInfo (const char *typeName)
 
static const enumTypeInfo_tFindEnumInfo (const char *typeName)
 
static bool IsSubclassOf (const char *typeName, const char *superType)
 
static void PrintType (const void *typePtr, const char *typeName)
 
static void WriteTypeToFile (idFile *fp, const void *typePtr, const char *typeName)
 
static void InitTypeVariables (const void *typePtr, const char *typeName, int value)
 
static void WriteGameState (const char *fileName)
 
static void CompareGameState (const char *fileName)
 

Static Private Member Functions

static const char * OutputString (const char *string)
 
static bool ParseTemplateArguments (idLexer &src, idStr &arguments)
 
static void PrintVariable (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)
 
static void WriteVariable (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)
 
static void WriteGameStateVariable (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)
 
static void InitVariable (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)
 
static void VerifyVariable (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)
 
static int WriteVariable_r (const void *varPtr, const char *varName, const char *varType, const char *scope, const char *prefix, const int pointerDepth)
 
static void WriteClass_r (const void *classPtr, const char *className, const char *classType, const char *scope, const char *prefix, const int pointerDepth)
 

Static Private Attributes

static idFilefp = NULL
 
static int initValue = 0
 
static WriteVariableType_t Write = NULL
 
static idLexersrc = NULL
 
static bool typeError = false
 

Detailed Description

Definition at line 51 of file TypeInfo.cpp.

Member Function Documentation

void idTypeInfoTools::CompareGameState ( const char *  fileName)
static

Definition at line 1216 of file TypeInfo.cpp.

const classTypeInfo_t * idTypeInfoTools::FindClassInfo ( const char *  typeName)
static

Definition at line 129 of file TypeInfo.cpp.

const enumTypeInfo_t * idTypeInfoTools::FindEnumInfo ( const char *  typeName)
static

Definition at line 145 of file TypeInfo.cpp.

void idTypeInfoTools::InitTypeVariables ( const void typePtr,
const char *  typeName,
int  value 
)
static

Definition at line 279 of file TypeInfo.cpp.

void idTypeInfoTools::InitVariable ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value,
const void varPtr,
int  varSize 
)
staticprivate

Definition at line 478 of file TypeInfo.cpp.

bool idTypeInfoTools::IsSubclassOf ( const char *  typeName,
const char *  superType 
)
static

Definition at line 161 of file TypeInfo.cpp.

const char * idTypeInfoTools::OutputString ( const char *  string)
staticprivate

Definition at line 187 of file TypeInfo.cpp.

bool idTypeInfoTools::ParseTemplateArguments ( idLexer src,
idStr arguments 
)
staticprivate

Definition at line 221 of file TypeInfo.cpp.

void idTypeInfoTools::PrintType ( const void typePtr,
const char *  typeName 
)
static

Definition at line 255 of file TypeInfo.cpp.

void idTypeInfoTools::PrintVariable ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value,
const void varPtr,
int  varSize 
)
staticprivate

Definition at line 420 of file TypeInfo.cpp.

void idTypeInfoTools::VerifyVariable ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value,
const void varPtr,
int  varSize 
)
staticprivate

Definition at line 493 of file TypeInfo.cpp.

void idTypeInfoTools::WriteClass_r ( const void classPtr,
const char *  className,
const char *  classType,
const char *  scope,
const char *  prefix,
const int  pointerDepth 
)
staticprivate

Definition at line 1149 of file TypeInfo.cpp.

void idTypeInfoTools::WriteGameState ( const char *  fileName)
static

Definition at line 1174 of file TypeInfo.cpp.

void idTypeInfoTools::WriteGameStateVariable ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value,
const void varPtr,
int  varSize 
)
staticprivate

Definition at line 449 of file TypeInfo.cpp.

void idTypeInfoTools::WriteTypeToFile ( idFile fp,
const void typePtr,
const char *  typeName 
)
static

Definition at line 267 of file TypeInfo.cpp.

void idTypeInfoTools::WriteVariable ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value,
const void varPtr,
int  varSize 
)
staticprivate

Definition at line 429 of file TypeInfo.cpp.

int idTypeInfoTools::WriteVariable_r ( const void varPtr,
const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const int  pointerDepth 
)
staticprivate

Definition at line 524 of file TypeInfo.cpp.

Member Data Documentation

idFile * idTypeInfoTools::fp = NULL
staticprivate

Definition at line 63 of file TypeInfo.cpp.

int idTypeInfoTools::initValue = 0
staticprivate

Definition at line 64 of file TypeInfo.cpp.

idLexer * idTypeInfoTools::src = NULL
staticprivate

Definition at line 66 of file TypeInfo.cpp.

bool idTypeInfoTools::typeError = false
staticprivate

Definition at line 67 of file TypeInfo.cpp.

WriteVariableType_t idTypeInfoTools::Write = NULL
staticprivate

Definition at line 65 of file TypeInfo.cpp.


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