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.
const std::string & getName() const
Defines the interaction between an argument and a constraint.
virtual std::string shortID(const std::string &val="val") const
TCLAP command line argument parser classes.
virtual std::string toString() const
virtual void add(Arg &a)=0
virtual bool operator==(const Arg &a) const
virtual std::string longID(const std::string &val="val") const
std::string getDescription() const
UnlabeledMultiArg(const std::string &name, const std::string &desc, bool req, const std::string &typeDesc, bool ignoreable=false, Visitor *v=NULL)
virtual void addToList(std::list< Arg * > &argList) const
void _extractValue(const std::string &val)
bool _hasBlanks(const std::string &s) const
TCLAP command line argument parser classes.
static void check(bool req, const std::string &argName)