32 template <
class valueType>
37 if(
parameters.insert(std::make_pair(name, ss.str())).second )
return true;
41 template <
class valueType>
44 valueType returnValue;
52 std::cout <<
"WARNING: parameter " <<
name <<
" not found. Returning default value" << std::endl;
67 typedef std::map<std::string, std::string>
parMap;
std::map< std::string, std::string > parMap
bool put(const std::string &name, const valueType &inputValue)
void printDebug(std::stringstream &ss) const
Prints the full list of parameters.
void printSummary(std::stringstream &ss) const
Prints the full list of parameters.
bool isParameter(const std::string &name) const