|
Gnash
0.8.10
|
#include <arg_parser.h>
Classes | |
| class | ArgParserException |
| struct | Option |
Public Types | |
| enum | Has_arg { no, yes, maybe } |
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) |
| enum Arg_parser::Has_arg |
| Arg_parser::Arg_parser | ( | const int | argc, |
| const char *const | argv[], | ||
| const Option | options[], | ||
| const bool | in_order = false |
||
| ) | throw () |
References _error, data, and gnash::key::i.
| Arg_parser::Arg_parser | ( | const char *const | opt, |
| const char *const | arg, | ||
| const Option | options[] | ||
| ) | throw () |
| std::string Arg_parser::argument | ( | const int | i | ) | const throw (ArgParserException) [inline] |
References arguments(), and gnash::key::i.
Referenced by argument(), and main().
| T Arg_parser::argument | ( | const int | i | ) | const throw (ArgParserException) [inline] |
References argument(), arguments(), gnash::key::i, gnash::key::T, and gnash::key::t.
| int Arg_parser::arguments | ( | ) | const throw () [inline] |
Referenced by argument(), code(), and main().
| int Arg_parser::code | ( | const int | i | ) | const throw () [inline] |
References arguments(), and gnash::key::i.
Referenced by main().
| const std::string& Arg_parser::error | ( | ) | const throw () [inline] |
Referenced by main().
1.7.6.1