1 |
dpavlin |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 |
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
3 |
|
|
<title>HyperEstraierWrapper: ResultIterator Class Reference</title> |
4 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
5 |
|
|
</head><body> |
6 |
|
|
<!-- Generated by Doxygen 1.4.2 --> |
7 |
|
|
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a></div> |
8 |
|
|
<h1>ResultIterator Class Reference</h1><a href="classResultIterator-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
9 |
|
|
<tr><td></td></tr> |
10 |
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
11 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#a0">ResultIterator</a> (ESTMTDB *_db, int *_result, int _resnum, int _options)</td></tr> |
12 |
|
|
|
13 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#a1">~ResultIterator</a> ()</td></tr> |
14 |
|
|
|
15 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDocument.html">Document</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#a2">next</a> ()</td></tr> |
16 |
|
|
|
17 |
|
|
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
18 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#r0">index</a></td></tr> |
19 |
|
|
|
20 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#r1">resnum</a></td></tr> |
21 |
|
|
|
22 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#r2">result</a></td></tr> |
23 |
|
|
|
24 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#r3">options</a></td></tr> |
25 |
|
|
|
26 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">ESTMTDB * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResultIterator.html#r4">db</a></td></tr> |
27 |
|
|
|
28 |
|
|
</table> |
29 |
|
|
<hr><h2>Constructor & Destructor Documentation</h2> |
30 |
|
|
<a class="anchor" name="a0" doxytag="ResultIterator::ResultIterator"></a><p> |
31 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
32 |
|
|
<tr> |
33 |
|
|
<td class="mdRow"> |
34 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
35 |
|
|
<tr> |
36 |
|
|
<td class="md" nowrap valign="top">ResultIterator::ResultIterator </td> |
37 |
|
|
<td class="md" valign="top">( </td> |
38 |
|
|
<td class="md" nowrap valign="top">ESTMTDB * </td> |
39 |
|
|
<td class="mdname" nowrap> <em>_db</em>, </td> |
40 |
|
|
</tr> |
41 |
|
|
<tr> |
42 |
|
|
<td class="md" nowrap align="right"></td> |
43 |
|
|
<td class="md"></td> |
44 |
|
|
<td class="md" nowrap>int * </td> |
45 |
|
|
<td class="mdname" nowrap> <em>_result</em>, </td> |
46 |
|
|
</tr> |
47 |
|
|
<tr> |
48 |
|
|
<td class="md" nowrap align="right"></td> |
49 |
|
|
<td class="md"></td> |
50 |
|
|
<td class="md" nowrap>int </td> |
51 |
|
|
<td class="mdname" nowrap> <em>_resnum</em>, </td> |
52 |
|
|
</tr> |
53 |
|
|
<tr> |
54 |
|
|
<td class="md" nowrap align="right"></td> |
55 |
|
|
<td class="md"></td> |
56 |
|
|
<td class="md" nowrap>int </td> |
57 |
|
|
<td class="mdname" nowrap> <em>_options</em></td> |
58 |
|
|
</tr> |
59 |
|
|
<tr> |
60 |
|
|
<td class="md"></td> |
61 |
|
|
<td class="md">) </td> |
62 |
|
|
<td class="md" colspan="2"><code> [inline]</code></td> |
63 |
|
|
</tr> |
64 |
|
|
</table> |
65 |
|
|
</td> |
66 |
|
|
</tr> |
67 |
|
|
</table> |
68 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
69 |
|
|
<tr> |
70 |
|
|
<td> |
71 |
|
|
|
72 |
|
|
</td> |
73 |
|
|
<td> |
74 |
|
|
|
75 |
|
|
<p> |
76 |
|
|
|
77 |
|
|
<p> |
78 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00199">199</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
79 |
|
|
<p> |
80 |
|
|
References <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00197">db</a>, <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00193">index</a>, <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00196">options</a>, <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00194">resnum</a>, and <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00195">result</a>.<div class="fragment"><pre class="fragment">00199 { |
81 |
|
|
00200 <a class="code" href="classResultIterator.html#r0">index</a> = 0; |
82 |
|
|
00201 <a class="code" href="classResultIterator.html#r4">db</a> = _db; |
83 |
|
|
00202 <a class="code" href="classResultIterator.html#r2">result</a> = _result; |
84 |
|
|
00203 <a class="code" href="classResultIterator.html#r1">resnum</a> = _resnum; |
85 |
|
|
00204 <a class="code" href="classResultIterator.html#r3">options</a> = _options; |
86 |
|
|
00205 } |
87 |
|
|
</pre></div> |
88 |
|
|
<p> |
89 |
|
|
</td> |
90 |
|
|
</tr> |
91 |
|
|
</table> |
92 |
|
|
<a class="anchor" name="a1" doxytag="ResultIterator::~ResultIterator"></a><p> |
93 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
94 |
|
|
<tr> |
95 |
|
|
<td class="mdRow"> |
96 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
97 |
|
|
<tr> |
98 |
|
|
<td class="md" nowrap valign="top">ResultIterator::~ResultIterator </td> |
99 |
|
|
<td class="md" valign="top">( </td> |
100 |
|
|
<td class="mdname1" valign="top" nowrap> </td> |
101 |
|
|
<td class="md" valign="top"> ) </td> |
102 |
|
|
<td class="md" nowrap><code> [inline]</code></td> |
103 |
|
|
</tr> |
104 |
|
|
</table> |
105 |
|
|
</td> |
106 |
|
|
</tr> |
107 |
|
|
</table> |
108 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
109 |
|
|
<tr> |
110 |
|
|
<td> |
111 |
|
|
|
112 |
|
|
</td> |
113 |
|
|
<td> |
114 |
|
|
|
115 |
|
|
<p> |
116 |
|
|
|
117 |
|
|
<p> |
118 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00206">206</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
119 |
|
|
<p> |
120 |
|
|
References <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00195">result</a>.<div class="fragment"><pre class="fragment">00206 { |
121 |
|
|
00207 free(<a class="code" href="classResultIterator.html#r2">result</a>); |
122 |
|
|
00208 } |
123 |
|
|
</pre></div> |
124 |
|
|
<p> |
125 |
|
|
</td> |
126 |
|
|
</tr> |
127 |
|
|
</table> |
128 |
|
|
<hr><h2>Member Function Documentation</h2> |
129 |
|
|
<a class="anchor" name="a2" doxytag="ResultIterator::next"></a><p> |
130 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
131 |
|
|
<tr> |
132 |
|
|
<td class="mdRow"> |
133 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
134 |
|
|
<tr> |
135 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="classDocument.html">Document</a>* ResultIterator::next </td> |
136 |
|
|
<td class="md" valign="top">( </td> |
137 |
|
|
<td class="mdname1" valign="top" nowrap> </td> |
138 |
|
|
<td class="md" valign="top"> ) </td> |
139 |
|
|
<td class="md" nowrap><code> [inline]</code></td> |
140 |
|
|
</tr> |
141 |
|
|
</table> |
142 |
|
|
</td> |
143 |
|
|
</tr> |
144 |
|
|
</table> |
145 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
146 |
|
|
<tr> |
147 |
|
|
<td> |
148 |
|
|
|
149 |
|
|
</td> |
150 |
|
|
<td> |
151 |
|
|
|
152 |
|
|
<p> |
153 |
|
|
get the next document |
154 |
|
|
<p> |
155 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00209">209</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
156 |
|
|
<p> |
157 |
|
|
References <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00197">db</a>, <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00193">index</a>, <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00194">resnum</a>, and <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00195">result</a>.<div class="fragment"><pre class="fragment">00209 { |
158 |
|
|
00213 <span class="keywordflow">if</span> (<a class="code" href="classResultIterator.html#r0">index</a> < <a class="code" href="classResultIterator.html#r1">resnum</a>) { |
159 |
|
|
00214 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>(<a class="code" href="classResultIterator.html#r4">db</a>, <a class="code" href="classResultIterator.html#r2">result</a>[<a class="code" href="classResultIterator.html#r0">index</a>++], 0); |
160 |
|
|
00215 } <span class="keywordflow">else</span> { |
161 |
|
|
00216 <span class="keywordflow">return</span> NULL; |
162 |
|
|
00217 } |
163 |
|
|
00218 } |
164 |
|
|
</pre></div> |
165 |
|
|
<p> |
166 |
|
|
</td> |
167 |
|
|
</tr> |
168 |
|
|
</table> |
169 |
|
|
<hr><h2>Member Data Documentation</h2> |
170 |
|
|
<a class="anchor" name="r4" doxytag="ResultIterator::db"></a><p> |
171 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
172 |
|
|
<tr> |
173 |
|
|
<td class="mdRow"> |
174 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
175 |
|
|
<tr> |
176 |
|
|
<td class="md" nowrap valign="top">ESTMTDB* <a class="el" href="classResultIterator.html#r4">ResultIterator::db</a><code> [private]</code> </td> |
177 |
|
|
</tr> |
178 |
|
|
</table> |
179 |
|
|
</td> |
180 |
|
|
</tr> |
181 |
|
|
</table> |
182 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
183 |
|
|
<tr> |
184 |
|
|
<td> |
185 |
|
|
|
186 |
|
|
</td> |
187 |
|
|
<td> |
188 |
|
|
|
189 |
|
|
<p> |
190 |
|
|
|
191 |
|
|
<p> |
192 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00197">197</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
193 |
|
|
<p> |
194 |
|
|
Referenced by <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00209">next()</a>, and <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00199">ResultIterator()</a>. </td> |
195 |
|
|
</tr> |
196 |
|
|
</table> |
197 |
|
|
<a class="anchor" name="r0" doxytag="ResultIterator::index"></a><p> |
198 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
199 |
|
|
<tr> |
200 |
|
|
<td class="mdRow"> |
201 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
202 |
|
|
<tr> |
203 |
|
|
<td class="md" nowrap valign="top">int <a class="el" href="classResultIterator.html#r0">ResultIterator::index</a><code> [private]</code> </td> |
204 |
|
|
</tr> |
205 |
|
|
</table> |
206 |
|
|
</td> |
207 |
|
|
</tr> |
208 |
|
|
</table> |
209 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
210 |
|
|
<tr> |
211 |
|
|
<td> |
212 |
|
|
|
213 |
|
|
</td> |
214 |
|
|
<td> |
215 |
|
|
|
216 |
|
|
<p> |
217 |
|
|
|
218 |
|
|
<p> |
219 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00193">193</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
220 |
|
|
<p> |
221 |
|
|
Referenced by <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00209">next()</a>, and <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00199">ResultIterator()</a>. </td> |
222 |
|
|
</tr> |
223 |
|
|
</table> |
224 |
|
|
<a class="anchor" name="r3" doxytag="ResultIterator::options"></a><p> |
225 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
226 |
|
|
<tr> |
227 |
|
|
<td class="mdRow"> |
228 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
229 |
|
|
<tr> |
230 |
|
|
<td class="md" nowrap valign="top">int <a class="el" href="classResultIterator.html#r3">ResultIterator::options</a><code> [private]</code> </td> |
231 |
|
|
</tr> |
232 |
|
|
</table> |
233 |
|
|
</td> |
234 |
|
|
</tr> |
235 |
|
|
</table> |
236 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
237 |
|
|
<tr> |
238 |
|
|
<td> |
239 |
|
|
|
240 |
|
|
</td> |
241 |
|
|
<td> |
242 |
|
|
|
243 |
|
|
<p> |
244 |
|
|
|
245 |
|
|
<p> |
246 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00196">196</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
247 |
|
|
<p> |
248 |
|
|
Referenced by <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00199">ResultIterator()</a>. </td> |
249 |
|
|
</tr> |
250 |
|
|
</table> |
251 |
|
|
<a class="anchor" name="r1" doxytag="ResultIterator::resnum"></a><p> |
252 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
253 |
|
|
<tr> |
254 |
|
|
<td class="mdRow"> |
255 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
256 |
|
|
<tr> |
257 |
|
|
<td class="md" nowrap valign="top">int <a class="el" href="classResultIterator.html#r1">ResultIterator::resnum</a><code> [private]</code> </td> |
258 |
|
|
</tr> |
259 |
|
|
</table> |
260 |
|
|
</td> |
261 |
|
|
</tr> |
262 |
|
|
</table> |
263 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
264 |
|
|
<tr> |
265 |
|
|
<td> |
266 |
|
|
|
267 |
|
|
</td> |
268 |
|
|
<td> |
269 |
|
|
|
270 |
|
|
<p> |
271 |
|
|
|
272 |
|
|
<p> |
273 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00194">194</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
274 |
|
|
<p> |
275 |
|
|
Referenced by <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00209">next()</a>, and <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00199">ResultIterator()</a>. </td> |
276 |
|
|
</tr> |
277 |
|
|
</table> |
278 |
|
|
<a class="anchor" name="r2" doxytag="ResultIterator::result"></a><p> |
279 |
|
|
<table class="mdTable" cellpadding="2" cellspacing="0"> |
280 |
|
|
<tr> |
281 |
|
|
<td class="mdRow"> |
282 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
283 |
|
|
<tr> |
284 |
|
|
<td class="md" nowrap valign="top">int* <a class="el" href="classResultIterator.html#r2">ResultIterator::result</a><code> [private]</code> </td> |
285 |
|
|
</tr> |
286 |
|
|
</table> |
287 |
|
|
</td> |
288 |
|
|
</tr> |
289 |
|
|
</table> |
290 |
|
|
<table cellspacing="5" cellpadding="0" border="0"> |
291 |
|
|
<tr> |
292 |
|
|
<td> |
293 |
|
|
|
294 |
|
|
</td> |
295 |
|
|
<td> |
296 |
|
|
|
297 |
|
|
<p> |
298 |
|
|
|
299 |
|
|
<p> |
300 |
|
|
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00195">195</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>. |
301 |
|
|
<p> |
302 |
|
|
Referenced by <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00209">next()</a>, <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00199">ResultIterator()</a>, and <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00206">~ResultIterator()</a>. </td> |
303 |
|
|
</tr> |
304 |
|
|
</table> |
305 |
|
|
<hr>The documentation for this class was generated from the following file:<ul> |
306 |
|
|
<li><a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a></ul> |
307 |
|
|
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 11 14:47:05 2005 for HyperEstraierWrapper by |
308 |
|
|
<a href="http://www.doxygen.org/index.html"> |
309 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
310 |
|
|
</body> |
311 |
|
|
</html> |