15 #ifndef TCLAP_MULTI_SWITCH_ARG_H 16 #define TCLAP_MULTI_SWITCH_ARG_H 55 const std::string& name,
56 const std::string& desc,
76 const std::string& name,
77 const std::string& desc,
91 virtual bool processArg(
int* i, std::vector<std::string>& args);
101 std::string
shortID(
const std::string& val)
const;
106 std::string
longID(
const std::string& val)
const;
113 const std::string& name,
114 const std::string& desc,
122 const std::string& name,
123 const std::string& desc,
181 std::string
id =
Arg::longID() +
" (accepted multiple times) " + val;
virtual std::string shortID(const std::string &valueId="val") const
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...
std::string shortID(const std::string &val) const
MultiSwitchArg(const std::string &flag, const std::string &name, const std::string &desc, int init=0, Visitor *v=NULL)
bool combinedSwitchesMatch(std::string &combined)
virtual void add(Arg &a)=0
void _checkWithVisitor() const
virtual bool processArg(int *i, std::vector< std::string > &args)
virtual std::string longID(const std::string &valueId="val") const
virtual bool argMatches(const std::string &s) const
std::string longID(const std::string &val) const
TCLAP command line argument parser classes.