#include <virtual_groups.hpp>
|
virtual | ~ParameterGroup () |
|
void | SetRealsFrom (YAML::Node const &node) |
|
void | SetPar (std::string const &name, Real value) |
| Set real parameter. More...
|
|
void | SetPar (std::string const &name, int value) |
| Set int parameter. More...
|
|
void | SetPar (std::string const &name, std::string const &value) |
| Set string parameter. More...
|
|
template<typename T > |
T | GetPar (std::string const &name) const |
| Get parameter. More...
|
|
bool | HasPar (std::string const &name) const |
| Check if a parameter exists. More...
|
|
template<> |
int | GetPar (std::string const &name) const |
|
template<> |
Real | GetPar (std::string const &name) const |
|
Definition at line 47 of file virtual_groups.hpp.
◆ ~ParameterGroup()
virtual ParameterGroup::~ParameterGroup |
( |
| ) |
|
|
inlinevirtual |
◆ SetRealsFrom()
void ParameterGroup::SetRealsFrom |
( |
YAML::Node const & |
node | ) |
|
|
inline |
◆ SetPar() [1/3]
void ParameterGroup::SetPar |
( |
std::string const & |
name, |
|
|
Real |
value |
|
) |
| |
|
inline |
◆ SetPar() [2/3]
void ParameterGroup::SetPar |
( |
std::string const & |
name, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ SetPar() [3/3]
void ParameterGroup::SetPar |
( |
std::string const & |
name, |
|
|
std::string const & |
value |
|
) |
| |
|
inline |
◆ GetPar() [1/3]
template<typename T >
T ParameterGroup::GetPar |
( |
std::string const & |
name | ) |
const |
◆ HasPar()
bool ParameterGroup::HasPar |
( |
std::string const & |
name | ) |
const |
|
inline |
◆ GetPar() [2/3]
template<>
int ParameterGroup::GetPar |
( |
std::string const & |
name | ) |
const |
|
inline |
◆ GetPar() [3/3]
template<>
Real ParameterGroup::GetPar |
( |
std::string const & |
name | ) |
const |
|
inline |
◆ params_real_
std::unordered_map<std::string, Real> ParameterGroup::params_real_ |
|
private |
◆ params_int_
std::unordered_map<std::string, int> ParameterGroup::params_int_ |
|
private |
◆ params_str_
std::unordered_map<std::string, std::string> ParameterGroup::params_str_ |
|
private |
The documentation for this class was generated from the following file: