43 #ifndef PARAMETER_HELPER_HPP 44 #define PARAMETER_HELPER_HPP 46 #include "Teuchos_ParameterList.hpp" 58 if (params.
isType<T>(name)) {
59 value = params.
get<T>(name);
T & get(ParameterList &l, const std::string &name)
bool isType(const std::string &name) const
void GetParameter(const Teuchos::ParameterList ¶ms, const std::string &name, T &value)
Set a value from a ParameterList if a parameter with the specified name exists.
bool isParameter(const std::string &name) const