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

Public Member Functions

 idCVarSystemLocal (void)
 
virtual ~idCVarSystemLocal (void)
 
virtual void Init (void)
 
virtual void Shutdown (void)
 
virtual bool IsInitialized (void) const
 
virtual void Register (idCVar *cvar)
 
virtual idCVarFind (const char *name)
 
virtual void SetCVarString (const char *name, const char *value, int flags=0)
 
virtual void SetCVarBool (const char *name, const bool value, int flags=0)
 
virtual void SetCVarInteger (const char *name, const int value, int flags=0)
 
virtual void SetCVarFloat (const char *name, const float value, int flags=0)
 
virtual const char * GetCVarString (const char *name) const
 
virtual bool GetCVarBool (const char *name) const
 
virtual int GetCVarInteger (const char *name) const
 
virtual float GetCVarFloat (const char *name) const
 
virtual bool Command (const idCmdArgs &args)
 
virtual void CommandCompletion (void(*callback)(const char *s))
 
virtual void ArgCompletion (const char *cmdString, void(*callback)(const char *s))
 
virtual void SetModifiedFlags (int flags)
 
virtual int GetModifiedFlags (void) const
 
virtual void ClearModifiedFlags (int flags)
 
virtual void ResetFlaggedVariables (int flags)
 
virtual void RemoveFlaggedAutoCompletion (int flags)
 
virtual void WriteFlaggedVariables (int flags, const char *setCmd, idFile *f) const
 
virtual const idDictMoveCVarsToDict (int flags) const
 
virtual void SetCVarsFromDict (const idDict &dict)
 
void RegisterInternal (idCVar *cvar)
 
idInternalCVarFindInternal (const char *name) const
 
void SetInternal (const char *name, const char *value, int flags)
 
- Public Member Functions inherited from idCVarSystem
virtual ~idCVarSystem (void)
 

Static Private Member Functions

static void Toggle_f (const idCmdArgs &args)
 
static void Set_f (const idCmdArgs &args)
 
static void SetS_f (const idCmdArgs &args)
 
static void SetU_f (const idCmdArgs &args)
 
static void SetT_f (const idCmdArgs &args)
 
static void SetA_f (const idCmdArgs &args)
 
static void Reset_f (const idCmdArgs &args)
 
static void ListByFlags (const idCmdArgs &args, cvarFlags_t flags)
 
static void List_f (const idCmdArgs &args)
 
static void Restart_f (const idCmdArgs &args)
 

Private Attributes

bool initialized
 
idList< idInternalCVar * > cvars
 
idHashIndex cvarHash
 
int modifiedFlags
 

Static Private Attributes

static idDict moveCVarsToDict
 

Detailed Description

Definition at line 420 of file CVarSystem.cpp.

Constructor & Destructor Documentation

idCVarSystemLocal::idCVarSystemLocal ( void  )

Definition at line 560 of file CVarSystem.cpp.

virtual idCVarSystemLocal::~idCVarSystemLocal ( void  )
inlinevirtual

Definition at line 424 of file CVarSystem.cpp.

Member Function Documentation

void idCVarSystemLocal::ArgCompletion ( const char *  cmdString,
void(*)(const char *s callback 
)
virtual

Implements idCVarSystem.

Definition at line 773 of file CVarSystem.cpp.

void idCVarSystemLocal::ClearModifiedFlags ( int  flags)
virtual

Implements idCVarSystem.

Definition at line 812 of file CVarSystem.cpp.

bool idCVarSystemLocal::Command ( const idCmdArgs args)
virtual

Implements idCVarSystem.

Definition at line 734 of file CVarSystem.cpp.

void idCVarSystemLocal::CommandCompletion ( void(*)(const char *s callback)
virtual

Implements idCVarSystem.

Definition at line 762 of file CVarSystem.cpp.

idCVar * idCVarSystemLocal::Find ( const char *  name)
virtual

Implements idCVarSystem.

Definition at line 637 of file CVarSystem.cpp.

idInternalCVar * idCVarSystemLocal::FindInternal ( const char *  name) const

Definition at line 523 of file CVarSystem.cpp.

bool idCVarSystemLocal::GetCVarBool ( const char *  name) const
virtual

Implements idCVarSystem.

Definition at line 695 of file CVarSystem.cpp.

float idCVarSystemLocal::GetCVarFloat ( const char *  name) const
virtual

Implements idCVarSystem.

Definition at line 721 of file CVarSystem.cpp.

int idCVarSystemLocal::GetCVarInteger ( const char *  name) const
virtual

Implements idCVarSystem.

Definition at line 708 of file CVarSystem.cpp.

const char * idCVarSystemLocal::GetCVarString ( const char *  name) const
virtual

Implements idCVarSystem.

Definition at line 682 of file CVarSystem.cpp.

int idCVarSystemLocal::GetModifiedFlags ( void  ) const
virtual

Implements idCVarSystem.

Definition at line 803 of file CVarSystem.cpp.

void idCVarSystemLocal::Init ( void  )
virtual

Implements idCVarSystem.

Definition at line 570 of file CVarSystem.cpp.

bool idCVarSystemLocal::IsInitialized ( void  ) const
virtual

Implements idCVarSystem.

Definition at line 604 of file CVarSystem.cpp.

void idCVarSystemLocal::List_f ( const idCmdArgs args)
staticprivate

Definition at line 1224 of file CVarSystem.cpp.

void idCVarSystemLocal::ListByFlags ( const idCmdArgs args,
cvarFlags_t  flags 
)
staticprivate

Definition at line 1065 of file CVarSystem.cpp.

const idDict * idCVarSystemLocal::MoveCVarsToDict ( int  flags) const
virtual

Implements idCVarSystem.

Definition at line 866 of file CVarSystem.cpp.

void idCVarSystemLocal::Register ( idCVar cvar)
virtual

Implements idCVarSystem.

Definition at line 613 of file CVarSystem.cpp.

void idCVarSystemLocal::RegisterInternal ( idCVar cvar)
void idCVarSystemLocal::RemoveFlaggedAutoCompletion ( int  flags)
virtual

Implements idCVarSystem.

Definition at line 835 of file CVarSystem.cpp.

void idCVarSystemLocal::Reset_f ( const idCmdArgs args)
staticprivate

Definition at line 1039 of file CVarSystem.cpp.

void idCVarSystemLocal::ResetFlaggedVariables ( int  flags)
virtual

Implements idCVarSystem.

Definition at line 821 of file CVarSystem.cpp.

void idCVarSystemLocal::Restart_f ( const idCmdArgs args)
staticprivate

Definition at line 1233 of file CVarSystem.cpp.

void idCVarSystemLocal::Set_f ( const idCmdArgs args)
staticprivate

Definition at line 959 of file CVarSystem.cpp.

void idCVarSystemLocal::SetA_f ( const idCmdArgs args)
staticprivate

Definition at line 1019 of file CVarSystem.cpp.

void idCVarSystemLocal::SetCVarBool ( const char *  name,
const bool  value,
int  flags = 0 
)
virtual

Implements idCVarSystem.

Definition at line 655 of file CVarSystem.cpp.

void idCVarSystemLocal::SetCVarFloat ( const char *  name,
const float  value,
int  flags = 0 
)
virtual

Implements idCVarSystem.

Definition at line 673 of file CVarSystem.cpp.

void idCVarSystemLocal::SetCVarInteger ( const char *  name,
const int  value,
int  flags = 0 
)
virtual

Implements idCVarSystem.

Definition at line 664 of file CVarSystem.cpp.

void idCVarSystemLocal::SetCVarsFromDict ( const idDict dict)
virtual

Implements idCVarSystem.

Definition at line 882 of file CVarSystem.cpp.

void idCVarSystemLocal::SetCVarString ( const char *  name,
const char *  value,
int  flags = 0 
)
virtual

Implements idCVarSystem.

Definition at line 646 of file CVarSystem.cpp.

void idCVarSystemLocal::SetInternal ( const char *  name,
const char *  value,
int  flags 
)

Definition at line 538 of file CVarSystem.cpp.

void idCVarSystemLocal::SetModifiedFlags ( int  flags)
virtual

Implements idCVarSystem.

Definition at line 794 of file CVarSystem.cpp.

void idCVarSystemLocal::SetS_f ( const idCmdArgs args)
staticprivate

Definition at line 971 of file CVarSystem.cpp.

void idCVarSystemLocal::SetT_f ( const idCmdArgs args)
staticprivate

Definition at line 1003 of file CVarSystem.cpp.

void idCVarSystemLocal::SetU_f ( const idCmdArgs args)
staticprivate

Definition at line 987 of file CVarSystem.cpp.

void idCVarSystemLocal::Shutdown ( void  )
virtual

Implements idCVarSystem.

Definition at line 592 of file CVarSystem.cpp.

void idCVarSystemLocal::Toggle_f ( const idCmdArgs args)
staticprivate

Definition at line 899 of file CVarSystem.cpp.

void idCVarSystemLocal::WriteFlaggedVariables ( int  flags,
const char *  setCmd,
idFile f 
) const
virtual

Implements idCVarSystem.

Definition at line 852 of file CVarSystem.cpp.

Member Data Documentation

idHashIndex idCVarSystemLocal::cvarHash
private

Definition at line 467 of file CVarSystem.cpp.

idList<idInternalCVar*> idCVarSystemLocal::cvars
private

Definition at line 466 of file CVarSystem.cpp.

bool idCVarSystemLocal::initialized
private

Definition at line 465 of file CVarSystem.cpp.

int idCVarSystemLocal::modifiedFlags
private

Definition at line 468 of file CVarSystem.cpp.

idDict idCVarSystemLocal::moveCVarsToDict
staticprivate

Definition at line 470 of file CVarSystem.cpp.


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