#include <errors.hpp>
|
typedef std::pair< std::string,
std::string > | string_pair |
|
Enumerator |
---|
long_not_allowed |
|
long_adjacent_not_allowed |
|
short_adjacent_not_allowed |
|
empty_adjacent_parameter |
|
missing_parameter |
|
extra_parameter |
|
unrecognized_line |
|
boost::program_options::invalid_config_file_syntax::invalid_config_file_syntax |
( |
const std::string & |
invalid_line, |
|
|
kind_t |
kind |
|
) |
| |
|
inline |
boost::program_options::invalid_config_file_syntax::~invalid_config_file_syntax |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
void boost::program_options::error_with_option_name::add_context |
( |
const std::string & |
option_name, |
|
|
const std::string & |
original_token, |
|
|
int |
option_style |
|
) |
| |
|
inlineinherited |
Add context to an exception.
std::string boost::program_options::error_with_option_name::get_canonical_option_name |
( |
| ) |
const |
|
protectedinherited |
Construct option name in accordance with the appropriate prefix style: i.e.
long dash or short slash etc
std::string boost::program_options::error_with_option_name::get_canonical_option_prefix |
( |
| ) |
const |
|
protectedinherited |
std::string boost::program_options::error_with_option_name::get_option_name |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineinherited |
std::string boost::program_options::invalid_syntax::get_template |
( |
kind_t |
kind | ) |
|
|
protectedinherited |
Used to convert kind_t to a related error text.
kind_t boost::program_options::invalid_syntax::kind |
( |
| ) |
const |
|
inlineinherited |
void boost::program_options::error_with_option_name::replace_token |
( |
const std::string & |
from, |
|
|
const std::string & |
to |
|
) |
| const |
|
protectedinherited |
virtual void boost::program_options::error_with_option_name::set_option_name |
( |
const std::string & |
option_name | ) |
|
|
inlinevirtualinherited |
void boost::program_options::error_with_option_name::set_original_token |
( |
const std::string & |
original_token | ) |
|
|
inlineinherited |
void boost::program_options::error_with_option_name::set_prefix |
( |
int |
option_style | ) |
|
|
inlineinherited |
void boost::program_options::error_with_option_name::set_substitute |
( |
const std::string & |
parameter_name, |
|
|
const std::string & |
value |
|
) |
| |
|
inlineinherited |
void boost::program_options::error_with_option_name::set_substitute_default |
( |
const std::string & |
parameter_name, |
|
|
const std::string & |
from, |
|
|
const std::string & |
to |
|
) |
| |
|
inlineinherited |
virtual void boost::program_options::error_with_option_name::substitute_placeholders |
( |
const std::string & |
error_template | ) |
const |
|
protectedvirtualinherited |
virtual std::string boost::program_options::invalid_config_file_syntax::tokens |
( |
| ) |
const |
|
inlinevirtual |
virtual const char* boost::program_options::error_with_option_name::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtualinherited |
std::string boost::program_options::error_with_option_name::m_error_template |
|
inherited |
template with placeholders
kind_t boost::program_options::invalid_syntax::m_kind |
|
protectedinherited |
std::string boost::program_options::error_with_option_name::m_message |
|
mutableprotectedinherited |
Used to hold the error text returned by what()
int boost::program_options::error_with_option_name::m_option_style |
|
protectedinherited |
can be 0 = no prefix (config file options) allow_long allow_dash_for_short allow_slash_for_short allow_long_disguise
std::map<std::string, string_pair > boost::program_options::error_with_option_name::m_substitution_defaults |
|
protectedinherited |
std::map<std::string, std::string> boost::program_options::error_with_option_name::m_substitutions |
|
protectedinherited |
substitutions from placeholders to values
The documentation for this class was generated from the following file: