15 #ifndef TCLAP_MULTIPLE_UNLABELED_ARGUMENT_H 16 #define TCLAP_MULTIPLE_UNLABELED_ARGUMENT_H 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)
193 const std::string& desc,
195 const std::string& typeDesc,
199 :
MultiArg<T>(
"", name, desc, req, typeDesc, v)
209 const std::string& desc,
214 :
MultiArg<T>(
"", name, desc, req, constraint, v)
222 const std::string& desc,
228 :
MultiArg<T>(
"", name, desc, req, constraint, v)
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)) );
virtual bool processArg(int *i, std::vector< std::string > &args)
TClap class indirectly used to define the interface for visitors.
Managing interface for The base class that manages the command line definition and passes along the p...
Virtual parent for all the different argument classes.
virtual std::string toString() const
Defines the interaction between an argument and a constraint.
virtual std::string longID(const std::string &val="val") const
TCLAP command line argument parser classes.
virtual std::string shortID(const std::string &val="val") const
virtual void add(Arg &a)=0
bool _hasBlanks(const std::string &s) const
const std::string & getName() const
UnlabeledMultiArg(const std::string &name, const std::string &desc, bool req, const std::string &typeDesc, bool ignoreable=false, Visitor *v=NULL)
void _extractValue(const std::string &val)
TCLAP command line argument parser classes.
std::string getDescription() const
virtual bool operator==(const Arg &a) const
static void check(bool req, const std::string &argName)
virtual void addToList(std::list< Arg *> &argList) const