|
wibble
0.1.28
|
Parser for commandline arguments, with builting help functions and manpage generation. More...
#include <parser.h>


Public Member Functions | |
| StandardParserWithManpage (const std::string &appname, const std::string &version, int section, const std::string &author) | |
| bool | parse (int argc, const char *argv[]) |
| Parse the commandline. | |
Public Attributes | |
| StringOption * | manpage |
Protected Attributes | |
| int | m_section |
| std::string | m_author |
Parser for commandline arguments, with builting help functions and manpage generation.
| wibble::commandline::StandardParserWithManpage::StandardParserWithManpage | ( | const std::string & | appname, |
| const std::string & | version, | ||
| int | section, | ||
| const std::string & | author | ||
| ) | [inline] |
| bool wibble::commandline::StandardParserWithManpage::parse | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Parse the commandline.
Reimplemented from wibble::commandline::StandardParser.
Reimplemented in wibble::commandline::StandardParserWithMandatoryCommand.
References wibble::commandline::Manpage::output(), and wibble::commandline::Manpage::readHooks().
std::string wibble::commandline::StandardParserWithManpage::m_author [protected] |
int wibble::commandline::StandardParserWithManpage::m_section [protected] |
Referenced by StandardParserWithManpage(), and withCommands().
1.7.6.1