nidas
v1.2-1520
|
A catalog of dsm DOMElements, implemented with std::map, containing dsm DOMElements, keyed by the ID attributes. More...
#include <ServiceCatalog.h>
Public Member Functions | |
ServiceCatalog () | |
ServiceCatalog (const ServiceCatalog &) | |
~ServiceCatalog () | |
ServiceCatalog & | operator= (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 |
A catalog of dsm DOMElements, implemented with std::map, containing dsm DOMElements, keyed by the ID attributes.
ServiceCatalog::ServiceCatalog | ( | ) |
ServiceCatalog::ServiceCatalog | ( | const ServiceCatalog & | x | ) |
ServiceCatalog::~ServiceCatalog | ( | ) |
const xercesc::DOMElement * ServiceCatalog::find | ( | const std::string & | id | ) | const |
References _services.
Referenced by nidas::core::DSMService::fromDOMElement().
|
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().
|
inlinestaticinherited |
References nidas::core::DOMable::namespaceURI.
Referenced by nidas::dynld::UDPSampleOutput::getProjectDOM(), nidas::core::Dataset::toDOMElement(), nidas::core::ProjectConfig::toDOMElement(), nidas::core::Dataset::toDOMParent(), nidas::core::ProjectConfig::toDOMParent(), nidas::core::Datasets::toDOMParent(), nidas::core::ProjectConfigs::toDOMParent(), nidas::core::DSMConfig::toDOMParent(), nidas::core::Project::toDOMParent(), nidas::core::Site::toDOMParent(), nidas::core::SampleTag::toDOMParent(), nidas::core::ServerSocket::toDOMParent(), nidas::core::Variable::toDOMParent(), nidas::core::DSMSensor::toDOMParent(), nidas::core::Datasets::writeXML(), and nidas::core::ProjectConfigs::writeXML().
ServiceCatalog & ServiceCatalog::operator= | ( | const ServiceCatalog & | rhs | ) |
References _services.
|
inline |
References _services.
|
virtualinherited |
Add my content into a DOMElement.
Reimplemented in nidas::core::DSMSensor, nidas::core::Variable, nidas::core::ServerSocket, nidas::core::SampleTag, nidas::core::Site, nidas::core::Project, and nidas::core::DSMConfig.
Referenced by nidas::core::ServerSocket::toDOMParent().
|
virtualinherited |
Create a DOMElement and append it to the parent.
Reimplemented in nidas::core::DSMSensor, nidas::core::Variable, nidas::core::ServerSocket, nidas::core::SampleTag, nidas::core::Site, nidas::core::Project, and nidas::core::DSMConfig.
|
private |
Referenced by find(), operator=(), and operator[]().