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

#include <Script_Program.h>

Public Member Functions

 idTypeDef (const idTypeDef &other)
 
 idTypeDef (etype_t etype, idVarDef *edef, const char *ename, int esize, idTypeDef *aux)
 
void operator= (const idTypeDef &other)
 
size_t Allocated (void) const
 
bool Inherits (const idTypeDef *basetype) const
 
bool MatchesType (const idTypeDef &matchtype) const
 
bool MatchesVirtualFunction (const idTypeDef &matchfunc) const
 
void AddFunctionParm (idTypeDef *parmtype, const char *name)
 
void AddField (idTypeDef *fieldtype, const char *name)
 
void SetName (const char *newname)
 
const char * Name (void) const
 
etype_t Type (void) const
 
int Size (void) const
 
idTypeDefSuperClass (void) const
 
idTypeDefReturnType (void) const
 
void SetReturnType (idTypeDef *type)
 
idTypeDefFieldType (void) const
 
void SetFieldType (idTypeDef *type)
 
idTypeDefPointerType (void) const
 
void SetPointerType (idTypeDef *type)
 
int NumParameters (void) const
 
idTypeDefGetParmType (int parmNumber) const
 
const char * GetParmName (int parmNumber) const
 
int NumFunctions (void) const
 
int GetFunctionNumber (const function_t *func) const
 
const function_tGetFunction (int funcNumber) const
 
void AddFunction (const function_t *func)
 

Public Attributes

idVarDefdef
 

Private Attributes

etype_t type
 
idStr name
 
int size
 
idTypeDefauxType
 
idList< idTypeDef * > parmTypes
 
idStrList parmNames
 
idList< const function_t * > functions
 

Detailed Description

Definition at line 105 of file Script_Program.h.

Constructor & Destructor Documentation

idTypeDef::idTypeDef ( const idTypeDef other)

Definition at line 155 of file Script_Program.cpp.

idTypeDef::idTypeDef ( etype_t  etype,
idVarDef edef,
const char *  ename,
int  esize,
idTypeDef aux 
)

Definition at line 138 of file Script_Program.cpp.

Member Function Documentation

void idTypeDef::AddField ( idTypeDef fieldtype,
const char *  name 
)

Definition at line 310 of file Script_Program.cpp.

void idTypeDef::AddFunction ( const function_t func)

Definition at line 539 of file Script_Program.cpp.

void idTypeDef::AddFunctionParm ( idTypeDef parmtype,
const char *  name 
)

Definition at line 293 of file Script_Program.cpp.

size_t idTypeDef::Allocated ( void  ) const

Definition at line 180 of file Script_Program.cpp.

idTypeDef * idTypeDef::FieldType ( void  ) const

Definition at line 414 of file Script_Program.cpp.

const function_t * idTypeDef::GetFunction ( int  funcNumber) const

Definition at line 528 of file Script_Program.cpp.

int idTypeDef::GetFunctionNumber ( const function_t func) const

Definition at line 512 of file Script_Program.cpp.

const char * idTypeDef::GetParmName ( int  parmNumber) const

Definition at line 492 of file Script_Program.cpp.

idTypeDef * idTypeDef::GetParmType ( int  parmNumber) const

Definition at line 481 of file Script_Program.cpp.

bool idTypeDef::Inherits ( const idTypeDef basetype) const

Definition at line 199 of file Script_Program.cpp.

bool idTypeDef::MatchesType ( const idTypeDef matchtype) const

Definition at line 225 of file Script_Program.cpp.

bool idTypeDef::MatchesVirtualFunction ( const idTypeDef matchfunc) const

Definition at line 256 of file Script_Program.cpp.

const char * idTypeDef::Name ( void  ) const

Definition at line 340 of file Script_Program.cpp.

int idTypeDef::NumFunctions ( void  ) const

Definition at line 503 of file Script_Program.cpp.

int idTypeDef::NumParameters ( void  ) const

Definition at line 472 of file Script_Program.cpp.

void idTypeDef::operator= ( const idTypeDef other)

Definition at line 164 of file Script_Program.cpp.

idTypeDef * idTypeDef::PointerType ( void  ) const

Definition at line 444 of file Script_Program.cpp.

idTypeDef * idTypeDef::ReturnType ( void  ) const

Definition at line 384 of file Script_Program.cpp.

void idTypeDef::SetFieldType ( idTypeDef type)

Definition at line 429 of file Script_Program.cpp.

void idTypeDef::SetName ( const char *  newname)

Definition at line 331 of file Script_Program.cpp.

void idTypeDef::SetPointerType ( idTypeDef type)

Definition at line 459 of file Script_Program.cpp.

void idTypeDef::SetReturnType ( idTypeDef type)

Definition at line 399 of file Script_Program.cpp.

int idTypeDef::Size ( void  ) const

Definition at line 358 of file Script_Program.cpp.

idTypeDef * idTypeDef::SuperClass ( void  ) const

Definition at line 369 of file Script_Program.cpp.

etype_t idTypeDef::Type ( void  ) const

Definition at line 349 of file Script_Program.cpp.

Member Data Documentation

idTypeDef* idTypeDef::auxType
private

Definition at line 112 of file Script_Program.h.

idVarDef* idTypeDef::def

Definition at line 118 of file Script_Program.h.

idList<const function_t *> idTypeDef::functions
private

Definition at line 115 of file Script_Program.h.

idStr idTypeDef::name
private

Definition at line 108 of file Script_Program.h.

idStrList idTypeDef::parmNames
private

Definition at line 114 of file Script_Program.h.

idList<idTypeDef *> idTypeDef::parmTypes
private

Definition at line 113 of file Script_Program.h.

int idTypeDef::size
private

Definition at line 109 of file Script_Program.h.

etype_t idTypeDef::type
private

Definition at line 107 of file Script_Program.h.


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