|
| | ParameterSet () |
| |
| | ~ParameterSet () |
| |
| void | addInt (std::string name, int value) |
| |
| void | addDouble (std::string name, double value) |
| |
| void | addComplex (std::string name, std::complex< double > value) |
| |
| void | addString (std::string name, std::string value) |
| |
| void | addBool (std::string name, bool value) |
| |
| void | setInt (std::string name, int value) |
| |
| void | setDouble (std::string name, double value) |
| |
| void | setComplex (std::string name, std::complex< double > value) |
| |
| void | setString (std::string name, std::string value) |
| |
| void | setBool (std::string name, bool value) |
| |
| int | getInt (std::string name) const |
| |
| double | getDouble (std::string name) const |
| |
| std::complex< double > | getComplex (std::string name) const |
| |
| std::string | getString (std::string name) const |
| |
| bool | getBool (std::string name) const |
| |
| int | getNumInt () const |
| |
| int | getNumDouble () const |
| |
| int | getNumComplex () const |
| |
| int | getNumString () const |
| |
| int | getNumBool () const |
| |
| std::string | getIntName (int n) const |
| |
| std::string | getDoubleName (int n) const |
| |
| std::string | getComplexName (int n) const |
| |
| std::string | getStringName (int n) const |
| |
| std::string | getBoolName (int n) const |
| |
| int | getIntValue (int n) const |
| |
| double | getDoubleValue (int n) const |
| |
| std::complex< double > | getComplexValue (int n) const |
| |
| std::string | getStringValue (int n) const |
| |
| bool | getBoolValue (int n) const |
| |
| bool | intExists (std::string name) const |
| |
| bool | doubleExists (std::string name) const |
| |
| bool | complexExists (std::string name) const |
| |
| bool | stringExists (std::string name) const |
| |
| bool | boolExists (std::string name) const |
| |
| TBTK::Util::ParameterSet::ParameterSet |
( |
| ) |
|
| TBTK::Util::ParameterSet::~ParameterSet |
( |
| ) |
|
| void TBTK::Util::ParameterSet::addBool |
( |
std::string |
name, |
|
|
bool |
value |
|
) |
| |
| void TBTK::Util::ParameterSet::addComplex |
( |
std::string |
name, |
|
|
std::complex< double > |
value |
|
) |
| |
| void TBTK::Util::ParameterSet::addDouble |
( |
std::string |
name, |
|
|
double |
value |
|
) |
| |
| void TBTK::Util::ParameterSet::addInt |
( |
std::string |
name, |
|
|
int |
value |
|
) |
| |
| void TBTK::Util::ParameterSet::addString |
( |
std::string |
name, |
|
|
std::string |
value |
|
) |
| |
| bool TBTK::Util::ParameterSet::boolExists |
( |
std::string |
name | ) |
const |
Returns true if an boolean parameter with given name exists.
| bool TBTK::Util::ParameterSet::complexExists |
( |
std::string |
name | ) |
const |
Returns true if a complex parameter with given name exists.
| bool TBTK::Util::ParameterSet::doubleExists |
( |
std::string |
name | ) |
const |
Returns true if a double parameter with given name exists.
| bool TBTK::Util::ParameterSet::getBool |
( |
std::string |
name | ) |
const |
| std::string TBTK::Util::ParameterSet::getBoolName |
( |
int |
n | ) |
const |
| bool TBTK::Util::ParameterSet::getBoolValue |
( |
int |
n | ) |
const |
| complex< double > TBTK::Util::ParameterSet::getComplex |
( |
std::string |
name | ) |
const |
| std::string TBTK::Util::ParameterSet::getComplexName |
( |
int |
n | ) |
const |
| complex< double > TBTK::Util::ParameterSet::getComplexValue |
( |
int |
n | ) |
const |
| double TBTK::Util::ParameterSet::getDouble |
( |
std::string |
name | ) |
const |
| std::string TBTK::Util::ParameterSet::getDoubleName |
( |
int |
n | ) |
const |
| double TBTK::Util::ParameterSet::getDoubleValue |
( |
int |
n | ) |
const |
| int TBTK::Util::ParameterSet::getInt |
( |
std::string |
name | ) |
const |
| std::string TBTK::Util::ParameterSet::getIntName |
( |
int |
n | ) |
const |
| int TBTK::Util::ParameterSet::getIntValue |
( |
int |
n | ) |
const |
| int TBTK::Util::ParameterSet::getNumBool |
( |
| ) |
const |
Get number of boolean parameters.
| int TBTK::Util::ParameterSet::getNumComplex |
( |
| ) |
const |
Get number of complex parameters.
| int TBTK::Util::ParameterSet::getNumDouble |
( |
| ) |
const |
Get number of double parameters.
| int TBTK::Util::ParameterSet::getNumInt |
( |
| ) |
const |
Get number of integer parameters.
| int TBTK::Util::ParameterSet::getNumString |
( |
| ) |
const |
Get number of string parameters.
| string TBTK::Util::ParameterSet::getString |
( |
std::string |
name | ) |
const |
| std::string TBTK::Util::ParameterSet::getStringName |
( |
int |
n | ) |
const |
| string TBTK::Util::ParameterSet::getStringValue |
( |
int |
n | ) |
const |
| bool TBTK::Util::ParameterSet::intExists |
( |
std::string |
name | ) |
const |
Returns true if an integer parameter with given name exists.
| void TBTK::Util::ParameterSet::setBool |
( |
std::string |
name, |
|
|
bool |
value |
|
) |
| |
Change boolean parameter.
| void TBTK::Util::ParameterSet::setComplex |
( |
std::string |
name, |
|
|
std::complex< double > |
value |
|
) |
| |
Change complex parameter.
| void TBTK::Util::ParameterSet::setDouble |
( |
std::string |
name, |
|
|
double |
value |
|
) |
| |
| void TBTK::Util::ParameterSet::setInt |
( |
std::string |
name, |
|
|
int |
value |
|
) |
| |
Change integer parameter.
| void TBTK::Util::ParameterSet::setString |
( |
std::string |
name, |
|
|
std::string |
value |
|
) |
| |
| bool TBTK::Util::ParameterSet::stringExists |
( |
std::string |
name | ) |
const |
Returns true if an string parameter with given name exists.
The documentation for this class was generated from the following files: