nidas  v1.2-1520
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
nidas::core::ServiceCatalog Class Reference

A catalog of dsm DOMElements, implemented with std::map, containing dsm DOMElements, keyed by the ID attributes. More...

#include <ServiceCatalog.h>

Inheritance diagram for nidas::core::ServiceCatalog:
Inheritance graph
[legend]

Public Member Functions

 ServiceCatalog ()
 
 ServiceCatalog (const ServiceCatalog &)
 
 ~ServiceCatalog ()
 
ServiceCatalogoperator= (const ServiceCatalog &)
 
xercesc::DOMElement *& operator[] (const std::string &id)
 
const xercesc::DOMElement * find (const std::string &id) const
 
void fromDOMElement (const xercesc::DOMElement *) throw (nidas::util::InvalidParameterException)
 Initialize myself from a xercesc::DOMElement. More...
 
virtual xercesc::DOMElement * toDOMParent (xercesc::DOMElement *parent, bool complete) const throw (xercesc::DOMException)
 Create a DOMElement and append it to the parent. More...
 
virtual xercesc::DOMElement * toDOMElement (xercesc::DOMElement *node, bool complete) const throw (xercesc::DOMException)
 Add my content into a DOMElement. More...
 

Static Public Member Functions

static const XMLCh * getNamespaceURI ()
 

Private Attributes

std::map< std::string,
xercesc::DOMElement * > 
_services
 

Detailed Description

A catalog of dsm DOMElements, implemented with std::map, containing dsm DOMElements, keyed by the ID attributes.

Constructor & Destructor Documentation

ServiceCatalog::ServiceCatalog ( )
ServiceCatalog::ServiceCatalog ( const ServiceCatalog x)
ServiceCatalog::~ServiceCatalog ( )

Member Function Documentation

const xercesc::DOMElement * ServiceCatalog::find ( const std::string &  id) const
void ServiceCatalog::fromDOMElement ( const xercesc::DOMElement *  )
throw (nidas::util::InvalidParameterException
)
virtual

Initialize myself from a xercesc::DOMElement.

Implements nidas::core::DOMable.

References nidas::core::XDOMElement::getAttributeValue(), and nidas::core::XDOMElement::getNodeName().

Referenced by nidas::core::Project::fromDOMElement().

static const XMLCh* nidas::core::DOMable::getNamespaceURI ( )
inlinestaticinherited
ServiceCatalog & ServiceCatalog::operator= ( const ServiceCatalog rhs)

References _services.

xercesc::DOMElement*& nidas::core::ServiceCatalog::operator[] ( const std::string &  id)
inline

References _services.

xercesc::DOMElement * DOMable::toDOMElement ( xercesc::DOMElement *  node,
bool  complete 
) const
throw (xercesc::DOMException
)
virtualinherited
xercesc::DOMElement * DOMable::toDOMParent ( xercesc::DOMElement *  parent,
bool  complete 
) const
throw (xercesc::DOMException
)
virtualinherited

Member Data Documentation

std::map<std::string,xercesc::DOMElement*> nidas::core::ServiceCatalog::_services
private

Referenced by find(), operator=(), and operator[]().


The documentation for this class was generated from the following files: