87 const std::vector<T>&
values()
const;
88 void setValues(
const std::vector<T>& aValue);
125 #include "multiConfigVariable.inl"
This file declares vlException.
virtual DtString type() const
Get the Var's type.
DtBoost::shared_ptr< DtEnvValue > DtEnvValueSP
Definition: envValue.h:29
Contains the DtBaseConfigVariable class declaration.
virtual bool isRequired() const
Get if the var is required.
void setName(const DtString &name)
DtString myItemName
Definition: multiConfigVariable.h:115
Bar Var class, used to access variables in a type neutral manner.
Definition: baseConfigVariable.h:31
DtString myName
Definition: multiConfigVariable.h:114
Definition: baseConfigVariable.h:42
const std::vector< T > & values() const
virtual void updateFromCommandLineArg()
Update the native value from the command line argument.
virtual void updateFromEnvironment(DtEnvironment env)
Update the native value from the Environment Value.
The base class that manages the command line definition and passes along the parsing to the appropria...
Definition: cmdLine.h:64
A Flyweight class for manipulating objects and their hierarchy The DtEnvironment wraps a DtEnvValuSP ...
Definition: environment.h:29
std::set< DtString > TypeSet
Definition: baseConfigVariable.h:35
DtVariableGroup * myGroup
Definition: multiConfigVariable.h:119
bool myRequiredFlag
Definition: multiConfigVariable.h:117
DtString myShortcut
Definition: multiConfigVariable.h:116
DtVarType< T >::ArgType ArgType
Definition: multiConfigVariable.h:112
virtual const DtString & name() const
Get the Var's name.
This file declares the class DtCmdLine::CmdLine.
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.
virtual DtEnvValueSP getEnvironmentValue(DtEnvironment env)
Create an Environment Value from the native value.
void setShortcut(const DtString &aShortcut)
const DtString & shortcut() const
Contains DtEnvironment class.
Contains the DtVariableGroup class declaration.
DtVariableScope
Definition: baseConfigVariable.h:37
Represents a group of variables.
Definition: variableGroup.h:21
void removeValue(T aValue)
virtual ~DtMultiConfigVariable()
DTOR.
DtMultiConfigVariable & operator=(const DtMultiConfigVariable &other)
Assignment operator.
virtual void getCommandLineArg(DtCmdLine::CmdLine &)
Create a command line argument for the native value.
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual void getEnvironmentSchemaType(DtEnvironment env, TypeSet &usedTypes) const
Get Environment schema type.
void setValues(const std::vector< T > &aValue)
std::vector< T > myValues
Definition: multiConfigVariable.h:121
Definition: multiConfigVariable.h:23