Implements string->string mapping with convenient value casting facilities. More...
#include <variables_map.hpp>
Public Member Functions | |
abstract_variables_map () | |
abstract_variables_map (const abstract_variables_map *next) | |
virtual | ~abstract_variables_map () |
const variable_value & | operator[] (const std::string &name) const |
Obtains the value of variable 'name', from *this and possibly from the chain of variable maps. More... | |
void | next (abstract_variables_map *next) |
Sets next variable map, which will be used to find variables not found in *this. More... | |
Implements string->string mapping with convenient value casting facilities.
boost::program_options::abstract_variables_map::abstract_variables_map | ( | ) |
boost::program_options::abstract_variables_map::abstract_variables_map | ( | const abstract_variables_map * | next | ) |
|
inlinevirtual |
void boost::program_options::abstract_variables_map::next | ( | abstract_variables_map * | next | ) |
Sets next variable map, which will be used to find variables not found in *this.
const variable_value& boost::program_options::abstract_variables_map::operator[] | ( | const std::string & | name | ) | const |
Obtains the value of variable 'name', from *this and possibly from the chain of variable maps.
Referenced by boost::program_options::variables_map::operator[]().