XQuilla/docs/dom3-api/DOMTreeWalker_8hpp-source.html
2020-02-17 22:05:20 +01:00

122 lines
11 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: DOMTreeWalker.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&nbsp;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&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>DOMTreeWalker.hpp</h1><a href="DOMTreeWalker_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 DOMTreeWalker_HEADER_GUARD_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DOMTreeWalker_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: DOMTreeWalker.hpp 176280 2005-01-07 15:32:34Z amassari $</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;<a class="code" href="DOMNode_8hpp.html">xercesc/dom/DOMNode.hpp</a>&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="DOMNodeFilter_8hpp.html">xercesc/dom/DOMNodeFilter.hpp</a>&gt;</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="l00049"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html">00049</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> {
<a name="l00050"></a>00050 <span class="keyword">protected</span>:
<a name="l00051"></a>00051 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00052"></a>00052 <span class="comment">// Hidden constructors</span>
<a name="l00053"></a>00053 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00056"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html#172d8748dcc449e359e27af795e37206">00056</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a>() {}
<a name="l00057"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html#c72aa962a41a6500c3a3b28d348ba4e0">00057</a> <a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> &amp;) {}
<a name="l00059"></a>00059
<a name="l00060"></a>00060 <span class="keyword">private</span>:
<a name="l00061"></a>00061 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00062"></a>00062 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00063"></a>00063 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00066"></a>00066 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> &amp;);
<a name="l00068"></a>00068
<a name="l00069"></a>00069 <span class="keyword">public</span>:
<a name="l00070"></a>00070 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00071"></a>00071 <span class="comment">// All constructors are hidden, just the destructor is available</span>
<a name="l00072"></a>00072 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00079"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html#b51bfebb9e997c8c875f1359f7e5f623">00079</a> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a>() {};
<a name="l00081"></a>00081
<a name="l00082"></a>00082 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00083"></a>00083 <span class="comment">// Virtual DOMTreeWalker interface</span>
<a name="l00084"></a>00084 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00087"></a>00087 <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00088"></a>00088 <span class="comment">// Getter methods</span>
<a name="l00089"></a>00089 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00090"></a>00090
<a name="l00097"></a>00097 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* getRoot() = 0;
<a name="l00108"></a>00108 <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> getWhatToShow()= 0;
<a name="l00109"></a>00109
<a name="l00115"></a>00115 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNodeFilter.html">DOMNodeFilter</a>* getFilter()= 0;
<a name="l00116"></a>00116
<a name="l00134"></a>00134 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getExpandEntityReferences()= 0;
<a name="l00135"></a>00135
<a name="l00141"></a>00141 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* getCurrentNode()= 0;
<a name="l00142"></a>00142
<a name="l00143"></a>00143 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00144"></a>00144 <span class="comment">// Query methods</span>
<a name="l00145"></a>00145 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00157"></a>00157 <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* parentNode()= 0;
<a name="l00158"></a>00158
<a name="l00169"></a>00169 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* firstChild()= 0;
<a name="l00170"></a>00170
<a name="l00181"></a>00181 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* lastChild()= 0;
<a name="l00182"></a>00182
<a name="l00193"></a>00193 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* previousSibling()= 0;
<a name="l00194"></a>00194
<a name="l00204"></a>00204 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* nextSibling()= 0;
<a name="l00205"></a>00205
<a name="l00218"></a>00218 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* previousNode()= 0;
<a name="l00219"></a>00219
<a name="l00231"></a>00231 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* nextNode()= 0;
<a name="l00232"></a>00232
<a name="l00233"></a>00233 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00234"></a>00234 <span class="comment">// Setter methods</span>
<a name="l00235"></a>00235 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00253"></a>00253 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCurrentNode(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* currentNode)= 0;
<a name="l00255"></a>00255
<a name="l00256"></a>00256 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00257"></a>00257 <span class="comment">// Non-standard Extension</span>
<a name="l00258"></a>00258 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00267"></a>00267 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
<a name="l00269"></a>00269 };
<a name="l00270"></a>00270
<a name="l00271"></a><a class="code" href="DOMTreeWalker_8hpp.html#8a05ddea636b20139798f8c33b5ac2cb">00271</a> <span class="preprocessor">#define GetDOMTreeWalkerMemoryManager GET_INDIRECT_MM(fCurrentNode)</span>
<a name="l00272"></a>00272 <span class="preprocessor"></span>
<a name="l00273"></a>00273 XERCES_CPP_NAMESPACE_END
<a name="l00274"></a>00274
<a name="l00275"></a>00275 <span class="preprocessor">#endif</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&nbsp;
<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>