Used for signaling errors in OptionContext. More...
#include <errors.h>

| Public Types | |
| enum | Type { duplicate_option, unknown_option, ambiguous_option, unknown_group } | 
| Public Member Functions | |
| ContextError (const std::string &ctx, Type t, const std::string &key, const std::string &desc="") | |
| const std::string & | ctx () const | 
| const std::string & | key () const | 
| Type | type () const | 
| ~ContextError () throw () | |
| Private Attributes | |
| std::string | ctx_ | 
| std::string | key_ | 
| Type | type_ | 
Used for signaling errors in OptionContext.
| ProgramOptions::ContextError::ContextError | ( | const std::string & | ctx, | 
| Type | t, | ||
| const std::string & | key, | ||
| const std::string & | desc = "" | ||
| ) | 
Definition at line 941 of file program_options.cpp.
| ProgramOptions::ContextError::~ContextError | ( | ) | throw ()  [inline] | 
| const std::string& ProgramOptions::ContextError::ctx | ( | ) | const  [inline] | 
| const std::string& ProgramOptions::ContextError::key | ( | ) | const  [inline] | 
| Type ProgramOptions::ContextError::type | ( | ) | const  [inline] | 
| std::string ProgramOptions::ContextError::ctx_  [private] | 
| std::string ProgramOptions::ContextError::key_  [private] | 
| Type ProgramOptions::ContextError::type_  [private] |