9 std::string
const& internal_name, std::string
const& external_name)
15 "Secondary variable names must be unique.");
22 .emplace(std::make_pair(
29 "The secondary variable with internal name `{:s}' has already been "
35std::map<std::string, std::string>::const_iterator
41std::map<std::string, std::string>::const_iterator
48 std::string
const& external_name)
const
55 "A secondary variable with external name '{:s}' has not been set "
60 auto const& internal_name = it->second;
66 "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.