16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
49 DtVariableScope aScope,
const DtString& aDescription );
73 return scope() == DtScopeConfigFile || scope() == DtScopeBoth;
79 return scope() == DtScopeCommandLine || scope() == DtScopeBoth;
83 inline bool isSet()
const {
return mySetFlag; }
89 virtual const DtString& name()
const = 0;
92 virtual bool isRequired()
const = 0;
100 virtual void updateFromCommandLineArg() = 0;
106 TypeSet& usedTypes )
const = 0;
131 const DtString& typeName,
bool ordered,
132 const std::list<DtBaseConfigVariable*>& members );
155 #ifdef DtUSE_UTILITIES_NAMESPACE
bool inCommandLine() const
Is this var used in the command line.
Definition: baseConfigVariable.h:77
DtVariableScope scope() const
Get the scope of this variable.
Definition: baseConfigVariable.h:60
DtString myDescription
Stores a description of the variable.
Definition: baseConfigVariable.h:151
Definition: baseConfigVariable.h:41
Bar Var class, used to access variables in a type neutral manner.
Definition: baseConfigVariable.h:31
const DtString & description() const
Definition: baseConfigVariable.h:65
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
DtCmdLine::Arg * myArg
Stores the argument relating with this var.
Definition: baseConfigVariable.h:148
Definition: baseConfigVariable.h:40
bool mySetFlag
Stores a flag to determine if this var has been set yet.
Definition: baseConfigVariable.h:145
DtVariableScope myScope
My scope.
Definition: baseConfigVariable.h:142
bool inConfigFile() const
Is this var used in the config line.
Definition: baseConfigVariable.h:71
A virtual base class that defines the essential data for all arguments.
Definition: cmdArg.h:48
Contains DtEnvironment class.
DtVariableScope
Definition: baseConfigVariable.h:37
Represents a group of variables.
Definition: variableGroup.h:21
#define DT_DLL_MTL
Definition: vlMachineTypes.h:106
Definition: baseConfigVariable.h:39
Instances of DtString are used to represent strings.
Definition: vlString.h:36
bool isSet() const
Check to see if the value has been set.
Definition: baseConfigVariable.h:83
std::shared_ptr< DtEnvValue > DtEnvValueSP
Definition: envValue.h:29