1<html><head><base target=k-main></head><body bgcolor=white><nobr> 2 3<font face=Helvetica size=3> 4<dl><dt> 5 6 <b>class c4_Cursor</b> 7<br><br> 8 9<dd><font face=Times size=3> 10An iterator for collections of rows (views).<br><br> 11 12 13</font></dl> 14 15 16 <table cellborder=0> 17 <tr> 18 <td colspan=2> 19 <font face=Helvetica size=-1><b>Public members</b></font> 20 </td> 21 </tr> 22 23 <tr> 24 <td valign=top align=right width=150> 25 26 </td> 27 <td> 28 <nobr> 29 <b>c4_Cursor</b> (<A HREF="c4_Sequence.html" >c4_Sequence</A>& implementation_, int index_); 30 31 32 <font face=Helvetica size=-1><br> 33 Construct a new cursor</font> 34 </td> 35 </tr> 36 37 <tr> 38 <td valign=top align=right width=150> 39 <A HREF="c4_RowRef.html" >c4_RowRef</A> 40 </td> 41 <td> 42 <nobr> 43 <b>operator* </b> () <i>const</i>; 44 45 46 <font face=Helvetica size=-1><br> 47 Dereference this cursor to "almost" a row</font> 48 </td> 49 </tr> 50 51 <tr> 52 <td valign=top align=right width=150> 53 <A HREF="c4_RowRef.html" >c4_RowRef</A> 54 </td> 55 <td> 56 <nobr> 57 <b>operator[]</b> (int index_) <i>const</i>; 58 59 60 <font face=Helvetica size=-1><br> 61 This is the same as *(cursor + offset)</font> 62 </td> 63 </tr> 64 65 <tr> 66 <td valign=top align=right width=150> 67 <A HREF="c4_Cursor.html" >c4_Cursor</A>& 68 </td> 69 <td> 70 <nobr> 71 <b>operator++</b> (); 72 73 74 <font face=Helvetica size=-1><br> 75 Pre-increment the cursor</font> 76 </td> 77 </tr> 78 79 <tr> 80 <td valign=top align=right width=150> 81 <A HREF="c4_Cursor.html" >c4_Cursor</A> 82 </td> 83 <td> 84 <nobr> 85 <b>operator++</b> (int); 86 87 88 <font face=Helvetica size=-1><br> 89 Post-increment the cursor</font> 90 </td> 91 </tr> 92 93 <tr> 94 <td valign=top align=right width=150> 95 <A HREF="c4_Cursor.html" >c4_Cursor</A>& 96 </td> 97 <td> 98 <nobr> 99 <b>operator--</b> (); 100 101 102 <font face=Helvetica size=-1><br> 103 Pre-decrement the cursor</font> 104 </td> 105 </tr> 106 107 <tr> 108 <td valign=top align=right width=150> 109 <A HREF="c4_Cursor.html" >c4_Cursor</A> 110 </td> 111 <td> 112 <nobr> 113 <b>operator--</b> (int); 114 115 116 <font face=Helvetica size=-1><br> 117 Post-decrement the cursor</font> 118 </td> 119 </tr> 120 121 <tr> 122 <td valign=top align=right width=150> 123 <A HREF="c4_Cursor.html" >c4_Cursor</A>& 124 </td> 125 <td> 126 <nobr> 127 <b>operator+=</b> (int offset_); 128 129 130 <font face=Helvetica size=-1><br> 131 Advance by a given offset</font> 132 </td> 133 </tr> 134 135 <tr> 136 <td valign=top align=right width=150> 137 <A HREF="c4_Cursor.html" >c4_Cursor</A>& 138 </td> 139 <td> 140 <nobr> 141 <b>operator-=</b> (int offset_); 142 143 144 <font face=Helvetica size=-1><br> 145 Back up by a given offset</font> 146 </td> 147 </tr> 148 149 <tr> 150 <td valign=top align=right width=150> 151 <A HREF="c4_Cursor.html" >c4_Cursor</A> 152 </td> 153 <td> 154 <nobr> 155 <b>operator- </b> (int) <i>const</i>; 156 157 158 <font face=Helvetica size=-1><br> 159 Subtract a specified offset</font> 160 </td> 161 </tr> 162 163 <tr> 164 <td valign=top align=right width=150> 165 int 166 </td> 167 <td> 168 <nobr> 169 <b>operator- </b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> cursor_) <i>const</i>; 170 171 172 <font face=Helvetica size=-1><br> 173 Return the distance between two cursors</font> 174 </td> 175 </tr> 176 177 </table> 178 179 180 181 182 183 <table cellborder=0> 184 <tr> 185 <td colspan=2> 186 <font face=Helvetica size=-1><b>Friends</b></font> 187 </td> 188 </tr> 189 190 <tr> 191 <td valign=top align=right width=150> 192 friend <A HREF="c4_Cursor.html" >c4_Cursor</A> 193 </td> 194 <td> 195 <nobr> 196 <b>operator+ </b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> cursor_, int offset_); 197 <font face=Helvetica size=-1><br>Add specified offset</font> 198 </td> 199 </tr> 200 201 <tr> 202 <td valign=top align=right width=150> 203 friend <A HREF="c4_Cursor.html" >c4_Cursor</A> 204 </td> 205 <td> 206 <nobr> 207 <b>operator+ </b> (int offset_, <A HREF="c4_Cursor.html" >c4_Cursor</A> cursor_); 208 <font face=Helvetica size=-1><br>Add specified offset to cursor</font> 209 </td> 210 </tr> 211 212 <tr> 213 <td valign=top align=right width=150> 214 friend bool 215 </td> 216 <td> 217 <nobr> 218 <b>operator==</b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> a_, <A HREF="c4_Cursor.html" >c4_Cursor</A> b_); 219 <font face=Helvetica size=-1><br>Return true if both cursors are equal</font> 220 </td> 221 </tr> 222 223 <tr> 224 <td valign=top align=right width=150> 225 friend bool 226 </td> 227 <td> 228 <nobr> 229 <b>operator!=</b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> a_, <A HREF="c4_Cursor.html" >c4_Cursor</A> b_); 230 <font face=Helvetica size=-1><br>Return true if both cursors are not equal</font> 231 </td> 232 </tr> 233 234 <tr> 235 <td valign=top align=right width=150> 236 friend bool 237 </td> 238 <td> 239 <nobr> 240 <b>operator< </b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> a_, <A HREF="c4_Cursor.html" >c4_Cursor</A> b_); 241 <font face=Helvetica size=-1><br>True if first cursor is less than second cursor</font> 242 </td> 243 </tr> 244 245 <tr> 246 <td valign=top align=right width=150> 247 friend bool 248 </td> 249 <td> 250 <nobr> 251 <b>operator> </b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> a_, <A HREF="c4_Cursor.html" >c4_Cursor</A> b_); 252 <font face=Helvetica size=-1><br>True if first cursor is greater than second cursor</font> 253 </td> 254 </tr> 255 256 <tr> 257 <td valign=top align=right width=150> 258 friend bool 259 </td> 260 <td> 261 <nobr> 262 <b>operator<=</b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> a_, <A HREF="c4_Cursor.html" >c4_Cursor</A> b_); 263 <font face=Helvetica size=-1><br>True if first cursor is less or equal to second cursor</font> 264 </td> 265 </tr> 266 267 <tr> 268 <td valign=top align=right width=150> 269 friend bool 270 </td> 271 <td> 272 <nobr> 273 <b>operator>=</b> (<A HREF="c4_Cursor.html" >c4_Cursor</A> a_, <A HREF="c4_Cursor.html" >c4_Cursor</A> b_); 274 <font face=Helvetica size=-1><br>True if first cursor is greater or equal to second cursor</font> 275 </td> 276 </tr> 277 278 <tr> 279 <td valign=top align=right width=150> 280 friend bool 281 </td> 282 <td> 283 <nobr> 284 <b>operator==</b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& a_, const <A HREF="c4_RowRef.html" >c4_RowRef</A>& b_); 285 <font face=Helvetica size=-1><br>Return true if the contents of both rows are equal</font> 286 </td> 287 </tr> 288 289 <tr> 290 <td valign=top align=right width=150> 291 friend bool 292 </td> 293 <td> 294 <nobr> 295 <b>operator!=</b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& a_, const <A HREF="c4_RowRef.html" >c4_RowRef</A>& b_); 296 <font face=Helvetica size=-1><br>Return true if the contents of both rows are not equal</font> 297 </td> 298 </tr> 299 300 <tr> 301 <td valign=top align=right width=150> 302 friend bool 303 </td> 304 <td> 305 <nobr> 306 <b>operator< </b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& a_, const <A HREF="c4_RowRef.html" >c4_RowRef</A>& b_); 307 <font face=Helvetica size=-1><br>True if first row is less than second row</font> 308 </td> 309 </tr> 310 311 <tr> 312 <td valign=top align=right width=150> 313 friend bool 314 </td> 315 <td> 316 <nobr> 317 <b>operator> </b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& a_, const <A HREF="c4_RowRef.html" >c4_RowRef</A>& b_); 318 <font face=Helvetica size=-1><br>True if first row is greater than second row</font> 319 </td> 320 </tr> 321 322 <tr> 323 <td valign=top align=right width=150> 324 friend bool 325 </td> 326 <td> 327 <nobr> 328 <b>operator<=</b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& a_, const <A HREF="c4_RowRef.html" >c4_RowRef</A>& b_); 329 <font face=Helvetica size=-1><br>True if first row is less or equal to second row</font> 330 </td> 331 </tr> 332 333 <tr> 334 <td valign=top align=right width=150> 335 friend bool 336 </td> 337 <td> 338 <nobr> 339 <b>operator>=</b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& a_, const <A HREF="c4_RowRef.html" >c4_RowRef</A>& b_); 340 <font face=Helvetica size=-1><br>True if first row is greater or equal to second row</font> 341 </td> 342 </tr> 343 344 <tr> 345 <td valign=top align=right width=150> 346 friend class 347 </td> 348 <td> 349 <nobr> 350 <b>c4_MemoRef</b>; 351 352 </td> 353 </tr> 354 355 <tr> 356 <td valign=top align=right width=150> 357 friend class 358 </td> 359 <td> 360 <nobr> 361 <b>c4_Reference</b>; 362 363 </td> 364 </tr> 365 366 <tr> 367 <td valign=top align=right width=150> 368 friend class 369 </td> 370 <td> 371 <nobr> 372 <b>c4_Row</b>; 373 374 </td> 375 </tr> 376 377 <tr> 378 <td valign=top align=right width=150> 379 friend class 380 </td> 381 <td> 382 <nobr> 383 <b>c4_RowRef</b>; 384 385 </td> 386 </tr> 387 388 <tr> 389 <td valign=top align=right width=150> 390 friend class 391 </td> 392 <td> 393 <nobr> 394 <b>c4_View</b>; 395 396 </td> 397 </tr> 398 399 <tr> 400 <td valign=top align=right width=150> 401 friend class 402 </td> 403 <td> 404 <nobr> 405 <b>c4_Sequence</b>; 406 407 </td> 408 </tr> 409 410 <tr> 411 <td valign=top align=right width=150> 412 friend class 413 </td> 414 <td> 415 <nobr> 416 <b>c4_FilterSeq</b>; 417 418 </td> 419 </tr> 420 421 <tr> 422 <td valign=top align=right width=150> 423 friend class 424 </td> 425 <td> 426 <nobr> 427 <b>c4_SortSeq</b>; 428 429 </td> 430 </tr> 431 432 </table> 433 434 435<br><hr size=1 width=50 align=left> 436 437<table cellborder=0> 438 <tr> 439 <td width=150> 440 <font face=Helvetica size=-1><b>Header file</b></font> 441 </td> 442 <td> 443 "mk4.h" -- Dec 9, 1999 444 </td> 445 </tr> 446 447 448 449 450</table> 451 452</font></font> 453 454</nobr></body></html> 455