Command line argument parser with ability to display the program usage.
More...
#include <options.h>
|
| ArgParser (int argc, char **argv) |
|
template<typename T > |
void | add_option (const std::string &full_name, const std::string &short_name, const std::string &desc, T &value, const T &default_value=T(), const std::string &arg_name=std::string()) |
|
bool | parse () |
|
void | usage () const |
|
const std::vector< std::string > & | arguments () const |
|
Command line argument parser with ability to display the program usage.
The documentation for this class was generated from the following file: