Go to the documentation of this file.
24 #ifndef COM_DAFER45_TBTK_PARAMETER_SET
25 #define COM_DAFER45_TBTK_PARAMETER_SET
43 void addInt(std::string name,
int value);
46 void addDouble(std::string name,
double value);
49 void addComplex(std::string name, std::complex<double> value);
52 void addString(std::string name, std::string value);
55 void addBool(std::string name,
bool value);
58 void setInt(std::string name,
int value);
61 void setDouble(std::string name,
double value);
64 void setComplex(std::string name, std::complex<double> value);
67 void setString(std::string name, std::string value);
70 void setBool(std::string name,
bool value);
73 int getInt(std::string name)
const;
79 std::complex<double>
getComplex(std::string name)
const;
82 std::string
getString(std::string name)
const;
85 bool getBool(std::string name)
const;
148 std::vector<std::tuple<std::string, int>> intParams;
151 std::vector<std::tuple<std::string, double>> doubleParams;
154 std::vector<std::tuple<std::string, std::complex<double>>> complexParams;
157 std::vector<std::tuple<std::string, std::string>> stringParams;
160 std::vector<std::tuple<std::string, bool>> boolParams;
bool intExists(std::string name) const
void addBool(std::string name, bool value)
bool getBoolValue(int n) const
void setInt(std::string name, int value)
Definition: ParameterSet.h:34
std::string getString(std::string name) const
int getNumComplex() const
std::string getStringName(int n) const
std::complex< double > getComplexValue(int n) const
void addString(std::string name, std::string value)
bool doubleExists(std::string name) const
void addInt(std::string name, int value)
void addComplex(std::string name, std::complex< double > value)
bool getBool(std::string name) const
std::complex< double > getComplex(std::string name) const
void setString(std::string name, std::string value)
std::string getStringValue(int n) const
std::string getBoolName(int n) const
bool boolExists(std::string name) const
void addDouble(std::string name, double value)
void setBool(std::string name, bool value)
std::string getIntName(int n) const
std::string getDoubleName(int n) const
double getDoubleValue(int n) const
void setComplex(std::string name, std::complex< double > value)
int getInt(std::string name) const
bool stringExists(std::string name) const
int getIntValue(int n) const
double getDouble(std::string name) const
void setDouble(std::string name, double value)
bool complexExists(std::string name) const
std::string getComplexName(int n) const