|
BAT
0.9.4
The Bayesian analysis toolkit
|
Public Member Functions | |
| bool | Add (BCParameter *par) |
| void | Clear (bool) |
| BCParameter * | operator[] (unsigned index) const |
| BCParameter * | Get (unsigned index) const |
| BCParameter * | Get (const std::string &name) const |
| unsigned | Index (const std::string &name) const |
| unsigned | Size () const |
| bool | ValidIndex (unsigned index, const std::string caller="CheckIndex") const |
allow access by name into list of BCParameter.
Definition at line 28 of file BCParameterSet.h.
| bool BCParameterSet::Add | ( | BCParameter * | par | ) |
Add a parameter if no parameter of same name exists yet.
| par | Parameter |
Definition at line 19 of file BCParameterSet.cxx.
|
inline |
Safe access, but slightly less efficient access to parameter.
| index | Index gets checked. |
Definition at line 58 of file BCParameterSet.h.
|
inline |
Safe access, but slightly less efficient access to parameter.
| name | Look up name in list |
Definition at line 69 of file BCParameterSet.h.
| unsigned BCParameterSet::Index | ( | const std::string & | name | ) | const |
Find index of parameter identified by name
Definition at line 59 of file BCParameterSet.cxx.
|
inline |
Raw and fast access.
| index | Index |
Definition at line 47 of file BCParameterSet.h.
|
inline |
Number of parameters contained
Definition at line 82 of file BCParameterSet.h.
| bool BCParameterSet::ValidIndex | ( | unsigned | index, |
| const std::string | caller = "CheckIndex" |
||
| ) | const |
Check if indes is in range
| index | Index |
| caller | Optional string to identify caller for debug output |
Definition at line 48 of file BCParameterSet.cxx.