![]() |
VR-Link API Documentation for HLA Evolved
|
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. | |
| DtMultiConfigVariable (DtVariableGroup *group, const DtMultiConfigVariable< T > &orig) | |
| Var Copy CTOR, using Group pointer. | |
| DtMultiConfigVariable (DtVariableGroup &group, const DtMultiConfigVariable< T > &orig) | |
| Var Copy CTOR, using Group reference. | |
| virtual | ~DtMultiConfigVariable () |
| DTOR. | |
| DtMultiConfigVariable & | operator= (const DtMultiConfigVariable &other) |
| Assignment operator. | |
| 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. | |
Get/Set the variable name. | |
| virtual const DtString & | name () const |
| Get the Var's name. | |
| void | setName (const DtString &name) |
Get/Set the variable value. | |
| const std::vector< T > & | values () const |
| void | setValues (const std::vector< T > &aValue) |
| void | addValue (T aValue) |
| void | removeValue (T aValue) |
| void | clearValues () |
Get/Set the variable's shortcut | |
| const DtString & | shortcut () const |
| void | setShortcut (const DtString &aShortcut) |
Public Member Functions inherited from DtBaseConfigVariable | |
| DtBaseConfigVariable (DtVariableGroup *settings, DtVariableScope aScope, const DtString &aDescription) | |
| CTOR. | |
| virtual | ~DtBaseConfigVariable () |
| DTOR. | |
| DtBaseConfigVariable & | operator= (const DtBaseConfigVariable &other) |
| Assignment operator. | |
| DtVariableScope | scope () const |
| Get the scope of this variable. | |
| const DtString & | description () const |
| bool | inConfigFile () const |
| Is this var used in the config line. | |
| bool | inCommandLine () const |
| Is this var used in the command line. | |
| bool | isSet () const |
| Check to see if the value has been set. | |
Protected Types | |
| typedef DtVarType< T >::ArgType | ArgType |
Protected Member Functions | |
| DtMultiConfigVariable (const DtMultiConfigVariable &other) | |
| Copy CTOR (not implemented). | |
Protected Member Functions inherited from DtBaseConfigVariable | |
| DtBaseConfigVariable (const DtBaseConfigVariable &other) | |
| Copy CTOR (not implemented). | |
Protected Attributes | |
| DtString | myName |
| DtString | myItemName |
| DtString | myShortcut |
| bool | myRequiredFlag |
| DtVariableGroup * | myGroup |
| std::vector< T > | myValues |
Protected Attributes inherited from DtBaseConfigVariable | |
| DtVariableScope | myScope |
| My scope. | |
| bool | mySetFlag |
| Stores a flag to determine if this var has been set yet. | |
| DtCmdLine::Arg * | myArg |
| Stores the argument relating with this var. | |
| DtString | myDescription |
| Stores a description of the variable. | |
Additional Inherited Members | |
Public Types inherited from DtBaseConfigVariable | |
| enum | DtVariableScope { DtScopeInternal, DtScopeConfigFile, DtScopeCommandLine, DtScopeBoth } |
| typedef std::set< DtString > | TypeSet |
Static Public Member Functions inherited from DtBaseConfigVariable | |
| static DtEnvValueSP | createSchemaDeclaration (DtEnvironment env, const DtString &name, const DtString &type) |
| static DtEnvValueSP | createSimpleSchemaType (DtEnvironment env, const DtString &typeName, const DtString &xsType) |
| Help function for simple types. | |
| static DtEnvValueSP | createComplexSchemaType (DtEnvironment env, const DtString &typeName, bool ordered, const std::list< DtBaseConfigVariable * > &members) |
| Create a complex schema type. | |
|
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.
| DtMultiConfigVariable< T >::DtMultiConfigVariable | ( | DtVariableGroup * | group, |
| const DtMultiConfigVariable< T > & | orig | ||
| ) |
Var Copy CTOR, using Group pointer.
| DtMultiConfigVariable< T >::DtMultiConfigVariable | ( | DtVariableGroup & | group, |
| const DtMultiConfigVariable< T > & | orig | ||
| ) |
Var Copy CTOR, using Group reference.
|
virtual |
DTOR.
|
protected |
Copy CTOR (not implemented).
| void DtMultiConfigVariable< T >::addValue | ( | T | aValue | ) |
| void DtMultiConfigVariable< T >::clearValues | ( | ) |
|
virtual |
Create a command line argument for the native value.
Implements DtBaseConfigVariable.
|
virtual |
Get Environment schema type.
Implements DtBaseConfigVariable.
|
virtual |
Create an Environment Value from the native value.
Implements DtBaseConfigVariable.
|
virtual |
Get if the var is required.
Implements DtBaseConfigVariable.
|
virtual |
Get the Var's name.
Implements DtBaseConfigVariable.
| DtMultiConfigVariable& DtMultiConfigVariable< T >::operator= | ( | const DtMultiConfigVariable< T > & | other | ) |
Assignment operator.
Assigns all defining attributes of the variable. The variable's group that it belongs to remains unchanged.
| 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 |
Get the Var's type.
Implements DtBaseConfigVariable.
|
virtual |
Update the native value from the command line argument.
Implements DtBaseConfigVariable.
|
virtual |
Update the native value from the Environment Value.
Implements DtBaseConfigVariable.
| const std::vector<T>& DtMultiConfigVariable< T >::values | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |