Public Member Functions | |
| ResultIterator (ESTMTDB *_db, int *_result, int _resnum, int _options) | |
| ~ResultIterator () | |
| Document * | next () |
Private Attributes | |
| int | index |
| int | resnum |
| int * | result |
| int | options |
| ESTMTDB * | db |
|
||||||||||||||||||||
|
Definition at line 199 of file HyperEstraierWrapper.cpp. References db, index, options, resnum, and result. 00199 {
00200 index = 0;
00201 db = _db;
00202 result = _result;
00203 resnum = _resnum;
00204 options = _options;
00205 }
|
|
|
Definition at line 206 of file HyperEstraierWrapper.cpp. References result. 00206 {
00207 free(result);
00208 }
|
|
|
get the next document Definition at line 209 of file HyperEstraierWrapper.cpp. References db, index, resnum, and result. 00209 {
00213 if (index < resnum) {
00214 return new Document(db, result[index++], 0);
00215 } else {
00216 return NULL;
00217 }
00218 }
|
|
|
Definition at line 197 of file HyperEstraierWrapper.cpp. Referenced by next(), and ResultIterator(). |
|
|
Definition at line 193 of file HyperEstraierWrapper.cpp. Referenced by next(), and ResultIterator(). |
|
|
Definition at line 196 of file HyperEstraierWrapper.cpp. Referenced by ResultIterator(). |
|
|
Definition at line 194 of file HyperEstraierWrapper.cpp. Referenced by next(), and ResultIterator(). |
|
|
Definition at line 195 of file HyperEstraierWrapper.cpp. Referenced by next(), ResultIterator(), and ~ResultIterator(). |
1.4.2