|
DP3
|
A map of parameter name to value set. More...
#include <ParmMap.h>
Public Member Functions | |
| ParmMap () | |
| Set up a map for the given domain in the ParmDB. More... | |
| void | clear () |
| Clear the map. More... | |
| void | define (const std::string &name, const ParmValueSet &pset) |
| Add or replace a ParmValueSet. More... | |
| bool | empty () const |
| Is the map empty? More... | |
| const ParmValueSet & | operator[] (const std::string &name) const |
| unsigned int | size () const |
| Return the size of the map. More... | |
| typedef std::map< std::string, ParmValueSet >::iterator | iterator |
| typedef std::map< std::string, ParmValueSet >::const_iterator | const_iterator |
| typedef std::map< std::string, ParmValueSet >::value_type | valueType |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| iterator | find (const std::string &name) |
| const_iterator | find (const std::string &name) const |
A map of parameter name to value set.
ParmMap holds a map of name to ParmValueSet. It is meant to hold the default values, but could be used for other purposes as well.
| typedef std::map<std::string, ParmValueSet>::const_iterator dp3::parmdb::ParmMap::const_iterator |
| typedef std::map<std::string, ParmValueSet>::iterator dp3::parmdb::ParmMap::iterator |
Iterator functionality.
| typedef std::map<std::string, ParmValueSet>::value_type dp3::parmdb::ParmMap::valueType |
|
inline |
Set up a map for the given domain in the ParmDB.
|
inline |
|
inline |
|
inline |
Clear the map.
|
inline |
Add or replace a ParmValueSet.
|
inline |
Is the map empty?
|
inline |
|
inline |
|
inline |
|
inline |
| const ParmValueSet& dp3::parmdb::ParmMap::operator[] | ( | const std::string & | name | ) | const |
Get the value belonging to the name. An exception is thrown if the value does not exist.
|
inline |
Return the size of the map.