Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | List of all members
ConfigVariableManager Class Reference

A global object that maintains the set of ConfigVariables (actually, ConfigVariableCores) everywhere in the world, and keeps them in sorted order. More...

Public Member Functions

int getNumVariables ()
 Returns the current number of active ConfigVariableCores in the world. More...
 
ConfigVariableCore getVariable (int n)
 Returns the nth active ConfigVariableCore in the world. More...
 
str getVariableName (int n)
 
list getVariables ()
 
bool isVariableUsed (int n)
 
 listDynamicVariables ()
 
 listUnusedVariables ()
 
 listVariables ()
 
ConfigVariableCore makeVariable (str name)
 
ConfigVariableCore makeVariableTemplate (str pattern, ConfigFlags::ValueType type, str default_value, str description, int flags)
 
 output (Ostream out)
 
 write (Ostream out)
 
 writePrcVariables (Ostream out)
 

Static Public Member Functions

static ConfigVariableManager getGlobalPtr ()
 

Detailed Description

A global object that maintains the set of ConfigVariables (actually, ConfigVariableCores) everywhere in the world, and keeps them in sorted order.

Member Function Documentation

static ConfigVariableManager getGlobalPtr ( )
static
int getNumVariables ( )

Returns the current number of active ConfigVariableCores in the world.

ConfigVariableCore getVariable ( int  n)

Returns the nth active ConfigVariableCore in the world.

str getVariableName ( int  n)
list getVariables ( )
bool isVariableUsed ( int  n)
listDynamicVariables ( )
listUnusedVariables ( )
listVariables ( )
ConfigVariableCore makeVariable ( str  name)
ConfigVariableCore makeVariableTemplate ( str  pattern,
ConfigFlags::ValueType  type,
str  default_value,
str  description,
int  flags 
)
output ( Ostream  out)
write ( Ostream  out)
writePrcVariables ( Ostream  out)