Used for signaling errors on command-line and in declaring options. More...
#include <errors.h>

Public Types | |
| enum | Type { missing_value, extra_value, invalid_format } |
Public Member Functions | |
| const std::string & | key () const |
| SyntaxError (Type t, const std::string &key) | |
| Type | type () const |
| ~SyntaxError () throw () | |
Private Attributes | |
| std::string | key_ |
| Type | type_ |
Used for signaling errors on command-line and in declaring options.
| ProgramOptions::SyntaxError::SyntaxError | ( | Type | t, |
| const std::string & | key | ||
| ) |
Definition at line 936 of file program_options.cpp.
| ProgramOptions::SyntaxError::~SyntaxError | ( | ) | throw () [inline] |
| const std::string& ProgramOptions::SyntaxError::key | ( | ) | const [inline] |
| Type ProgramOptions::SyntaxError::type | ( | ) | const [inline] |
std::string ProgramOptions::SyntaxError::key_ [private] |
Type ProgramOptions::SyntaxError::type_ [private] |