27#ifndef NIDAS_CORE_XDOM_H
28#define NIDAS_CORE_XDOM_H
32#include <xercesc/dom/DOMElement.hpp>
33#include <xercesc/dom/DOMAttr.hpp>
34#include <xercesc/dom/DOMTypeInfo.hpp>
39namespace nidas {
namespace core {
65 std::map<std::string,std::string>::const_iterator ai =
_attrs.find(aname);
73 std::pair<const std::string,const std::string>
85 _elemNonConst->setAttribute((
const XMLCh*)aname,(
const XMLCh*)aval);
99 std::map<std::string,std::string>
_attrs;
Class providing convienence methods to access the string attributes of a DOMAttr.
Definition XDOM.h:116
const std::string & getValue() const
Definition XDOM.h:125
const std::string & getName() const
Definition XDOM.h:124
std::string _value
Definition XDOM.h:129
std::string _name
Definition XDOM.h:128
XDOMAttr(const xercesc::DOMAttr *a)
Definition XDOM.h:118
XDOMAttr & operator=(const XDOMAttr &)
No assignment.
XDOMAttr(const XDOMAttr &)
No copying.
const xercesc::DOMAttr * _attr
Definition XDOM.h:127
Wrapper class providing convienence methods to access the string attributes of a DOMElement.
Definition XDOM.h:45
const std::string & getAttributeValue(const std::string &aname)
Definition XDOM.h:64
const xercesc::DOMElement * getElement() const
Definition XDOM.h:92
void setAttributeValue(const std::string &name, const std::string &val)
Definition XDOM.h:80
XDOMElement(xercesc::DOMElement *e)
Definition XDOM.h:54
std::string _nodetype
Definition XDOM.h:103
XDOMElement(const xercesc::DOMElement *e)
Definition XDOM.h:47
const std::string & getNodeType() const
Definition XDOM.h:90
std::string _nodename
Definition XDOM.h:101
XDOMElement & operator=(const XDOMElement &)
No assignment.
const std::string & getNodeName() const
Definition XDOM.h:88
XDOMElement(const XDOMElement &)
No copying.
xercesc::DOMElement * _elemNonConst
Definition XDOM.h:97
std::map< std::string, std::string > _attrs
Definition XDOM.h:99
const xercesc::DOMElement * _elemConst
Definition XDOM.h:95
Class providing conversions between string and XMLCh* using the Xerces-c transcode and release method...
Definition XMLStringConverter.h:38
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31