#include <Commandline.h>
Inheritance diagram for Tagcoll::commandline::OptionParser:
Public Member Functions | |
OptionParser (const std::string &name) | |
void | add (Option *o) |
void | add (OptionGroup *group) |
const std::vector< OptionGroup * > & | groups () const |
const std::vector< Option * > & | options () const |
virtual iter | parse (arglist &list, iter begin) |
Parse all the switches in list, leaving only the non-switch arguments or the arguments following "--". | |
Public Attributes | |
std::string | primaryAlias |
std::vector< std::string > | aliases |
std::string | usage |
std::string | description |
std::string | longDescription |
std::string | examples |
|
|
|
|
|
|
|
|
|
|
|
Parse all the switches in list, leaving only the non-switch arguments or the arguments following "--".
Implements Tagcoll::commandline::Parser. |
|
|
|
|
|
|
|
|
|
|
|
|