doom3-gpl
Doom 3 GPL source release
|
#include <Script_Program.h>
Public Types | |
enum | initialized_t { uninitialized, initializedVariable, initializedConstant, stackVariable } |
Public Member Functions | |
idVarDef (idTypeDef *typeptr=NULL) | |
~idVarDef () | |
const char * | Name (void) const |
const char * | GlobalName (void) const |
void | SetTypeDef (idTypeDef *_type) |
idTypeDef * | TypeDef (void) const |
etype_t | Type (void) const |
int | DepthOfScope (const idVarDef *otherScope) const |
void | SetFunction (function_t *func) |
void | SetObject (idScriptObject *object) |
void | SetValue (const eval_t &value, bool constant) |
void | SetString (const char *string, bool constant) |
idVarDef * | Next (void) const |
void | PrintInfo (idFile *file, int instructionPointer) const |
Public Attributes | |
int | num |
varEval_t | value |
idVarDef * | scope |
int | numUsers |
initialized_t | initialized |
Private Attributes | |
idTypeDef * | typeDef |
idVarDefName * | name |
idVarDef * | next |
Friends | |
class | idVarDefName |
Definition at line 325 of file Script_Program.h.
Enumerator | |
---|---|
uninitialized | |
initializedVariable | |
initializedConstant | |
stackVariable |
Definition at line 334 of file Script_Program.h.
Definition at line 564 of file Script_Program.cpp.
idVarDef::~idVarDef | ( | ) |
Definition at line 580 of file Script_Program.cpp.
Definition at line 613 of file Script_Program.cpp.
Definition at line 600 of file Script_Program.cpp.
Definition at line 591 of file Script_Program.cpp.
Definition at line 358 of file Script_Program.h.
Definition at line 737 of file Script_Program.cpp.
void idVarDef::SetFunction | ( | function_t * | func | ) |
Definition at line 633 of file Script_Program.cpp.
void idVarDef::SetObject | ( | idScriptObject * | object | ) |
Definition at line 645 of file Script_Program.cpp.
Definition at line 721 of file Script_Program.cpp.
Definition at line 347 of file Script_Program.h.
Definition at line 657 of file Script_Program.cpp.
Definition at line 349 of file Script_Program.h.
Definition at line 348 of file Script_Program.h.
|
friend |
Definition at line 326 of file Script_Program.h.
initialized_t idVarDef::initialized |
Definition at line 338 of file Script_Program.h.
|
private |
Definition at line 364 of file Script_Program.h.
|
private |
Definition at line 365 of file Script_Program.h.
int idVarDef::num |
Definition at line 329 of file Script_Program.h.
int idVarDef::numUsers |
Definition at line 332 of file Script_Program.h.
idVarDef* idVarDef::scope |
Definition at line 331 of file Script_Program.h.
|
private |
Definition at line 363 of file Script_Program.h.
varEval_t idVarDef::value |
Definition at line 330 of file Script_Program.h.