1 #ifndef __BCPARAMETERSET__H
2 #define __BCPARAMETERSET__H
60 return ValidIndex(index,
"Get") ? fPars[index] : NULL;
77 unsigned Index(
const std::string & name)
const;
83 {
return fPars.size(); }
91 bool ValidIndex(
unsigned index,
const std::string caller=
"CheckIndex")
const;
95 std::vector<BCParameter*> fPars;
BCParameter * Get(const std::string &name) const
BCParameter * operator[](unsigned index) const
bool Add(BCParameter *par)
bool ValidIndex(unsigned index, const std::string caller="CheckIndex") const
A class representing a parameter of a model.
unsigned Index(const std::string &name) const
BCParameter * Get(unsigned index) const