#include <lemon/arg_parser.h>

Public Types | |
| enum | Reason { HELP, UNKNOWN_OPT, INVALID_OPT } |
Public Member Functions | |
| ArgParserException (Reason r) throw () | |
| Constructor. | |
| virtual | ~ArgParserException () throw () |
| Virtual destructor. | |
| virtual const char * | what () const throw () |
| A short description of the exception. | |
| Reason | reason () const |
| Return the reason for the failure. | |
| enum Reason |
Reasons for failure.
| HELP |
--help option was given. |
| UNKNOWN_OPT | Unknown option was given. |
| INVALID_OPT | Invalid combination of options. |