wibble::commandline::StandardParser Class Reference

Parser for commandline arguments, with builting help functions. More...

#include <parser.h>

Inheritance diagram for wibble::commandline::StandardParser:
[legend]
Collaboration diagram for wibble::commandline::StandardParser:
[legend]

List of all members.

Public Member Functions

 StandardParser (const std::string &appname, const std::string &version)
void outputHelp (std::ostream &out)
bool parse (int argc, const char *argv[])
 Parse the commandline.

Public Attributes

OptionGrouphelpGroup
BoolOptionhelp
BoolOptionversion

Protected Attributes

std::string m_version

Detailed Description

Parser for commandline arguments, with builting help functions.


Constructor & Destructor Documentation

wibble::commandline::StandardParser::StandardParser ( const std::string &  appname,
const std::string &  version 
) [inline]

Member Function Documentation

void wibble::commandline::StandardParser::outputHelp ( std::ostream &  out  ) 
bool wibble::commandline::StandardParser::parse ( int  argc,
const char *  argv[] 
)

Member Data Documentation

Referenced by parse(), and withCommands().


The documentation for this class was generated from the following files:
Generated on Tue May 11 14:17:10 2010 for wibble by  doxygen 1.6.3