Go to the documentation of this file.
15 #ifndef TCLAP_MULTI_SWITCH_ARG_H
16 #define TCLAP_MULTI_SWITCH_ARG_H
29 class MultiSwitchArg :
public SwitchArg
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;
MultiSwitchArg(const std::string &flag, const std::string &name, const std::string &desc, int init=0, Visitor *v=NULL)
void _checkWithVisitor() const
virtual std::string shortID(const std::string &valueId="val") const
std::string longID(const std::string &val) const
virtual void add(Arg &a)=0
virtual bool argMatches(const std::string &s) const
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 std::string longID(const std::string &valueId="val") const
TCLAP command line argument parser classes.
std::string shortID(const std::string &val) const
bool combinedSwitchesMatch(std::string &combined)
ecl_command_line
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:13