27 #ifndef NIDAS_CORE_DSMCATALOG_H
28 #define NIDAS_CORE_DSMCATALOG_H
34 namespace nidas {
namespace core {
61 const xercesc::DOMElement*
find(
const std::string&
id)
const;
68 throw(nidas::util::InvalidParameterException);
72 std::map<std::
string,xercesc::DOMElement*>
_dsms;
const xercesc::DOMElement * find(const std::string &id) const
Definition: DSMCatalog.cc:58
Interface of an object that can be instantiated from a DOM element, via the fromDOMElement method...
Definition: DOMable.h:51
void fromDOMElement(const xercesc::DOMElement *)
Build this DSMCatalog from a catalog element.
Definition: DSMCatalog.cc:66
~DSMCatalog()
Definition: DSMCatalog.cc:45
DSMCatalog & operator=(const DSMCatalog &)
Definition: DSMCatalog.cc:49
std::map< std::string, xercesc::DOMElement * > _dsms
Definition: DSMCatalog.h:72
xercesc::DOMElement *& operator[](const std::string &id)
Get or set a DOMElement in this catalog by the DSM name.
Definition: DSMCatalog.h:56
DSMCatalog()
Definition: DSMCatalog.cc:36
A catalog of DSM DOMElements, implemented with std::map, containing dsm DOMElements, keyed by the ID attributes.
Definition: DSMCatalog.h:41