#include <Commandline.h>
Public Member Functions | |
Parser (const std::string &name) | |
virtual | ~Parser () |
const std::string & | name () const |
virtual iter | parseList (arglist &list) |
Parse the list of arguments, starting at the beginning and removing the arguments it successfully parses. | |
virtual iter | parse (arglist &list, iter begin)=0 |
Parse the list of arguments, starting at 'begin' and removing the arguments it successfully parses. |
Tagcoll::commandline::Parser::Parser | ( | const std::string & | name | ) | [inline] |
virtual Tagcoll::commandline::Parser::~Parser | ( | ) | [inline, virtual] |
const std::string& Tagcoll::commandline::Parser::name | ( | ) | const [inline] |
Parse the list of arguments, starting at the beginning and removing the arguments it successfully parses.
Parse the list of arguments, starting at 'begin' and removing the arguments it successfully parses.
The 'begin' iterator can be invalidated by this function.
Implemented in Tagcoll::commandline::OptionParser, and Tagcoll::commandline::CommandParser.