|
Public Member Functions |
| | CommandLine () |
| | CommandLine (const CommandLine &other) |
| | Copy-constructor with deep-copy semantics.
|
| | ~CommandLine () |
| CommandLine & | operator= (const CommandLine &other) |
| | Assignment operator with deep-copy semantics.
|
| std::vector< std::string > | getArgs () const |
| | Return the standard arguments of the parsed command line.
|
| bool | hasOption (const char option) const |
| | Report if a given option was detected during parsing.
|
| std::string | getOptionValue (const char *const option) const |
| | Report if a given option was detected during parsing.
|
| const Options::Vector & | operator() () const |
| | Return a vector of all detected options.
|
| void | addOption (const Option &sourceOption, int &index, const int argc, const char *argv[]) |
| void | addArg (const char *const arg) |
| void | addOption (const Option &sourceOption, Tokens::const_iterator &token, const Tokens::const_iterator &end) |
| void | addArg (const std::string &arg) |