Concrete variables map which store variables in real map. More...
#include <variables_map.hpp>
Public Member Functions | |
variables_map () | |
variables_map (const abstract_variables_map *next) | |
const variable_value & | operator[] (const std::string &name) const |
void | clear () |
void | notify () |
void | next (abstract_variables_map *next) |
Sets next variable map, which will be used to find variables not found in *this. More... | |
Public Attributes | |
K | keys |
STL member. More... | |
T | elements |
STL member. More... | |
Friends | |
BOOST_PROGRAM_OPTIONS_DECL void | store (const basic_parsed_options< char > &options, variables_map &xm, bool utf8) |
Stores in 'm' all options that are defined in 'options'. More... | |
Concrete variables map which store variables in real map.
This class is derived from std::map<std::string, variable_value>, so you can use all map operators to examine its content.
boost::program_options::variables_map::variables_map | ( | ) |
boost::program_options::variables_map::variables_map | ( | const abstract_variables_map * | next | ) |
void boost::program_options::variables_map::clear | ( | ) |
|
inherited |
Sets next variable map, which will be used to find variables not found in *this.
void boost::program_options::variables_map::notify | ( | ) |
|
inline |
|
friend |
Stores in 'm' all options that are defined in 'options'.
If 'm' already has a non-defaulted value of an option, that value is not changed, even if 'options' specify some value.
|
inherited |
STL member.