File: DOMXPathResult_8hpp-source.html

package info (click to toggle)
xerces-c 3.1.1-3%2Bdeb7u2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 39,584 kB
  • sloc: cpp: 166,988; xml: 12,028; sh: 10,236; ansic: 3,984; makefile: 1,290; perl: 500
file content (137 lines) | stat: -rw-r--r-- 15,475 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: DOMXPathResult.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.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>DOMXPathResult.hpp</h1><a href="DOMXPathResult_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="comment">/*</span>
<a name="l00019"></a>00019 <span class="comment"> * $Id: DOMXPathResult.hpp 932887 2010-04-11 13:04:59Z borisk $</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMXPATHRESULT_HPP)</span>
<a name="l00023"></a><a class="code" href="DOMXPathResult_8hpp.html#704986c4d0d580da78d92f1fc551d621">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMXPATHRESULT_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="XercesDefs_8hpp.html">xercesc/util/XercesDefs.hpp</a>&gt;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="keyword">class </span><a class="code" href="classDOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly...">DOMXPathNSResolver</a>;
<a name="l00030"></a>00030 <span class="keyword">class </span><a class="code" href="classDOMXPathExpression.html" title="The DOMXPathExpression interface represents a parsed and resolved XPath expression...">DOMXPathExpression</a>;
<a name="l00031"></a>00031 <span class="keyword">class </span><a class="code" href="classDOMTypeInfo.html" title="The DOMTypeInfo interface represent a type used by DOMElement or DOMAttr nodes, specified...">DOMTypeInfo</a>;
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a>;
<a name="l00033"></a>00033 
<a name="l00046"></a><a class="code" href="classDOMXPathResult.html">00046</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#40e97a4d60600cb8128a2eb5d6504e26">CDOM_EXPORT</a> <a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">protected</span>:
<a name="l00050"></a>00050     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00051"></a>00051     <span class="comment">//  Hidden constructors</span>
<a name="l00052"></a>00052     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00055"></a><a class="code" href="classDOMXPathResult.html#b6a4f01a6c661f6640c58c5403551ae9">00055</a> <span class="comment"></span>    <a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a>() {};
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 <span class="keyword">private</span>:
<a name="l00059"></a>00059     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00060"></a>00060     <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00061"></a>00061     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00064"></a>00064 <span class="comment"></span>    <a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a>(<span class="keyword">const</span> <a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a> &amp;);
<a name="l00065"></a>00065     <a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a>&amp; operator = (<span class="keyword">const</span>  <a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a>&amp;);
<a name="l00067"></a>00067 
<a name="l00068"></a>00068 <span class="keyword">public</span>:
<a name="l00069"></a>00069     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00070"></a>00070     <span class="comment">//  All constructors are hidden, just the destructor is available</span>
<a name="l00071"></a>00071     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00078"></a><a class="code" href="classDOMXPathResult.html#e6d02311052ec70a50347e101f7f2d56">00078</a> <span class="comment"></span>    <span class="keyword">virtual</span> ~<a class="code" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath...">DOMXPathResult</a>() {};
<a name="l00080"></a>00080 
<a name="l00081"></a>00081     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00082"></a>00082     <span class="comment">//  Class Types</span>
<a name="l00083"></a>00083     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00163"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1">00163</a> <span class="comment"></span>    <span class="keyword">enum</span> <a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1">ResultType</a> {
<a name="l00164"></a>00164                 <span class="comment">/* XPath 1.0 */</span>
<a name="l00165"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1b6800b7cef4e81a65ca48732dd8fd05b">00165</a>                 ANY_TYPE = 0,
<a name="l00166"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1ea34a8448e783d65ddd9519195cb072d">00166</a>                 NUMBER_TYPE = 1,
<a name="l00167"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c146318bb5e72271bc9bf5c08b9012fa31">00167</a>                 STRING_TYPE = 2,
<a name="l00168"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1b783d233cc89a2850f4e13ca637d4994">00168</a>                 BOOLEAN_TYPE = 3,
<a name="l00169"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c16461a931354777353b499091cfc14d27">00169</a>                 UNORDERED_NODE_ITERATOR_TYPE = 4,
<a name="l00170"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c18e8ed330af65222a55d3ad156a7d11df">00170</a>                 ORDERED_NODE_ITERATOR_TYPE = 5,
<a name="l00171"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1e0a1108c8b5cd49097fc57e513c58d21">00171</a>                 UNORDERED_NODE_SNAPSHOT_TYPE = 6,
<a name="l00172"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1754c1eda41b3c5b147089cc549490d8a">00172</a>                 ORDERED_NODE_SNAPSHOT_TYPE = 7,
<a name="l00173"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1f86aed2645a86b9c424519d1c12518f9">00173</a>                 ANY_UNORDERED_NODE_TYPE = 8,
<a name="l00174"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1154547853ad0e89be9ea5b32f7201d6c">00174</a>                 FIRST_ORDERED_NODE_TYPE = 9,
<a name="l00175"></a>00175                 <span class="comment">/* XPath 2.0 */</span>
<a name="l00176"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c129c33fd9a779203a89b85be9ca78444b">00176</a>                 FIRST_RESULT_TYPE    = 100,
<a name="l00177"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c13dd3d541f3b3b02a5134310168a0f1d1">00177</a>                 ITERATOR_RESULT_TYPE = 101,
<a name="l00178"></a><a class="code" href="classDOMXPathResult.html#b718aec450c5438e0cc3a6920044a0c1f73de8e5229be25c88b5081ebe555c7c">00178</a>                 SNAPSHOT_RESULT_TYPE = 102
<a name="l00179"></a>00179     };
<a name="l00181"></a>00181 
<a name="l00182"></a>00182 
<a name="l00183"></a>00183     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00184"></a>00184     <span class="comment">// Virtual DOMXPathResult interface</span>
<a name="l00185"></a>00185     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00188"></a>00188 <span class="comment"></span>
<a name="l00194"></a>00194     <span class="keyword">virtual</span> ResultType getResultType() <span class="keyword">const</span> = 0;
<a name="l00195"></a>00195 
<a name="l00201"></a>00201     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classDOMTypeInfo.html" title="The DOMTypeInfo interface represent a type used by DOMElement or DOMAttr nodes, specified...">DOMTypeInfo</a> *getTypeInfo() <span class="keyword">const</span> = 0;
<a name="l00202"></a>00202 
<a name="l00210"></a>00210     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isNode() <span class="keyword">const</span> = 0;
<a name="l00211"></a>00211 
<a name="l00222"></a>00222     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getBooleanValue() <span class="keyword">const</span> = 0;
<a name="l00223"></a>00223 
<a name="l00234"></a>00234     <span class="keyword">virtual</span> <span class="keywordtype">int</span> getIntegerValue() <span class="keyword">const</span> = 0;
<a name="l00235"></a>00235 
<a name="l00249"></a>00249     <span class="keyword">virtual</span> <span class="keywordtype">double</span> getNumberValue() <span class="keyword">const</span> = 0;
<a name="l00250"></a>00250 
<a name="l00261"></a>00261     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getStringValue() <span class="keyword">const</span> = 0;
<a name="l00262"></a>00262 
<a name="l00277"></a>00277     <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a>* getNodeValue() <span class="keyword">const</span> = 0;
<a name="l00278"></a>00278 
<a name="l00291"></a>00291     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> iterateNext() = 0;
<a name="l00292"></a>00292 
<a name="l00304"></a>00304     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getInvalidIteratorState() <span class="keyword">const</span> = 0;
<a name="l00305"></a>00305 
<a name="l00319"></a>00319     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> snapshotItem(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> index) = 0;
<a name="l00320"></a>00320 
<a name="l00330"></a>00330     <span class="keyword">virtual</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> getSnapshotLength() <span class="keyword">const</span> = 0;
<a name="l00331"></a>00331 
<a name="l00333"></a>00333 
<a name="l00334"></a>00334     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00335"></a>00335     <span class="comment">//  Non-standard Extension</span>
<a name="l00336"></a>00336     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00345"></a>00345 <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
<a name="l00347"></a>00347 };
<a name="l00348"></a>00348 
<a name="l00349"></a>00349 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00350"></a>00350 
<a name="l00351"></a>00351 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:48 2010 for Xerces-C++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>