242 lines
24 KiB
HTML
242 lines
24 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||
|
<title>XQilla DOM Level 3 API: DOMNode.hpp Source File</title>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||
|
</head><body>
|
||
|
<!-- Generated by Doxygen 1.4.6 -->
|
||
|
<div class="tabs">
|
||
|
<ul>
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li><a href="classes.html"><span>Classes</span></a></li>
|
||
|
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul></div>
|
||
|
<div class="tabs">
|
||
|
<ul>
|
||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
||
|
</ul></div>
|
||
|
<h1>DOMNode.hpp</h1><a href="DOMNode_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef DOMNode_HEADER_GUARD_</span>
|
||
|
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DOMNode_HEADER_GUARD_</span>
|
||
|
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||
|
<a name="l00004"></a>00004 <span class="comment">/*</span>
|
||
|
<a name="l00005"></a>00005 <span class="comment"> * Copyright 2001-2002,2004 The Apache Software Foundation.</span>
|
||
|
<a name="l00006"></a>00006 <span class="comment"> * </span>
|
||
|
<a name="l00007"></a>00007 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
|
||
|
<a name="l00008"></a>00008 <span class="comment"> * you may not use this file except in compliance with the License.</span>
|
||
|
<a name="l00009"></a>00009 <span class="comment"> * You may obtain a copy of the License at</span>
|
||
|
<a name="l00010"></a>00010 <span class="comment"> * </span>
|
||
|
<a name="l00011"></a>00011 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
||
|
<a name="l00012"></a>00012 <span class="comment"> * </span>
|
||
|
<a name="l00013"></a>00013 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
||
|
<a name="l00014"></a>00014 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
||
|
<a name="l00015"></a>00015 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
||
|
<a name="l00016"></a>00016 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
||
|
<a name="l00017"></a>00017 <span class="comment"> * limitations under the License.</span>
|
||
|
<a name="l00018"></a>00018 <span class="comment"> */</span>
|
||
|
<a name="l00019"></a>00019
|
||
|
<a name="l00020"></a>00020 <span class="comment">/*</span>
|
||
|
<a name="l00021"></a>00021 <span class="comment"> * $Id: DOMNode.hpp 176294 2005-01-20 17:36:18Z cargilld $</span>
|
||
|
<a name="l00022"></a>00022 <span class="comment"> */</span>
|
||
|
<a name="l00023"></a>00023
|
||
|
<a name="l00024"></a>00024 <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span>
|
||
|
<a name="l00025"></a>00025
|
||
|
<a name="l00026"></a>00026 XERCES_CPP_NAMESPACE_BEGIN
|
||
|
<a name="l00027"></a>00027
|
||
|
<a name="l00028"></a>00028
|
||
|
<a name="l00029"></a>00029 <span class="keyword">class </span>DOMDocument;
|
||
|
<a name="l00030"></a>00030 <span class="keyword">class </span>DOMNamedNodeMap;
|
||
|
<a name="l00031"></a>00031 <span class="keyword">class </span>DOMNodeList;
|
||
|
<a name="l00032"></a>00032 <span class="keyword">class </span>DOMUserDataHandler;
|
||
|
<a name="l00033"></a>00033
|
||
|
<a name="l00138"></a><a class="code" href="classxercesc_1_1DOMNode.html">00138</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> {
|
||
|
<a name="l00139"></a>00139 <span class="keyword">protected</span>:
|
||
|
<a name="l00140"></a>00140 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00141"></a>00141 <span class="comment">// Hidden constructors</span>
|
||
|
<a name="l00142"></a>00142 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00145"></a><a class="code" href="classxercesc_1_1DOMNode.html#10dd1ae818ce0ddf258a5f27771bb68d">00145</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>() {}
|
||
|
<a name="l00146"></a><a class="code" href="classxercesc_1_1DOMNode.html#1ede20b1068cef86c2b74b4c0ac1e958">00146</a> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> &) {}
|
||
|
<a name="l00148"></a>00148
|
||
|
<a name="l00149"></a>00149 <span class="keyword">private</span>:
|
||
|
<a name="l00150"></a>00150 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00151"></a>00151 <span class="comment">// Unimplemented constructors and operators</span>
|
||
|
<a name="l00152"></a>00152 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00155"></a>00155 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> & operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> &);
|
||
|
<a name="l00157"></a>00157
|
||
|
<a name="l00158"></a>00158 <span class="keyword">public</span>:
|
||
|
<a name="l00159"></a>00159 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00160"></a>00160 <span class="comment">// All constructors are hidden, just the destructor is available</span>
|
||
|
<a name="l00161"></a>00161 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00168"></a><a class="code" href="classxercesc_1_1DOMNode.html#ee64d231b5a95de008f0400698ecd153">00168</a> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>() {};
|
||
|
<a name="l00170"></a>00170
|
||
|
<a name="l00171"></a>00171 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00172"></a>00172 <span class="comment">// Class Types</span>
|
||
|
<a name="l00173"></a>00173 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00181"></a><a class="code" href="classxercesc_1_1DOMNode.html#a84ca6bc1ed4fe13540ed4972918392b">00181</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMNode.html#a84ca6bc1ed4fe13540ed4972918392b">NodeType</a> {
|
||
|
<a name="l00182"></a>00182 ELEMENT_NODE = 1,
|
||
|
<a name="l00183"></a>00183 ATTRIBUTE_NODE = 2,
|
||
|
<a name="l00184"></a>00184 TEXT_NODE = 3,
|
||
|
<a name="l00185"></a>00185 CDATA_SECTION_NODE = 4,
|
||
|
<a name="l00186"></a>00186 ENTITY_REFERENCE_NODE = 5,
|
||
|
<a name="l00187"></a>00187 ENTITY_NODE = 6,
|
||
|
<a name="l00188"></a>00188 PROCESSING_INSTRUCTION_NODE = 7,
|
||
|
<a name="l00189"></a>00189 COMMENT_NODE = 8,
|
||
|
<a name="l00190"></a>00190 DOCUMENT_NODE = 9,
|
||
|
<a name="l00191"></a>00191 DOCUMENT_TYPE_NODE = 10,
|
||
|
<a name="l00192"></a>00192 DOCUMENT_FRAGMENT_NODE = 11,
|
||
|
<a name="l00193"></a>00193 NOTATION_NODE = 12
|
||
|
<a name="l00194"></a>00194 };
|
||
|
<a name="l00195"></a>00195
|
||
|
<a name="l00222"></a><a class="code" href="classxercesc_1_1DOMNode.html#8b8d9ff96cf0310724ac18df202673f4">00222</a> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMNode.html#8b8d9ff96cf0310724ac18df202673f4">DOMTreePosition</a> {
|
||
|
<a name="l00223"></a>00223 TREE_POSITION_PRECEDING = 0x01,
|
||
|
<a name="l00224"></a>00224 TREE_POSITION_FOLLOWING = 0x02,
|
||
|
<a name="l00225"></a>00225 TREE_POSITION_ANCESTOR = 0x04,
|
||
|
<a name="l00226"></a>00226 TREE_POSITION_DESCENDANT = 0x08,
|
||
|
<a name="l00227"></a>00227 TREE_POSITION_EQUIVALENT = 0x10,
|
||
|
<a name="l00228"></a>00228 TREE_POSITION_SAME_NODE = 0x20,
|
||
|
<a name="l00229"></a>00229 TREE_POSITION_DISCONNECTED = 0x00
|
||
|
<a name="l00230"></a>00230 };
|
||
|
<a name="l00232"></a>00232
|
||
|
<a name="l00233"></a>00233 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00234"></a>00234 <span class="comment">// Virtual DOMNode interface</span>
|
||
|
<a name="l00235"></a>00235 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00238"></a>00238 <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00239"></a>00239 <span class="comment">// Getter methods</span>
|
||
|
<a name="l00240"></a>00240 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00245"></a>00245 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getNodeName() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00246"></a>00246
|
||
|
<a name="l00254"></a>00254 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getNodeValue() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00255"></a>00255
|
||
|
<a name="l00260"></a>00260 <span class="keyword">virtual</span> <span class="keywordtype">short</span> getNodeType() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00261"></a>00261
|
||
|
<a name="l00272"></a>00272 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getParentNode() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00273"></a>00273
|
||
|
<a name="l00288"></a>00288 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> *getChildNodes() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00295"></a>00295 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getFirstChild() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00296"></a>00296
|
||
|
<a name="l00303"></a>00303 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getLastChild() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00304"></a>00304
|
||
|
<a name="l00311"></a>00311 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getPreviousSibling() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00312"></a>00312
|
||
|
<a name="l00319"></a>00319 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getNextSibling() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00320"></a>00320
|
||
|
<a name="l00326"></a>00326 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a> *getAttributes() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00327"></a>00327
|
||
|
<a name="l00339"></a>00339 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *getOwnerDocument() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00340"></a>00340
|
||
|
<a name="l00341"></a>00341 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00342"></a>00342 <span class="comment">// Node methods</span>
|
||
|
<a name="l00343"></a>00343 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00363"></a>00363 <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> * cloneNode(<span class="keywordtype">bool</span> deep) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00364"></a>00364
|
||
|
<a name="l00392"></a>00392 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *insertBefore(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newChild,
|
||
|
<a name="l00393"></a>00393 <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refChild) = 0;
|
||
|
<a name="l00394"></a>00394
|
||
|
<a name="l00395"></a>00395
|
||
|
<a name="l00419"></a>00419 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *replaceChild(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newChild,
|
||
|
<a name="l00420"></a>00420 <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *oldChild) = 0;
|
||
|
<a name="l00433"></a>00433 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *removeChild(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *oldChild) = 0;
|
||
|
<a name="l00434"></a>00434
|
||
|
<a name="l00455"></a>00455 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *appendChild(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newChild) = 0;
|
||
|
<a name="l00456"></a>00456
|
||
|
<a name="l00457"></a>00457 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00458"></a>00458 <span class="comment">// Query methods</span>
|
||
|
<a name="l00459"></a>00459 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00468"></a>00468 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasChildNodes() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00469"></a>00469
|
||
|
<a name="l00470"></a>00470 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00471"></a>00471 <span class="comment">// Setter methods</span>
|
||
|
<a name="l00472"></a>00472 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00488"></a>00488 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNodeValue(<span class="keyword">const</span> XMLCh *nodeValue) = 0;
|
||
|
<a name="l00490"></a>00490
|
||
|
<a name="l00513"></a>00513 <span class="keyword">virtual</span> <span class="keywordtype">void</span> normalize() = 0;
|
||
|
<a name="l00514"></a>00514
|
||
|
<a name="l00530"></a>00530 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isSupported(<span class="keyword">const</span> XMLCh *feature,
|
||
|
<a name="l00531"></a>00531 <span class="keyword">const</span> XMLCh *version) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00532"></a>00532
|
||
|
<a name="l00548"></a>00548 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getNamespaceURI() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00549"></a>00549
|
||
|
<a name="l00556"></a>00556 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getPrefix() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00557"></a>00557
|
||
|
<a name="l00567"></a>00567 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getLocalName() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00568"></a>00568
|
||
|
<a name="l00602"></a>00602 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPrefix(<span class="keyword">const</span> XMLCh * prefix) = 0;
|
||
|
<a name="l00603"></a>00603
|
||
|
<a name="l00610"></a>00610 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasAttributes() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00612"></a>00612
|
||
|
<a name="l00632"></a>00632 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isSameNode(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* other) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00633"></a>00633
|
||
|
<a name="l00676"></a>00676 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isEqualNode(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* arg) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00677"></a>00677
|
||
|
<a name="l00678"></a>00678
|
||
|
<a name="l00706"></a>00706 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* setUserData(<span class="keyword">const</span> XMLCh* key,
|
||
|
<a name="l00707"></a>00707 <span class="keywordtype">void</span>* data,
|
||
|
<a name="l00708"></a>00708 <a class="code" href="classxercesc_1_1DOMUserDataHandler.html">DOMUserDataHandler</a>* handler) = 0;
|
||
|
<a name="l00709"></a>00709
|
||
|
<a name="l00723"></a>00723 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getUserData(<span class="keyword">const</span> XMLCh* key) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00724"></a>00724
|
||
|
<a name="l00725"></a>00725
|
||
|
<a name="l00744"></a>00744 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getBaseURI() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00745"></a>00745
|
||
|
<a name="l00758"></a>00758 <span class="keyword">virtual</span> <span class="keywordtype">short</span> compareTreePosition(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* other) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00759"></a>00759
|
||
|
<a name="l00803"></a>00803 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getTextContent() <span class="keyword">const </span>= 0;
|
||
|
<a name="l00804"></a>00804
|
||
|
<a name="l00818"></a>00818 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTextContent(<span class="keyword">const</span> XMLCh* textContent) = 0;
|
||
|
<a name="l00819"></a>00819
|
||
|
<a name="l00837"></a>00837 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* lookupNamespacePrefix(<span class="keyword">const</span> XMLCh* namespaceURI,
|
||
|
<a name="l00838"></a>00838 <span class="keywordtype">bool</span> useDefault) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00839"></a>00839
|
||
|
<a name="l00851"></a>00851 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isDefaultNamespace(<span class="keyword">const</span> XMLCh* namespaceURI) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00852"></a>00852
|
||
|
<a name="l00866"></a>00866 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* lookupNamespaceURI(<span class="keyword">const</span> XMLCh* prefix) <span class="keyword">const </span>= 0;
|
||
|
<a name="l00867"></a>00867
|
||
|
<a name="l00884"></a>00884 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* getInterface(<span class="keyword">const</span> XMLCh* feature) = 0;
|
||
|
<a name="l00886"></a>00886
|
||
|
<a name="l00887"></a>00887 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00888"></a>00888 <span class="comment">// Non-standard Extension</span>
|
||
|
<a name="l00889"></a>00889 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00905"></a>00905 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
|
||
|
<a name="l00907"></a>00907 <span class="preprocessor">#if defined(XML_DOMREFCOUNT_EXPERIMENTAL)</span>
|
||
|
<a name="l00908"></a>00908 <span class="preprocessor"></span> <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00909"></a>00909 <span class="comment">// Non-standard Extension</span>
|
||
|
<a name="l00910"></a>00910 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00920"></a>00920 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> decRefCount() {}
|
||
|
<a name="l00922"></a>00922
|
||
|
<a name="l00923"></a>00923 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00924"></a>00924 <span class="comment">// Non-standard Extension</span>
|
||
|
<a name="l00925"></a>00925 <span class="comment">// -----------------------------------------------------------------------</span>
|
||
|
<a name="l00932"></a>00932 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> incRefCount() {}
|
||
|
<a name="l00934"></a>00934 <span class="preprocessor">#endif</span>
|
||
|
<a name="l00935"></a>00935 <span class="preprocessor"></span>};
|
||
|
<a name="l00936"></a>00936
|
||
|
<a name="l00937"></a>00937 <span class="comment">/***</span>
|
||
|
<a name="l00938"></a>00938 <span class="comment"> * Utilities macros for getting memory manager within DOM</span>
|
||
|
<a name="l00939"></a>00939 <span class="comment">***/</span>
|
||
|
<a name="l00940"></a><a class="code" href="DOMNode_8hpp.html#40e9d272746e382ec4a37429913f8ea5">00940</a> <span class="preprocessor">#define GET_OWNER_DOCUMENT(ptr) \</span>
|
||
|
<a name="l00941"></a>00941 <span class="preprocessor"> ((DOMDocumentImpl*)(ptr->getOwnerDocument()))</span>
|
||
|
<a name="l00942"></a>00942 <span class="preprocessor"></span>
|
||
|
<a name="l00943"></a><a class="code" href="DOMNode_8hpp.html#151af8d7b4791f7e848f9f3713b8efbd">00943</a> <span class="preprocessor">#define GET_DIRECT_MM(ptr) \</span>
|
||
|
<a name="l00944"></a>00944 <span class="preprocessor"> ptr ? ((DOMDocumentImpl*)ptr)->getMemoryManager() : XMLPlatformUtils::fgMemoryManager </span>
|
||
|
<a name="l00945"></a>00945 <span class="preprocessor"></span>
|
||
|
<a name="l00946"></a><a class="code" href="DOMNode_8hpp.html#72f6f4902be5326c33675dcd94ec2c6a">00946</a> <span class="preprocessor">#define GET_INDIRECT_MM(ptr) \</span>
|
||
|
<a name="l00947"></a>00947 <span class="preprocessor"> !ptr ? XMLPlatformUtils::fgMemoryManager : \</span>
|
||
|
<a name="l00948"></a>00948 <span class="preprocessor"> GET_OWNER_DOCUMENT(ptr) ? GET_OWNER_DOCUMENT(ptr)->getMemoryManager() : \</span>
|
||
|
<a name="l00949"></a>00949 <span class="preprocessor"> XMLPlatformUtils::fgMemoryManager</span>
|
||
|
<a name="l00950"></a>00950 <span class="preprocessor"></span>
|
||
|
<a name="l00951"></a>00951 <span class="comment">/***</span>
|
||
|
<a name="l00952"></a>00952 <span class="comment"> * For DOMNode and its derivatives</span>
|
||
|
<a name="l00953"></a>00953 <span class="comment">***/</span>
|
||
|
<a name="l00954"></a><a class="code" href="DOMNode_8hpp.html#5b78c1ce54a287dddf516818ddb277c3">00954</a> <span class="preprocessor">#define GetDOMNodeMemoryManager GET_INDIRECT_MM(this)</span>
|
||
|
<a name="l00955"></a>00955 <span class="preprocessor"></span>
|
||
|
<a name="l00956"></a>00956 XERCES_CPP_NAMESPACE_END
|
||
|
<a name="l00957"></a>00957
|
||
|
<a name="l00958"></a>00958 <span class="preprocessor">#endif</span>
|
||
|
<a name="l00959"></a>00959 <span class="preprocessor"></span>
|
||
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:01 2006 for XQilla DOM Level 3 API by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
||
|
</body>
|
||
|
</html>
|