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
idScriptObject Class Reference

#include <Script_Program.h>

Public Member Functions

 idScriptObject ()
 
 ~idScriptObject ()
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
void Free (void)
 
bool SetType (const char *typeName)
 
void ClearObject (void)
 
bool HasObject (void) const
 
idTypeDefGetTypeDef (void) const
 
const char * GetTypeName (void) const
 
const function_tGetConstructor (void) const
 
const function_tGetDestructor (void) const
 
const function_tGetFunction (const char *name) const
 
byteGetVariable (const char *name, etype_t etype) const
 

Public Attributes

bytedata
 

Private Attributes

idTypeDeftype
 

Detailed Description

Definition at line 167 of file Script_Program.h.

Constructor & Destructor Documentation

idScriptObject::idScriptObject ( )

Definition at line 867 of file Script_Program.cpp.

idScriptObject::~idScriptObject ( )

Definition at line 877 of file Script_Program.cpp.

Member Function Documentation

void idScriptObject::ClearObject ( void  )

Definition at line 990 of file Script_Program.cpp.

void idScriptObject::Free ( void  )

Definition at line 886 of file Script_Program.cpp.

const function_t * idScriptObject::GetConstructor ( void  ) const

Definition at line 1032 of file Script_Program.cpp.

const function_t * idScriptObject::GetDestructor ( void  ) const

Definition at line 1044 of file Script_Program.cpp.

const function_t * idScriptObject::GetFunction ( const char *  name) const

Definition at line 1056 of file Script_Program.cpp.

idTypeDef * idScriptObject::GetTypeDef ( void  ) const

Definition at line 1014 of file Script_Program.cpp.

const char * idScriptObject::GetTypeName ( void  ) const

Definition at line 1023 of file Script_Program.cpp.

byte * idScriptObject::GetVariable ( const char *  name,
etype_t  etype 
) const

Definition at line 1072 of file Script_Program.cpp.

bool idScriptObject::HasObject ( void  ) const

Definition at line 1005 of file Script_Program.cpp.

void idScriptObject::Restore ( idRestoreGame savefile)

Definition at line 919 of file Script_Program.cpp.

void idScriptObject::Save ( idSaveGame savefile) const

Definition at line 900 of file Script_Program.cpp.

bool idScriptObject::SetType ( const char *  typeName)

Definition at line 949 of file Script_Program.cpp.

Member Data Documentation

byte* idScriptObject::data

Definition at line 172 of file Script_Program.h.

idTypeDef* idScriptObject::type
private

Definition at line 169 of file Script_Program.h.


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