16 std::string
const& internal_name, std::string
const& external_name)
22 "Secondary variable names must be unique.");
29 .emplace(std::make_pair(
36 "The secondary variable with internal name `{:s}' has already been "
42std::map<std::string, std::string>::const_iterator
48std::map<std::string, std::string>::const_iterator
55 std::string
const& external_name)
const
62 "A secondary variable with external name '{:s}' has not been set "
67 auto const& internal_name = it->second;
73 "A secondary variable with internal name '{:s}' has not been set "
SecondaryVariable const & get(std::string const &external_name) const
Returns the secondary variable with the given external name.
std::map< std::string, std::string > _map_external_to_internal
void addNameMapping(std::string const &internal_name, std::string const &external_name)
Register a variable with the given internal and external names.
std::map< std::string, std::string >::const_iterator begin() const
void addSecondaryVariable(std::string const &internal_name, SecondaryVariableFunctions &&fcts)
std::map< std::string, std::string >::const_iterator end() const
std::map< std::string, SecondaryVariable > _configured_secondary_variables
void insertIfKeyUniqueElseError(Map &map, Key const &key, Value &&value, std::string const &error_message)
Stores information about a specific secondary variable.