![]() |
• System Utilities | ||||||||||||||||||||||||||||||||
|
API Links
Developer Links
|
class VariableDefined in:
The C4Variables.hVariable class stores a system variable.
Definition
Member Functions
Constructor
Parameters
Description
The Variable class encapsulates the name and value of a system variable. The value of a system variable is a text string containing up to kMaxVariableValueLength characters. The initial value of a variable upon construction is the empty string.The flags parameter specifies a set of flags that control properties of the variable. The flags can be a combination (through logical OR) of the following values.
observer parameter is specified, then it provides an observer function that is called each time the variable's value is modified through one of the member functions that set the value.Once a variable has been created, it can be registered with the engine by calling the Engine::AddVariable function. A variable is unregistered by simply destroying it.
Base Classes
See Also
|