![]() |
VR-Link API Documentation for HLA Evolved
|
Inheritance diagram for DtConfigVariable< T >:
Collaboration diagram for DtConfigVariable< T >:Public Member Functions | |
| DtConfigVariable (DtVariableGroup *group, const DtString &aName, T aDefault, const DtString &aDescription="", DtVariableScope aScope=DtBaseConfigVariable::DtScopeBoth, bool isRequired=false, const DtString &aShortcut="") | |
| Var CTOR, using Group pointer. | |
| DtConfigVariable (DtVariableGroup &group, const DtString &aName, T aDefault, const DtString &aDescription="", DtVariableScope aScope=DtBaseConfigVariable::DtScopeBoth, bool isRequired=false, const DtString &aShortcut="") | |
| Var CTOR, using Group reference. | |
| virtual | ~DtConfigVariable () |
| DTOR. | |
| virtual void | getCommandLineArg (DtCmdLine::CmdLine &) |
| Create a command line argument for the native value. | |
| virtual void | updateFromCommandLineArg () |
| Update the native value from the command line argument. | |
| virtual void | getEnvironmentSchemaType (DtEnvironment env, TypeSet &usedTypes) const |
| Get Environment schema type. | |
| virtual DtEnvValueSP | getEnvironmentValue (DtEnvironment env) |
| Create an Environment Value from the native value. | |
| virtual void | updateFromEnvironment (DtEnvironment env) |
| Update the native value from the Environment Value. | |
| virtual DtString | type () const |
| Get the Var's type. | |
| virtual bool | isRequired () const |
| Get if the var is required. | |
| T * | getInternalPtrValue () |
| virtual const DtString & | name () const |
| Get the Var's name. | |
| void | setName (const DtString &name) |
| T | value () const |
| void | setValue (T aValue) |
| const DtString & | shortcut () const |
| void | setShortcut (const DtString &aShortcut) |
| T | defaultValue () const |
| Get/Set the default value. | |
| void | setDefaultValue (T aDefault) |
| Get/Set the default value. | |
Protected Types | |
| typedef DtVarType< T >::ArgType | ArgType |
Protected Attributes | |
| DtString | myName |
| DtString | myShortcut |
| bool | myRequiredFlag |
| DtVariableGroup * | myGroup |
| T | myDefault |
| T | myValue |
typedef DtVarType<T>::ArgType DtConfigVariable< T >::ArgType [protected] |
| DtConfigVariable< T >::DtConfigVariable | ( | DtVariableGroup * | group, |
| const DtString & | aName, | ||
| T | aDefault, | ||
| const DtString & | aDescription = "", |
||
| DtVariableScope | aScope = DtBaseConfigVariable::DtScopeBoth, |
||
| bool | isRequired = false, |
||
| const DtString & | aShortcut = "" |
||
| ) |
Var CTOR, using Group pointer.
| DtConfigVariable< T >::DtConfigVariable | ( | DtVariableGroup & | group, |
| const DtString & | aName, | ||
| T | aDefault, | ||
| const DtString & | aDescription = "", |
||
| DtVariableScope | aScope = DtBaseConfigVariable::DtScopeBoth, |
||
| bool | isRequired = false, |
||
| const DtString & | aShortcut = "" |
||
| ) |
Var CTOR, using Group reference.
| virtual DtConfigVariable< T >::~DtConfigVariable | ( | ) | [virtual] |
DTOR.
| T DtConfigVariable< T >::defaultValue | ( | ) | const |
Get/Set the default value.
| virtual void DtConfigVariable< T >::getCommandLineArg | ( | DtCmdLine::CmdLine & | ) | [virtual] |
Create a command line argument for the native value.
Implements DtBaseConfigVariable.
| virtual void DtConfigVariable< T >::getEnvironmentSchemaType | ( | DtEnvironment | env, |
| TypeSet & | usedTypes | ||
| ) | const [virtual] |
Get Environment schema type.
Implements DtBaseConfigVariable.
| virtual DtEnvValueSP DtConfigVariable< T >::getEnvironmentValue | ( | DtEnvironment | env | ) | [virtual] |
Create an Environment Value from the native value.
Implements DtBaseConfigVariable.
| T* DtConfigVariable< T >::getInternalPtrValue | ( | ) |
Referenced by DtMtlEnvironment::registerConfigVar().
| virtual bool DtConfigVariable< T >::isRequired | ( | ) | const [virtual] |
Get if the var is required.
Implements DtBaseConfigVariable.
| virtual const DtString& DtConfigVariable< T >::name | ( | ) | const [virtual] |
Get the Var's name.
Implements DtBaseConfigVariable.
Referenced by DtMtlEnvironment::registerConfigVar().
| void DtConfigVariable< T >::setDefaultValue | ( | T | aDefault | ) |
Get/Set the default value.
| void DtConfigVariable< T >::setName | ( | const DtString & | name | ) |
| void DtConfigVariable< T >::setShortcut | ( | const DtString & | aShortcut | ) |
| void DtConfigVariable< T >::setValue | ( | T | aValue | ) |
| const DtString& DtConfigVariable< T >::shortcut | ( | ) | const |
| virtual DtString DtConfigVariable< T >::type | ( | ) | const [virtual] |
Get the Var's type.
Implements DtBaseConfigVariable.
| virtual void DtConfigVariable< T >::updateFromCommandLineArg | ( | ) | [virtual] |
Update the native value from the command line argument.
Implements DtBaseConfigVariable.
| virtual void DtConfigVariable< T >::updateFromEnvironment | ( | DtEnvironment | env | ) | [virtual] |
Update the native value from the Environment Value.
Implements DtBaseConfigVariable.
| T DtConfigVariable< T >::value | ( | ) | const |
T DtConfigVariable< T >::myDefault [protected] |
DtVariableGroup* DtConfigVariable< T >::myGroup [protected] |
DtString DtConfigVariable< T >::myName [protected] |
bool DtConfigVariable< T >::myRequiredFlag [protected] |
DtString DtConfigVariable< T >::myShortcut [protected] |
T DtConfigVariable< T >::myValue [protected] |