|
DP3
|
Set of parameters to be used. More...
#include <ParmSet.h>
Public Member Functions | |
| ParmSet () | |
| ParmId | addParm (ParmDB &, const std::string &name) |
| void | clear () |
| Clear the ParmSet. More... | |
| ParmId | find (const std::string &name) const |
| const std::vector< ParmDB * > | getDBs () const |
| Get the ParmDBs used in the ParmSet. More... | |
| void | getValues (std::vector< ParmValueSet > &, const Box &workDomain) const |
| bool | isInParmDB (ParmId parmid) const |
| Does the parm already exist in the ParmDB? More... | |
| size_t | size () const |
| Get the nr of parameters. More... | |
| void | write (unsigned int parmId, ParmValueSet &) |
Set of parameters to be used.
| dp3::parmdb::ParmSet::ParmSet | ( | ) |
Create an empty ParmSet. It can be filled using function addParm.
| void dp3::parmdb::ParmSet::clear | ( | ) |
Clear the ParmSet.
| ParmId dp3::parmdb::ParmSet::find | ( | const std::string & | name | ) | const |
Find the parmid of a previously added parm. An exception is thrown if not existing in the ParmSet.
|
inline |
Get the ParmDBs used in the ParmSet.
| void dp3::parmdb::ParmSet::getValues | ( | std::vector< ParmValueSet > & | , |
| const Box & | workDomain | ||
| ) | const |
Get the values for the given work domain for all parameters that are not part of the given vector. It means that the vector gets extended for all parameters at the end of itsParms.
|
inline |
Does the parm already exist in the ParmDB?
|
inline |
| void dp3::parmdb::ParmSet::write | ( | unsigned int | parmId, |
| ParmValueSet & | |||
| ) |
Write the parm values for the given parmid. For parms with a new name, ParmKey::itsNameId will get filled in. For new values, the rowId in the ParmValueSet will be filled in.