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. | |
ConfigVariableCore | getVariable (int n) |
Returns the nth active ConfigVariableCore in the world. | |
string | getVariableName (int n) |
bool | isVariableUsed (int n) |
listDynamicVariables () | |
listUnusedVariables () | |
listVariables () | |
ConfigVariableCore | makeVariable (string name) |
ConfigVariableCore | makeVariableTemplate (string pattern, ValueType type, string default_value, string description, int flags) |
ConfigVariableCore | makeVariableTemplate (string pattern, ValueType type, string default_value, string description) |
ConfigVariableCore | makeVariableTemplate (string pattern, ValueType type, string default_value) |
output (ostream out) | |
write (ostream out) | |
writePrcVariables (ostream out) | |
Static Public Member Functions | |
static ConfigVariableManager | getGlobalPtr () |
A global object that maintains the set of ConfigVariables (actually, ConfigVariableCores) everywhere in the world, and keeps them in sorted order.
static ConfigVariableManager getGlobalPtr | ( | ) | [static] |
int getNumVariables | ( | ) |
Returns the current number of active ConfigVariableCores in the world.
Returns the nth active ConfigVariableCore in the world.
string getVariableName | ( | int | n | ) |
bool isVariableUsed | ( | int | n | ) |
listVariables | ( | ) |
ConfigVariableCore makeVariable | ( | string | name | ) |
ConfigVariableCore makeVariableTemplate | ( | string | pattern, |
ValueType | type, | ||
string | default_value, | ||
string | description, | ||
int | flags | ||
) |
ConfigVariableCore makeVariableTemplate | ( | string | pattern, |
ValueType | type, | ||
string | default_value, | ||
string | description | ||
) |
ConfigVariableCore makeVariableTemplate | ( | string | pattern, |
ValueType | type, | ||
string | default_value | ||
) |
writePrcVariables | ( | ostream | out | ) |