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

Public Member Functions

 idInternalCVar (void)
 
 idInternalCVar (const char *newName, const char *newValue, int newFlags)
 
 idInternalCVar (const idCVar *cvar)
 
virtual ~idInternalCVar (void)
 
const char ** CopyValueStrings (const char **strings)
 
void Update (const idCVar *cvar)
 
void UpdateValue (void)
 
void UpdateCheat (void)
 
void Set (const char *newValue, bool force, bool fromServer)
 
void Reset (void)
 
- Public Member Functions inherited from idCVar
 idCVar (void)
 
 idCVar (const char *name, const char *value, int flags, const char *description, argCompletion_t valueCompletion=NULL)
 
 idCVar (const char *name, const char *value, int flags, const char *description, float valueMin, float valueMax, argCompletion_t valueCompletion=NULL)
 
 idCVar (const char *name, const char *value, int flags, const char *description, const char **valueStrings, argCompletion_t valueCompletion=NULL)
 
virtual ~idCVar (void)
 
const char * GetName (void) const
 
int GetFlags (void) const
 
const char * GetDescription (void) const
 
float GetMinValue (void) const
 
float GetMaxValue (void) const
 
const char ** GetValueStrings (void) const
 
argCompletion_t GetValueCompletion (void) const
 
bool IsModified (void) const
 
void SetModified (void)
 
void ClearModified (void)
 
const char * GetString (void) const
 
bool GetBool (void) const
 
int GetInteger (void) const
 
float GetFloat (void) const
 
void SetString (const char *value)
 
void SetBool (const bool value)
 
void SetInteger (const int value)
 
void SetFloat (const float value)
 
void SetInternalVar (idCVar *cvar)
 

Private Member Functions

virtual void InternalSetString (const char *newValue)
 
virtual void InternalServerSetString (const char *newValue)
 
virtual void InternalSetBool (const bool newValue)
 
virtual void InternalSetInteger (const int newValue)
 
virtual void InternalSetFloat (const float newValue)
 

Private Attributes

idStr nameString
 
idStr resetString
 
idStr valueString
 
idStr descriptionString
 

Friends

class idCVarSystemLocal
 

Additional Inherited Members

- Static Public Member Functions inherited from idCVar
static void RegisterStaticVars (void)
 
- Protected Attributes inherited from idCVar
const char * name
 
const char * value
 
const char * description
 
int flags
 
float valueMin
 
float valueMax
 
const char ** valueStrings
 
argCompletion_t valueCompletion
 
int integerValue
 
float floatValue
 
idCVarinternalVar
 
idCVarnext
 

Detailed Description

Definition at line 42 of file CVarSystem.cpp.

Constructor & Destructor Documentation

idInternalCVar::idInternalCVar ( void  )

Definition at line 75 of file CVarSystem.cpp.

idInternalCVar::idInternalCVar ( const char *  newName,
const char *  newValue,
int  newFlags 
)

Definition at line 83 of file CVarSystem.cpp.

idInternalCVar::idInternalCVar ( const idCVar cvar)

Definition at line 106 of file CVarSystem.cpp.

idInternalCVar::~idInternalCVar ( void  )
virtual

Definition at line 129 of file CVarSystem.cpp.

Member Function Documentation

const char ** idInternalCVar::CopyValueStrings ( const char **  strings)

Definition at line 140 of file CVarSystem.cpp.

void idInternalCVar::InternalServerSetString ( const char *  newValue)
privatevirtual

Definition at line 380 of file CVarSystem.cpp.

void idInternalCVar::InternalSetBool ( const bool  newValue)
privatevirtual

Reimplemented from idCVar.

Definition at line 389 of file CVarSystem.cpp.

void idInternalCVar::InternalSetFloat ( const float  newValue)
privatevirtual

Reimplemented from idCVar.

Definition at line 407 of file CVarSystem.cpp.

void idInternalCVar::InternalSetInteger ( const int  newValue)
privatevirtual

Reimplemented from idCVar.

Definition at line 398 of file CVarSystem.cpp.

void idInternalCVar::InternalSetString ( const char *  newValue)
privatevirtual

Reimplemented from idCVar.

Definition at line 371 of file CVarSystem.cpp.

void idInternalCVar::Reset ( void  )

Definition at line 360 of file CVarSystem.cpp.

void idInternalCVar::Set ( const char *  newValue,
bool  force,
bool  fromServer 
)

Definition at line 305 of file CVarSystem.cpp.

void idInternalCVar::Update ( const idCVar cvar)

Definition at line 172 of file CVarSystem.cpp.

void idInternalCVar::UpdateCheat ( void  )

Definition at line 291 of file CVarSystem.cpp.

void idInternalCVar::UpdateValue ( void  )

Definition at line 222 of file CVarSystem.cpp.

Friends And Related Function Documentation

friend class idCVarSystemLocal
friend

Definition at line 43 of file CVarSystem.cpp.

Member Data Documentation

idStr idInternalCVar::descriptionString
private

Definition at line 61 of file CVarSystem.cpp.

idStr idInternalCVar::nameString
private

Definition at line 58 of file CVarSystem.cpp.

idStr idInternalCVar::resetString
private

Definition at line 59 of file CVarSystem.cpp.

idStr idInternalCVar::valueString
private

Definition at line 60 of file CVarSystem.cpp.


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