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

Wrapper class providing convienence methods to access the string attributes of a DOMElement. More...

#include <XDOM.h>

Public Member Functions

 XDOMElement (const xercesc::DOMElement *e)
 
 XDOMElement (xercesc::DOMElement *e)
 
const std::string & getAttributeValue (const std::string &aname)
 
void setAttributeValue (const std::string &name, const std::string &val)
 
const std::string & getNodeName () const
 
const std::string & getNodeType () const
 
const xercesc::DOMElement * getElement () const
 

Private Member Functions

 XDOMElement (const XDOMElement &)
 No copying. More...
 
XDOMElementoperator= (const XDOMElement &)
 No assignment. More...
 

Private Attributes

const xercesc::DOMElement * _elemConst
 
xercesc::DOMElement * _elemNonConst
 
std::map< std::string,
std::string > 
_attrs
 
std::string _nodename
 
std::string _nodetype
 

Detailed Description

Wrapper class providing convienence methods to access the string attributes of a DOMElement.

Constructor & Destructor Documentation

nidas::core::XDOMElement::XDOMElement ( const xercesc::DOMElement *  e)
inline
nidas::core::XDOMElement::XDOMElement ( xercesc::DOMElement *  e)
inline
nidas::core::XDOMElement::XDOMElement ( const XDOMElement )
private

No copying.

Member Function Documentation

const std::string& nidas::core::XDOMElement::getAttributeValue ( const std::string &  aname)
inline
const xercesc::DOMElement* nidas::core::XDOMElement::getElement ( ) const
inline
const std::string& nidas::core::XDOMElement::getNodeName ( ) const
inline
const std::string& nidas::core::XDOMElement::getNodeType ( ) const
inline

References _nodetype.

XDOMElement& nidas::core::XDOMElement::operator= ( const XDOMElement )
private

No assignment.

void nidas::core::XDOMElement::setAttributeValue ( const std::string &  name,
const std::string &  val 
)
inline

Member Data Documentation

std::map<std::string,std::string> nidas::core::XDOMElement::_attrs
private
const xercesc::DOMElement* nidas::core::XDOMElement::_elemConst
private

Referenced by getAttributeValue(), and getElement().

xercesc::DOMElement* nidas::core::XDOMElement::_elemNonConst
private

Referenced by setAttributeValue().

std::string nidas::core::XDOMElement::_nodename
private

Referenced by getNodeName().

std::string nidas::core::XDOMElement::_nodetype
private

Referenced by getNodeType().


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