15 #ifndef TCLAP_MULTIPLE_UNLABELED_ARGUMENT_H
16 #define TCLAP_MULTIPLE_UNLABELED_ARGUMENT_H
32 class UnlabeledMultiArg :
public MultiArg<T>
66 const std::string& desc,
68 const std::string& typeDesc,
69 bool ignoreable =
false,
90 const std::string& desc,
92 const std::string& typeDesc,
94 bool ignoreable =
false,
113 const std::string& desc,
116 bool ignoreable =
false,
136 const std::string& desc,
140 bool ignoreable =
false,
151 virtual bool processArg(
int* i, std::vector<std::string>& args);
157 virtual std::string
shortID(
const std::string& val=
"val")
const;
163 virtual std::string
longID(
const std::string& val=
"val")
const;
175 virtual void addToList( std::list<Arg*>& argList )
const;
180 const std::string& desc,
182 const std::string& typeDesc,
185 :
MultiArg<T>(
"", name, desc, req, typeDesc, v)
187 _ignoreable = ignoreable;
193 const std::string& desc,
195 const std::string& typeDesc,
199 :
MultiArg<T>(
"", name, desc, req, typeDesc, v)
201 _ignoreable = ignoreable;
209 const std::string& desc,
214 :
MultiArg<T>(
"", name, desc, req, constraint, v)
216 _ignoreable = ignoreable;
222 const std::string& desc,
228 :
MultiArg<T>(
"", name, desc, req, constraint, v)
230 _ignoreable = ignoreable;
240 if ( _hasBlanks( args[*i] ) )
247 _extractValue( args[(*i)] );
265 std::string
id =
"<" + _typeDesc +
"> ...";
273 std::string
id =
"<" + _typeDesc +
"> (accepted multiple times)";
290 argList.push_back(
const_cast<Arg*
>(
static_cast<const Arg* const
>(
this)) );