|
enum | OptionType { boolOption
, stringOption
, vectorOption
} |
|
|
void | addOption (OptionType type, std::string const &name, char shortName, std::string const &help=std::string(), bool hidden=false) |
|
void | addPositional (std::string const &name, std::string const &help=std::string(), bool hidden=false) |
|
int | parse (int argc, char **argv) |
|
bool | getBool (std::string const &name) const |
|
std::string const & | getString (std::string const &name) const |
|
std::vector< std::string > const & | getVector (std::string const &name) const |
|
std::string const & | getPositional (std::string const &name) const |
|
void | usageDie (char const *format=nullptr,...) |
|
The documentation for this class was generated from the following files:
- Headers/DebugServer2/Utils/OptParse.h
- Sources/Utils/OptParse.cpp