![]() |
VR-Link API Documentation for HLA 1.3
|
Inheritance diagram for DtMultiConfigVariable< T >:
Collaboration diagram for DtMultiConfigVariable< T >:Public Member Functions | |
| DtMultiConfigVariable (DtVariableGroup *group, const DtString &aName, const DtString &itemName, const DtString &aDescription="", DtVariableScope aScope=DtBaseConfigVariable::DtScopeBoth, bool isRequired=false, const DtString &aShortcut="") | |
| Var CTOR, using Group pointer. | |
| DtMultiConfigVariable (DtVariableGroup &group, const DtString &aName, const DtString &itemName, const DtString &aDescription="", DtVariableScope aScope=DtBaseConfigVariable::DtScopeBoth, bool isRequired=false, const DtString &aShortcut="") | |
| Var CTOR, using Group reference. | |
| virtual | ~DtMultiConfigVariable () |
| 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. | |
| virtual const DtString & | name () const |
| Get the Var's name. | |
| void | setName (const DtString &name) |
| const std::vector< T > & | values () const |
| void | setValues (const std::vector< T > &aValue) |
| void | addValue (T aValue) |
| void | removeValue (T aValue) |
| const DtString & | shortcut () const |
| void | setShortcut (const DtString &aShortcut) |
Protected Types | |
| typedef DtVarType< T >::ArgType | ArgType |
Protected Attributes | |
| DtString | myName |
| DtString | myItemName |
| DtString | myShortcut |
| bool | myRequiredFlag |
| DtVariableGroup * | myGroup |
| std::vector< T > | myValues |
typedef DtVarType<T>::ArgType DtMultiConfigVariable< T >::ArgType [protected] |
| DtMultiConfigVariable< T >::DtMultiConfigVariable | ( | DtVariableGroup * | group, |
| const DtString & | aName, | ||
| const DtString & | itemName, | ||
| const DtString & | aDescription = "", |
||
| DtVariableScope | aScope = DtBaseConfigVariable::DtScopeBoth, |
||
| bool | isRequired = false, |
||
| const DtString & | aShortcut = "" |
||
| ) |
Var CTOR, using Group pointer.
| DtMultiConfigVariable< T >::DtMultiConfigVariable | ( | DtVariableGroup & | group, |
| const DtString & | aName, | ||
| const DtString & | itemName, | ||
| const DtString & | aDescription = "", |
||
| DtVariableScope | aScope = DtBaseConfigVariable::DtScopeBoth, |
||
| bool | isRequired = false, |
||
| const DtString & | aShortcut = "" |
||
| ) |
Var CTOR, using Group reference.
| virtual DtMultiConfigVariable< T >::~DtMultiConfigVariable | ( | ) | [virtual] |
DTOR.
| void DtMultiConfigVariable< T >::addValue | ( | T | aValue | ) |
| virtual void DtMultiConfigVariable< T >::getCommandLineArg | ( | DtCmdLine::CmdLine & | ) | [virtual] |
Create a command line argument for the native value.
Implements DtBaseConfigVariable.
| virtual void DtMultiConfigVariable< T >::getEnvironmentSchemaType | ( | DtEnvironment | env, |
| TypeSet & | usedTypes | ||
| ) | const [virtual] |
Get Environment schema type.
Implements DtBaseConfigVariable.
| virtual DtEnvValueSP DtMultiConfigVariable< T >::getEnvironmentValue | ( | DtEnvironment | env | ) | [virtual] |
Create an Environment Value from the native value.
Implements DtBaseConfigVariable.
| virtual bool DtMultiConfigVariable< T >::isRequired | ( | ) | const [virtual] |
Get if the var is required.
Implements DtBaseConfigVariable.
| virtual const DtString& DtMultiConfigVariable< T >::name | ( | ) | const [virtual] |
Get the Var's name.
Implements DtBaseConfigVariable.
| void DtMultiConfigVariable< T >::removeValue | ( | T | aValue | ) |
| void DtMultiConfigVariable< T >::setName | ( | const DtString & | name | ) |
| void DtMultiConfigVariable< T >::setShortcut | ( | const DtString & | aShortcut | ) |
| void DtMultiConfigVariable< T >::setValues | ( | const std::vector< T > & | aValue | ) |
| const DtString& DtMultiConfigVariable< T >::shortcut | ( | ) | const |
| virtual DtString DtMultiConfigVariable< T >::type | ( | ) | const [virtual] |
Get the Var's type.
Implements DtBaseConfigVariable.
| virtual void DtMultiConfigVariable< T >::updateFromCommandLineArg | ( | ) | [virtual] |
Update the native value from the command line argument.
Implements DtBaseConfigVariable.
| virtual void DtMultiConfigVariable< T >::updateFromEnvironment | ( | DtEnvironment | env | ) | [virtual] |
Update the native value from the Environment Value.
Implements DtBaseConfigVariable.
| const std::vector<T>& DtMultiConfigVariable< T >::values | ( | ) | const |
DtVariableGroup* DtMultiConfigVariable< T >::myGroup [protected] |
DtString DtMultiConfigVariable< T >::myItemName [protected] |
DtString DtMultiConfigVariable< T >::myName [protected] |
bool DtMultiConfigVariable< T >::myRequiredFlag [protected] |
DtString DtMultiConfigVariable< T >::myShortcut [protected] |
std::vector<T> DtMultiConfigVariable< T >::myValues [protected] |