|
| 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 |
|
◆ ParameterSet()
TBTK::ParameterSet::ParameterSet |
( |
| ) |
|
◆ ~ParameterSet()
TBTK::ParameterSet::~ParameterSet |
( |
| ) |
|
◆ addBool()
void TBTK::ParameterSet::addBool |
( |
std::string |
name, |
|
|
bool |
value |
|
) |
| |
◆ addComplex()
void TBTK::ParameterSet::addComplex |
( |
std::string |
name, |
|
|
std::complex< double > |
value |
|
) |
| |
◆ addDouble()
void TBTK::ParameterSet::addDouble |
( |
std::string |
name, |
|
|
double |
value |
|
) |
| |
◆ addInt()
void TBTK::ParameterSet::addInt |
( |
std::string |
name, |
|
|
int |
value |
|
) |
| |
◆ addString()
void TBTK::ParameterSet::addString |
( |
std::string |
name, |
|
|
std::string |
value |
|
) |
| |
◆ boolExists()
bool TBTK::ParameterSet::boolExists |
( |
std::string |
name | ) |
const |
Returns true if an boolean parameter with given name exists.
◆ complexExists()
bool TBTK::ParameterSet::complexExists |
( |
std::string |
name | ) |
const |
Returns true if a complex parameter with given name exists.
◆ doubleExists()
bool TBTK::ParameterSet::doubleExists |
( |
std::string |
name | ) |
const |
Returns true if a double parameter with given name exists.
◆ getBool()
bool TBTK::ParameterSet::getBool |
( |
std::string |
name | ) |
const |
◆ getBoolName()
std::string TBTK::ParameterSet::getBoolName |
( |
int |
n | ) |
const |
◆ getBoolValue()
bool TBTK::ParameterSet::getBoolValue |
( |
int |
n | ) |
const |
◆ getComplex()
std::complex<double> TBTK::ParameterSet::getComplex |
( |
std::string |
name | ) |
const |
◆ getComplexName()
std::string TBTK::ParameterSet::getComplexName |
( |
int |
n | ) |
const |
◆ getComplexValue()
std::complex<double> TBTK::ParameterSet::getComplexValue |
( |
int |
n | ) |
const |
◆ getDouble()
double TBTK::ParameterSet::getDouble |
( |
std::string |
name | ) |
const |
◆ getDoubleName()
std::string TBTK::ParameterSet::getDoubleName |
( |
int |
n | ) |
const |
◆ getDoubleValue()
double TBTK::ParameterSet::getDoubleValue |
( |
int |
n | ) |
const |
◆ getInt()
int TBTK::ParameterSet::getInt |
( |
std::string |
name | ) |
const |
◆ getIntName()
std::string TBTK::ParameterSet::getIntName |
( |
int |
n | ) |
const |
◆ getIntValue()
int TBTK::ParameterSet::getIntValue |
( |
int |
n | ) |
const |
◆ getNumBool()
int TBTK::ParameterSet::getNumBool |
( |
| ) |
const |
Get number of boolean parameters.
◆ getNumComplex()
int TBTK::ParameterSet::getNumComplex |
( |
| ) |
const |
Get number of complex parameters.
◆ getNumDouble()
int TBTK::ParameterSet::getNumDouble |
( |
| ) |
const |
Get number of double parameters.
◆ getNumInt()
int TBTK::ParameterSet::getNumInt |
( |
| ) |
const |
Get number of integer parameters.
◆ getNumString()
int TBTK::ParameterSet::getNumString |
( |
| ) |
const |
Get number of string parameters.
◆ getString()
std::string TBTK::ParameterSet::getString |
( |
std::string |
name | ) |
const |
◆ getStringName()
std::string TBTK::ParameterSet::getStringName |
( |
int |
n | ) |
const |
◆ getStringValue()
std::string TBTK::ParameterSet::getStringValue |
( |
int |
n | ) |
const |
◆ intExists()
bool TBTK::ParameterSet::intExists |
( |
std::string |
name | ) |
const |
Returns true if an integer parameter with given name exists.
◆ setBool()
void TBTK::ParameterSet::setBool |
( |
std::string |
name, |
|
|
bool |
value |
|
) |
| |
Change boolean parameter.
◆ setComplex()
void TBTK::ParameterSet::setComplex |
( |
std::string |
name, |
|
|
std::complex< double > |
value |
|
) |
| |
Change complex parameter.
◆ setDouble()
void TBTK::ParameterSet::setDouble |
( |
std::string |
name, |
|
|
double |
value |
|
) |
| |
◆ setInt()
void TBTK::ParameterSet::setInt |
( |
std::string |
name, |
|
|
int |
value |
|
) |
| |
Change integer parameter.
◆ setString()
void TBTK::ParameterSet::setString |
( |
std::string |
name, |
|
|
std::string |
value |
|
) |
| |
◆ stringExists()
bool TBTK::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 file: