10 #ifndef GGSPARAMETERS_H_
11 #define GGSPARAMETERS_H_
43 template <
typename T>
void SetParam(
const std::string &name, T value);
51 template <
class T> T
GetParam(
const std::string &name)
const;
76 std::map<std::string, int> _intParams;
77 std::map<std::string, double> _doubleParams;
78 std::map<std::string, std::string> _stringParams;
79 std::map<std::string, bool> _boolParams;
80 std::map<std::string, std::vector<int>> _vectIntParams;
81 std::map<std::string, std::vector<double>> _vectDoubleParams;
82 std::map<std::string, std::vector<std::string>> _vectStringParams;
83 std::map<std::string, std::vector<bool>> _vectBoolParams;
bool AreSameParamsAs(const GGSParameters ¶ms) const
Compares two parameter objects.
T GetParam(const std::string &name) const
Gets a parameter.
void SetParam(const std::string &name, T value)
Sets a parameter.
Class for storing parameters.
GGSParameters & operator=(const GGSParameters &rhs)
Assignment operator.
GGSParameters()
Default constructor.