27 #ifndef NIDAS_CORE_SENSORCATALOG_H
28 #define NIDAS_CORE_SENSORCATALOG_H
34 namespace nidas {
namespace core {
57 const xercesc::DOMElement*
find(
const std::string&
id)
const;
64 throw(nidas::util::InvalidParameterException);
66 const std::map<std::
string,xercesc::DOMElement*>&
getMap()
const
71 std::map<std::string,xercesc::DOMElement*>
_sensors;
void fromDOMElement(const xercesc::DOMElement *)
Build this SensorCatalog from a catalog element.
Definition: SensorCatalog.cc:67
xercesc::DOMElement *& operator[](const std::string &id)
Definition: SensorCatalog.h:52
Interface of an object that can be instantiated from a DOM element, via the fromDOMElement method...
Definition: DOMable.h:51
SensorCatalog & operator=(const SensorCatalog &)
Definition: SensorCatalog.cc:50
const xercesc::DOMElement * find(const std::string &id) const
Definition: SensorCatalog.cc:59
std::map< std::string, xercesc::DOMElement * > _sensors
Definition: SensorCatalog.h:71
~SensorCatalog()
Definition: SensorCatalog.cc:46
const std::map< std::string, xercesc::DOMElement * > & getMap() const
Definition: SensorCatalog.h:66
SensorCatalog()
Definition: SensorCatalog.cc:36
A catalog of sensor DOMElements, implemented with std::map, containing sensor DOMElements, keyed by the ID attributes.
Definition: SensorCatalog.h:41