#include <arg_parser.h>
List of all members.
Public Member Functions |
DSOEXPORT | Arg_parser (const int argc, const char *const argv[], const Option options[], const bool in_order=false) throw () |
DSOEXPORT | Arg_parser (const char *const opt, const char *const arg, const Option options[]) throw () |
const std::string & | error () const throw () |
int | arguments () const throw () |
int | code (const int i) const throw () |
std::string | argument (const int i) const throw (ArgParserException) |
template<typename T > |
T | argument (const int i) const throw (ArgParserException) |
Member Enumeration Documentation
Constructor & Destructor Documentation
Arg_parser::Arg_parser |
( |
const int |
argc, |
|
|
const char *const |
argv[], |
|
|
const Option |
options[], |
|
|
const bool |
in_order = false |
|
) |
| throw () |
Arg_parser::Arg_parser |
( |
const char *const |
opt, |
|
|
const char *const |
arg, |
|
|
const Option |
options[] |
|
) |
| throw () |
Member Function Documentation
int Arg_parser::arguments |
( |
| ) |
const throw () |
|
inline |
int Arg_parser::code |
( |
const int |
i | ) |
const throw () |
|
inline |
const std::string& Arg_parser::error |
( |
| ) |
const throw () |
|
inline |
The documentation for this class was generated from the following files: