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