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)
DOMElement * DOMElementSPtr
Definition StDOMNode.hpp:89
DOMAttr * DOMAttrSPtr
Definition StDOMNode.hpp:79
DOMNode * DOMNodeSPtr
Definition StDOMNode.hpp:69
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition DOMElement.hpp:66
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition DOMNode.hpp:139
Definition StDOMNode.hpp:35
bool operator!=(T *node) const
Definition StDOMNode.hpp:56
T * operator->() const
Definition StDOMNode.hpp:61
T * operator=(T *node)
Definition StDOMNode.hpp:46
bool operator==(T *node) const
Definition StDOMNode.hpp:57
void ClearNode()
Definition StDOMNode.hpp:63
StDOMNode(const StDOMNode &stNode)
Definition StDOMNode.hpp:43
T & operator*()
Definition StDOMNode.hpp:59
~StDOMNode()
Definition StDOMNode.hpp:44
StDOMNode(T *node=(T *) 0)
Definition StDOMNode.hpp:42