24 #ifndef DtCmdLine_UNLABELED_VALUE_ARGUMENT_H
25 #define DtCmdLine_UNLABELED_VALUE_ARGUMENT_H
36 #ifdef DtUSE_UTILITIES_NAMESPACE
37 namespace DtUSE_UTILITIES_NAMESPACE
90 const std::string& desc,
92 const std::string& typeDesc,
93 bool ignoreable =
false,
121 const std::string& desc,
123 const std::string& typeDesc,
125 bool ignoreable =
false,
150 const std::string& desc,
152 const std::vector<T>& allowed,
153 bool ignoreable =
false,
180 const std::string& desc,
182 const std::vector<T>& allowed,
184 bool ignoreable =
false,
195 virtual bool processArg(
int* i, std::vector<std::string>& args);
200 virtual std::string shortID(
const std::string& val=
"val")
const;
205 virtual std::string longID(
const std::string& val=
"val")
const;
216 virtual void addToList( std::list<Arg*>& argList )
const;
224 const std::string& desc,
226 const std::string& typeDesc,
229 :
ValueArg<T>(
"", name, desc, true, val, typeDesc, v)
236 const std::string& desc,
238 const std::string& typeDesc,
242 :
ValueArg<T>(
"", name, desc, true, val, typeDesc, v)
253 const std::string& desc,
255 const std::vector<T>& allowed,
258 :
ValueArg<T>(
"", name, desc, true, val, allowed, v)
265 const std::string& desc,
267 const std::vector<T>& allowed,
271 :
ValueArg<T>(
"", name, desc, true, val, allowed, v)
287 if ( _hasBlanks( args[*i] ) )
292 _extractValue( args[*i] );
303 std::string
id =
"<" + _typeDesc +
">";
317 std::string
id =
"<" + _typeDesc +
">";
337 argList.push_back( (
Arg*)
this );
342 #ifdef DtUSE_UTILITIES_NAMESPACE