22 #if !defined(XERCESC_INCLUDE_GUARD_STDOMNODE_HPP)
23 #define XERCESC_INCLUDE_GUARD_STDOMNODE_HPP
38 static inline void INCREFCOUNT(T *x) {
if (x != (T*)0) x->incRefCount(); }
39 static inline void DECREFCOUNT(T *x) {
if (x != (T*)0) x->decRefCount(); }
42 inline StDOMNode(T* node = (T*)0) : m_node(node) { INCREFCOUNT(m_node); }
56 inline bool operator!= (T* node)
const {
return (m_node != node); }
57 inline bool operator== (T* node)
const {
return (m_node == node); }
60 inline const T&
operator* ()
const {
return (*m_node); }
62 inline operator T*()
const {
return (m_node); }
66 #if defined(XML_DOMREFCOUNT_EXPERIMENTAL)
76 #if defined(XML_DOMREFCOUNT_EXPERIMENTAL)
86 #if defined(XML_DOMREFCOUNT_EXPERIMENTAL)
T & operator*()
Definition: StDOMNode.hpp:59
The DOMAttr class refers to an attribute of an XML element.
Definition: DOMAttr.hpp:57
DOMElement * DOMElementSPtr
Definition: StDOMNode.hpp:89
void ClearNode()
Definition: StDOMNode.hpp:63
StDOMNode(T *node=(T *) 0)
Definition: StDOMNode.hpp:42
~StDOMNode()
Definition: StDOMNode.hpp:44
T * operator=(T *node)
Definition: StDOMNode.hpp:46
Definition: StDOMNode.hpp:35
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: DOMElement.hpp:66
bool operator!=(T *node) const
Definition: StDOMNode.hpp:56
DOMAttr * DOMAttrSPtr
Definition: StDOMNode.hpp:79
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
StDOMNode(const StDOMNode &stNode)
Definition: StDOMNode.hpp:43
DOMNode * DOMNodeSPtr
Definition: StDOMNode.hpp:69
T * operator->() const
Definition: StDOMNode.hpp:61
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition: DOMNode.hpp:139
bool operator==(T *node) const
Definition: StDOMNode.hpp:57