243 lines
24 KiB
HTML
243 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 Simple API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.5.1 -->
|
|
<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"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
<a name="l00009"></a>00009 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
<a name="l00010"></a>00010 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * </span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * </span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
<a name="l00016"></a>00016 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
<a name="l00017"></a>00017 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
<a name="l00018"></a>00018 <span class="comment"> * limitations under the License.</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> */</span>
|
|
<a name="l00020"></a>00020
|
|
<a name="l00021"></a>00021 <span class="comment">/*</span>
|
|
<a name="l00022"></a>00022 <span class="comment"> * $Id: DOMNode.hpp 568078 2007-08-21 11:43:25Z amassari $</span>
|
|
<a name="l00023"></a>00023 <span class="comment"> */</span>
|
|
<a name="l00024"></a>00024
|
|
<a name="l00025"></a>00025 <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span>
|
|
<a name="l00026"></a>00026
|
|
<a name="l00027"></a>00027 XERCES_CPP_NAMESPACE_BEGIN
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029
|
|
<a name="l00030"></a>00030 <span class="keyword">class </span>DOMDocument;
|
|
<a name="l00031"></a>00031 <span class="keyword">class </span>DOMNamedNodeMap;
|
|
<a name="l00032"></a>00032 <span class="keyword">class </span>DOMNodeList;
|
|
<a name="l00033"></a>00033 <span class="keyword">class </span>DOMUserDataHandler;
|
|
<a name="l00034"></a>00034
|
|
<a name="l00139"></a><a class="code" href="classxercesc_1_1DOMNode.html">00139</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> {
|
|
<a name="l00140"></a>00140 <span class="keyword">protected</span>:
|
|
<a name="l00141"></a>00141 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00142"></a>00142 <span class="comment">// Hidden constructors</span>
|
|
<a name="l00143"></a>00143 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00146"></a><a class="code" href="classxercesc_1_1DOMNode.html#10dd1ae818ce0ddf258a5f27771bb68d">00146</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>() {}
|
|
<a name="l00147"></a><a class="code" href="classxercesc_1_1DOMNode.html#1ede20b1068cef86c2b74b4c0ac1e958">00147</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="l00149"></a>00149
|
|
<a name="l00150"></a>00150 <span class="keyword">private</span>:
|
|
<a name="l00151"></a>00151 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00152"></a>00152 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00153"></a>00153 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00156"></a>00156 <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="l00158"></a>00158
|
|
<a name="l00159"></a>00159 <span class="keyword">public</span>:
|
|
<a name="l00160"></a>00160 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00161"></a>00161 <span class="comment">// All constructors are hidden, just the destructor is available</span>
|
|
<a name="l00162"></a>00162 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00169"></a><a class="code" href="classxercesc_1_1DOMNode.html#ee64d231b5a95de008f0400698ecd153">00169</a> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>() {};
|
|
<a name="l00171"></a>00171
|
|
<a name="l00172"></a>00172 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00173"></a>00173 <span class="comment">// Class Types</span>
|
|
<a name="l00174"></a>00174 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00182"></a><a class="code" href="classxercesc_1_1DOMNode.html#a84ca6bc1ed4fe13540ed4972918392b">00182</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMNode.html#a84ca6bc1ed4fe13540ed4972918392b">NodeType</a> {
|
|
<a name="l00183"></a>00183 ELEMENT_NODE = 1,
|
|
<a name="l00184"></a>00184 ATTRIBUTE_NODE = 2,
|
|
<a name="l00185"></a>00185 TEXT_NODE = 3,
|
|
<a name="l00186"></a>00186 CDATA_SECTION_NODE = 4,
|
|
<a name="l00187"></a>00187 ENTITY_REFERENCE_NODE = 5,
|
|
<a name="l00188"></a>00188 ENTITY_NODE = 6,
|
|
<a name="l00189"></a>00189 PROCESSING_INSTRUCTION_NODE = 7,
|
|
<a name="l00190"></a>00190 COMMENT_NODE = 8,
|
|
<a name="l00191"></a>00191 DOCUMENT_NODE = 9,
|
|
<a name="l00192"></a>00192 DOCUMENT_TYPE_NODE = 10,
|
|
<a name="l00193"></a>00193 DOCUMENT_FRAGMENT_NODE = 11,
|
|
<a name="l00194"></a>00194 NOTATION_NODE = 12
|
|
<a name="l00195"></a>00195 };
|
|
<a name="l00196"></a>00196
|
|
<a name="l00223"></a><a class="code" href="classxercesc_1_1DOMNode.html#8b8d9ff96cf0310724ac18df202673f4">00223</a> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMNode.html#8b8d9ff96cf0310724ac18df202673f4">DOMTreePosition</a> {
|
|
<a name="l00224"></a>00224 TREE_POSITION_PRECEDING = 0x01,
|
|
<a name="l00225"></a>00225 TREE_POSITION_FOLLOWING = 0x02,
|
|
<a name="l00226"></a>00226 TREE_POSITION_ANCESTOR = 0x04,
|
|
<a name="l00227"></a>00227 TREE_POSITION_DESCENDANT = 0x08,
|
|
<a name="l00228"></a>00228 TREE_POSITION_EQUIVALENT = 0x10,
|
|
<a name="l00229"></a>00229 TREE_POSITION_SAME_NODE = 0x20,
|
|
<a name="l00230"></a>00230 TREE_POSITION_DISCONNECTED = 0x00
|
|
<a name="l00231"></a>00231 };
|
|
<a name="l00233"></a>00233
|
|
<a name="l00234"></a>00234 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00235"></a>00235 <span class="comment">// Virtual DOMNode interface</span>
|
|
<a name="l00236"></a>00236 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00239"></a>00239 <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00240"></a>00240 <span class="comment">// Getter methods</span>
|
|
<a name="l00241"></a>00241 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00246"></a>00246 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getNodeName() <span class="keyword">const </span>= 0;
|
|
<a name="l00247"></a>00247
|
|
<a name="l00255"></a>00255 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getNodeValue() <span class="keyword">const </span>= 0;
|
|
<a name="l00256"></a>00256
|
|
<a name="l00261"></a>00261 <span class="keyword">virtual</span> <span class="keywordtype">short</span> getNodeType() <span class="keyword">const </span>= 0;
|
|
<a name="l00262"></a>00262
|
|
<a name="l00273"></a>00273 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getParentNode() <span class="keyword">const </span>= 0;
|
|
<a name="l00274"></a>00274
|
|
<a name="l00289"></a>00289 <span class="keyword">virtual</span> DOMNodeList *getChildNodes() <span class="keyword">const </span>= 0;
|
|
<a name="l00296"></a>00296 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getFirstChild() <span class="keyword">const </span>= 0;
|
|
<a name="l00297"></a>00297
|
|
<a name="l00304"></a>00304 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getLastChild() <span class="keyword">const </span>= 0;
|
|
<a name="l00305"></a>00305
|
|
<a name="l00312"></a>00312 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getPreviousSibling() <span class="keyword">const </span>= 0;
|
|
<a name="l00313"></a>00313
|
|
<a name="l00320"></a>00320 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *getNextSibling() <span class="keyword">const </span>= 0;
|
|
<a name="l00321"></a>00321
|
|
<a name="l00327"></a>00327 <span class="keyword">virtual</span> DOMNamedNodeMap *getAttributes() <span class="keyword">const </span>= 0;
|
|
<a name="l00328"></a>00328
|
|
<a name="l00340"></a>00340 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *getOwnerDocument() <span class="keyword">const </span>= 0;
|
|
<a name="l00341"></a>00341
|
|
<a name="l00342"></a>00342 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00343"></a>00343 <span class="comment">// Node methods</span>
|
|
<a name="l00344"></a>00344 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00364"></a>00364 <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="l00365"></a>00365
|
|
<a name="l00393"></a>00393 <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="l00394"></a>00394 <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refChild) = 0;
|
|
<a name="l00395"></a>00395
|
|
<a name="l00396"></a>00396
|
|
<a name="l00420"></a>00420 <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="l00421"></a>00421 <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> *oldChild) = 0;
|
|
<a name="l00434"></a>00434 <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="l00435"></a>00435
|
|
<a name="l00456"></a>00456 <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="l00457"></a>00457
|
|
<a name="l00458"></a>00458 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00459"></a>00459 <span class="comment">// Query methods</span>
|
|
<a name="l00460"></a>00460 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00469"></a>00469 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasChildNodes() <span class="keyword">const </span>= 0;
|
|
<a name="l00470"></a>00470
|
|
<a name="l00471"></a>00471 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00472"></a>00472 <span class="comment">// Setter methods</span>
|
|
<a name="l00473"></a>00473 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00489"></a>00489 <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="l00491"></a>00491
|
|
<a name="l00514"></a>00514 <span class="keyword">virtual</span> <span class="keywordtype">void</span> normalize() = 0;
|
|
<a name="l00515"></a>00515
|
|
<a name="l00531"></a>00531 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isSupported(<span class="keyword">const</span> XMLCh *feature,
|
|
<a name="l00532"></a>00532 <span class="keyword">const</span> XMLCh *version) <span class="keyword">const </span>= 0;
|
|
<a name="l00533"></a>00533
|
|
<a name="l00549"></a>00549 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getNamespaceURI() <span class="keyword">const </span>= 0;
|
|
<a name="l00550"></a>00550
|
|
<a name="l00557"></a>00557 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getPrefix() <span class="keyword">const </span>= 0;
|
|
<a name="l00558"></a>00558
|
|
<a name="l00568"></a>00568 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getLocalName() <span class="keyword">const </span>= 0;
|
|
<a name="l00569"></a>00569
|
|
<a name="l00603"></a>00603 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPrefix(<span class="keyword">const</span> XMLCh * prefix) = 0;
|
|
<a name="l00604"></a>00604
|
|
<a name="l00611"></a>00611 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasAttributes() <span class="keyword">const </span>= 0;
|
|
<a name="l00613"></a>00613
|
|
<a name="l00633"></a>00633 <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="l00634"></a>00634
|
|
<a name="l00677"></a>00677 <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="l00678"></a>00678
|
|
<a name="l00679"></a>00679
|
|
<a name="l00707"></a>00707 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* setUserData(<span class="keyword">const</span> XMLCh* key,
|
|
<a name="l00708"></a>00708 <span class="keywordtype">void</span>* data,
|
|
<a name="l00709"></a>00709 DOMUserDataHandler* handler) = 0;
|
|
<a name="l00710"></a>00710
|
|
<a name="l00724"></a>00724 <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="l00725"></a>00725
|
|
<a name="l00726"></a>00726
|
|
<a name="l00745"></a>00745 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getBaseURI() <span class="keyword">const </span>= 0;
|
|
<a name="l00746"></a>00746
|
|
<a name="l00759"></a>00759 <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="l00760"></a>00760
|
|
<a name="l00804"></a>00804 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getTextContent() <span class="keyword">const </span>= 0;
|
|
<a name="l00805"></a>00805
|
|
<a name="l00819"></a>00819 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTextContent(<span class="keyword">const</span> XMLCh* textContent) = 0;
|
|
<a name="l00820"></a>00820
|
|
<a name="l00838"></a>00838 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* lookupNamespacePrefix(<span class="keyword">const</span> XMLCh* namespaceURI,
|
|
<a name="l00839"></a>00839 <span class="keywordtype">bool</span> useDefault) <span class="keyword">const </span>= 0;
|
|
<a name="l00840"></a>00840
|
|
<a name="l00852"></a>00852 <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="l00853"></a>00853
|
|
<a name="l00867"></a>00867 <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="l00868"></a>00868
|
|
<a name="l00885"></a>00885 <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="l00887"></a>00887
|
|
<a name="l00888"></a>00888 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00889"></a>00889 <span class="comment">// Non-standard Extension</span>
|
|
<a name="l00890"></a>00890 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00906"></a>00906 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
|
|
<a name="l00908"></a>00908 <span class="preprocessor">#if defined(XML_DOMREFCOUNT_EXPERIMENTAL)</span>
|
|
<a name="l00909"></a>00909 <span class="preprocessor"></span> <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00910"></a>00910 <span class="comment">// Non-standard Extension</span>
|
|
<a name="l00911"></a>00911 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00921"></a>00921 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> decRefCount() {}
|
|
<a name="l00923"></a>00923
|
|
<a name="l00924"></a>00924 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00925"></a>00925 <span class="comment">// Non-standard Extension</span>
|
|
<a name="l00926"></a>00926 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00933"></a>00933 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> incRefCount() {}
|
|
<a name="l00935"></a>00935 <span class="preprocessor">#endif</span>
|
|
<a name="l00936"></a>00936 <span class="preprocessor"></span>};
|
|
<a name="l00937"></a>00937
|
|
<a name="l00938"></a>00938 <span class="comment">/***</span>
|
|
<a name="l00939"></a>00939 <span class="comment"> * Utilities macros for getting memory manager within DOM</span>
|
|
<a name="l00940"></a>00940 <span class="comment">***/</span>
|
|
<a name="l00941"></a><a class="code" href="DOMNode_8hpp.html#40e9d272746e382ec4a37429913f8ea5">00941</a> <span class="preprocessor">#define GET_OWNER_DOCUMENT(ptr) \</span>
|
|
<a name="l00942"></a>00942 <span class="preprocessor"> ((DOMDocumentImpl*)(ptr->getOwnerDocument()))</span>
|
|
<a name="l00943"></a>00943 <span class="preprocessor"></span>
|
|
<a name="l00944"></a><a class="code" href="DOMNode_8hpp.html#151af8d7b4791f7e848f9f3713b8efbd">00944</a> <span class="preprocessor">#define GET_DIRECT_MM(ptr) \</span>
|
|
<a name="l00945"></a>00945 <span class="preprocessor"> ptr ? ((DOMDocumentImpl*)ptr)->getMemoryManager() : XMLPlatformUtils::fgMemoryManager </span>
|
|
<a name="l00946"></a>00946 <span class="preprocessor"></span>
|
|
<a name="l00947"></a><a class="code" href="DOMNode_8hpp.html#72f6f4902be5326c33675dcd94ec2c6a">00947</a> <span class="preprocessor">#define GET_INDIRECT_MM(ptr) \</span>
|
|
<a name="l00948"></a>00948 <span class="preprocessor"> !ptr ? XMLPlatformUtils::fgMemoryManager : \</span>
|
|
<a name="l00949"></a>00949 <span class="preprocessor"> GET_OWNER_DOCUMENT(ptr) ? GET_OWNER_DOCUMENT(ptr)->getMemoryManager() : \</span>
|
|
<a name="l00950"></a>00950 <span class="preprocessor"> XMLPlatformUtils::fgMemoryManager</span>
|
|
<a name="l00951"></a>00951 <span class="preprocessor"></span>
|
|
<a name="l00952"></a>00952 <span class="comment">/***</span>
|
|
<a name="l00953"></a>00953 <span class="comment"> * For DOMNode and its derivatives</span>
|
|
<a name="l00954"></a>00954 <span class="comment">***/</span>
|
|
<a name="l00955"></a><a class="code" href="DOMNode_8hpp.html#5b78c1ce54a287dddf516818ddb277c3">00955</a> <span class="preprocessor">#define GetDOMNodeMemoryManager GET_INDIRECT_MM(this)</span>
|
|
<a name="l00956"></a>00956 <span class="preprocessor"></span>
|
|
<a name="l00957"></a>00957 XERCES_CPP_NAMESPACE_END
|
|
<a name="l00958"></a>00958
|
|
<a name="l00959"></a>00959 <span class="preprocessor">#endif</span>
|
|
<a name="l00960"></a>00960 <span class="preprocessor"></span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 20:16:43 2007 for XQilla Simple API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
</body>
|
|
</html>
|