4 #include "Exceptions.h" 13 table[p.first] = p.second;
24 pOut.second = it->second;
66 std::vector<std::pair<std::string, double> >().
swap(
m_vector);
Parameter getParameter(const std::string &name) const
get a parameter by name. throw an exception of a well defined type if we don't have it ...
double getParameterValue(const std::string &name) const
get the value of a parameter. throw an exception of a well defined type if we don't have it ...
bool hasParameter(const std::string &name) const
is the named parameter in the table?
std::pair< std::string, double > Parameter
void mapify() const
Move the parameters from the vector to the map.
void swap(Handle< T > &a, Handle< T > &b)
std::vector< std::pair< std::string, double > > m_vector
boost::interprocess::flat_map< std::string, double > table
void setParameter(Parameter p)
add a parameter to the table or, if already there, reset its value