9 #ifndef baseConfigVar_H_
10 #define baseConfigVar_H_
18 #ifdef DtUSE_UTILITIES_NAMESPACE
19 namespace DtUSE_UTILITIES_NAMESPACE
51 DtVariableScope aScope,
const DtString& aDescription);
68 inline bool inConfigFile()
const
70 return scope() == DtScopeConfigFile || scope() == DtScopeBoth;
74 inline bool inCommandLine()
const
76 return scope() == DtScopeCommandLine || scope() == DtScopeBoth;
80 inline bool isSet()
const {
return mySetFlag; }
86 virtual const DtString& name()
const = 0;
89 virtual bool isRequired()
const = 0;
97 virtual void updateFromCommandLineArg() = 0;
103 TypeSet& usedTypes)
const = 0;
129 const DtString& typeName,
bool ordered,
130 const std::list<DtBaseConfigVariable*>& members);
149 #ifdef DtUSE_UTILITIES_NAMESPACE