#include <Commandline.h>
Inheritance diagram for Tagcoll::commandline::CommandParser:
Public Member Functions | |
CommandParser (const std::string &name) | |
OptionParser * | lastCommand () const |
OptionParser * | command (const std::string &name) const |
void | add (OptionParser &o) |
virtual iter | parse (arglist &list, iter begin) |
Look for a command as the first non-switch parameter found, then invoke the corresponding switch parser. | |
std::map< std::string, OptionParser * > | getCommandInfo () const |
Public Attributes | |
std::string | usage |
std::string | description |
std::string | longDescription |
|
|
|
|
|
|
|
|
|
|
|
Look for a command as the first non-switch parameter found, then invoke the corresponding switch parser. After this function, only non-switch arguments will be left in list If no commands have been found, returns begin. Implements Tagcoll::commandline::Parser. |
|
|
|
|
|
|