| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>Chapter 12. Db_vector_base_iterator</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" /> |
| 10 | <link rel="up" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" /> |
| 11 | <link rel="prev" href="db_vector_iterators.html" title="Chapter 11. Iterator Classes for db_vector" /> |
| 12 | <link rel="next" href="stldb_vector_base_iteratordstr_db_vector_base_iterator.html" title="~db_vector_base_iterator" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">Chapter 12. |
| 22 | Db_vector_base_iterator </th> |
| 23 | </tr> |
| 24 | <tr> |
| 25 | <td width="20%" align="left"><a accesskey="p" href="db_vector_iterators.html">Prev</a> </td> |
| 26 | <th width="60%" align="center"> </th> |
| 27 | <td width="20%" align="right"> <a accesskey="n" href="stldb_vector_base_iteratordstr_db_vector_base_iterator.html">Next</a></td> |
| 28 | </tr> |
| 29 | </table> |
| 30 | <hr /> |
| 31 | </div> |
| 32 | <div class="chapter" lang="en" xml:lang="en"> |
| 33 | <div class="titlepage"> |
| 34 | <div> |
| 35 | <div> |
| 36 | <h2 class="title"><a id="db_vector_base_iterator"></a>Chapter 12. |
| 37 | Db_vector_base_iterator </h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p>This class is the const iterator class for <a class="link" href="db_vector.html" title="Chapter 4. Db_vector">db_vector</a> |
| 42 | , and it is inheirted by the <a class="link" href="db_vector_iterator.html" title="Chapter 13. Db_vector_iterator">db_vector_iterator</a> |
| 43 | class, which is the iterator class for <a class="link" href="db_vector.html" title="Chapter 4. Db_vector">db_vector</a> |
| 44 | . </p> |
| 45 | <h4><a id="idp50863320"></a> Public Members </h4> |
| 46 | <div class="informaltable"> |
| 47 | <table border="1" width="80%"> |
| 48 | <colgroup> |
| 49 | <col /> |
| 50 | <col /> |
| 51 | </colgroup> |
| 52 | <thead> |
| 53 | <tr> |
| 54 | <th>Member</th> |
| 55 | <th>Description</th> |
| 56 | </tr> |
| 57 | </thead> |
| 58 | <tbody> |
| 59 | <tr> |
| 60 | <td> |
| 61 | <a class="xref" href="db_vector_base_iterator.html#stldb_vector_base_iteratordb_vector_base_iterator" title="db_vector_base_iterator">db_vector_base_iterator</a> |
| 62 | </td> |
| 63 | <td> |
| 64 | </td> |
| 65 | </tr> |
| 66 | <tr> |
| 67 | <td> |
| 68 | <a class="xref" href="stldb_vector_base_iteratordstr_db_vector_base_iterator.html" title="~db_vector_base_iterator">~db_vector_base_iterator</a> |
| 69 | </td> |
| 70 | <td> |
| 71 | </td> |
| 72 | </tr> |
| 73 | <tr> |
| 74 | <td> |
| 75 | <a class="xref" href="stldb_vector_base_iteratoroperator_eq.html" title="operator==">operator==</a> |
| 76 | </td> |
| 77 | <td> |
| 78 | <p>Equality comparison operator. </p> </td> |
| 79 | </tr> |
| 80 | <tr> |
| 81 | <td> |
| 82 | <a class="xref" href="stldb_vector_base_iteratoroperator_ueq.html" title="operator!=">operator!=</a> |
| 83 | </td> |
| 84 | <td> |
| 85 | <p>Unequal compare, identical to !operator(==itr). </p> </td> |
| 86 | </tr> |
| 87 | <tr> |
| 88 | <td> |
| 89 | <a class="xref" href="stldb_vector_base_iteratoroperator_lt.html" title="operator<">operator<</a> |
| 90 | </td> |
| 91 | <td> |
| 92 | <p>Less than comparison operator. </p> </td> |
| 93 | </tr> |
| 94 | <tr> |
| 95 | <td> |
| 96 | <a class="xref" href="stldb_vector_base_iteratoroperator_le.html" title="operator<=">operator<=</a> |
| 97 | </td> |
| 98 | <td> |
| 99 | <p>Less equal comparison operator. </p> </td> |
| 100 | </tr> |
| 101 | <tr> |
| 102 | <td> |
| 103 | <a class="xref" href="stldb_vector_base_iteratoroperator_ge.html" title="operator>=">operator>=</a> |
| 104 | </td> |
| 105 | <td> |
| 106 | <p>Greater equal comparison operator. </p> </td> |
| 107 | </tr> |
| 108 | <tr> |
| 109 | <td> |
| 110 | <a class="xref" href="stldb_vector_base_iteratoroperator_gt.html" title="operator>">operator></a> |
| 111 | </td> |
| 112 | <td> |
| 113 | <p>Greater comparison operator. </p> </td> |
| 114 | </tr> |
| 115 | <tr> |
| 116 | <td> |
| 117 | <a class="xref" href="stldb_vector_base_iteratoroperator_incr.html" title="operator++">operator++</a> |
| 118 | </td> |
| 119 | <td> |
| 120 | <p>Pre-increment. </p> </td> |
| 121 | </tr> |
| 122 | <tr> |
| 123 | <td> |
| 124 | <a class="xref" href="stldb_vector_base_iteratoroperator_decr.html" title="operator--">operator--</a> |
| 125 | </td> |
| 126 | <td> |
| 127 | <p>Pre-decrement. </p> </td> |
| 128 | </tr> |
| 129 | <tr> |
| 130 | <td> |
| 131 | <a class="xref" href="stldb_vector_base_iteratoroperator_assign.html" title="operator=">operator=</a> |
| 132 | </td> |
| 133 | <td> |
| 134 | <p>Assignment operator. </p> </td> |
| 135 | </tr> |
| 136 | <tr> |
| 137 | <td> |
| 138 | <a class="xref" href="stldb_vector_base_iteratoroperator_add.html" title="operator+">operator+</a> |
| 139 | </td> |
| 140 | <td> |
| 141 | <p>Iterator movement operator. </p> </td> |
| 142 | </tr> |
| 143 | <tr> |
| 144 | <td> |
| 145 | <a class="xref" href="stldb_vector_base_iteratoroperator_ia.html" title="operator+=">operator+=</a> |
| 146 | </td> |
| 147 | <td> |
| 148 | <p>Move this iterator backward by n elements. </p> </td> |
| 149 | </tr> |
| 150 | <tr> |
| 151 | <td> |
| 152 | <a class="xref" href="stldb_vector_base_iteratoroperator_sub.html" title="operator-">operator-</a> |
| 153 | </td> |
| 154 | <td> |
| 155 | <p>Iterator movement operator. </p> </td> |
| 156 | </tr> |
| 157 | <tr> |
| 158 | <td> |
| 159 | <a class="xref" href="stldb_vector_base_iteratoroperator_sa.html" title="operator-=">operator-=</a> |
| 160 | </td> |
| 161 | <td> |
| 162 | <p>Move this iterator forward by n elements. </p> </td> |
| 163 | </tr> |
| 164 | <tr> |
| 165 | <td> |
| 166 | <a class="xref" href="stldb_vector_base_iteratoroperator__star.html" title="operator *">operator *</a> |
| 167 | </td> |
| 168 | <td> |
| 169 | <p>Dereference operator. </p> </td> |
| 170 | </tr> |
| 171 | <tr> |
| 172 | <td> |
| 173 | <a class="xref" href="stldb_vector_base_iteratoroperator_arrow.html" title="operator->">operator-></a> |
| 174 | </td> |
| 175 | <td> |
| 176 | <p>Arrow operator. </p> </td> |
| 177 | </tr> |
| 178 | <tr> |
| 179 | <td> |
| 180 | <a class="xref" href="stldb_vector_base_iteratoroperator_sqbrk.html" title="operator[]">operator[]</a> |
| 181 | </td> |
| 182 | <td> |
| 183 | <p>Iterator index operator. </p> </td> |
| 184 | </tr> |
| 185 | <tr> |
| 186 | <td> |
| 187 | <a class="xref" href="stldb_vector_base_iteratorget_current_index.html" title="get_current_index">get_current_index</a> |
| 188 | </td> |
| 189 | <td> |
| 190 | <p>Get current index of within the vector. </p> </td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td> |
| 194 | <a class="xref" href="stldb_vector_base_iteratormove_to.html" title="move_to">move_to</a> |
| 195 | </td> |
| 196 | <td> |
| 197 | <p>Iterator movement function. </p> </td> |
| 198 | </tr> |
| 199 | <tr> |
| 200 | <td> |
| 201 | <a class="xref" href="stldb_vector_base_iteratorrefresh.html" title="refresh">refresh</a> |
| 202 | </td> |
| 203 | <td> |
| 204 | <p>Refresh iterator cached value. </p> </td> |
| 205 | </tr> |
| 206 | <tr> |
| 207 | <td> |
| 208 | <a class="xref" href="stldb_vector_base_iteratorclose_cursor.html" title="close_cursor">close_cursor</a> |
| 209 | </td> |
| 210 | <td> |
| 211 | <p>Close underlying Berkeley DB cursor of this iterator. </p> </td> |
| 212 | </tr> |
| 213 | <tr> |
| 214 | <td> |
| 215 | <a class="xref" href="stldb_vector_base_iteratorset_bulk_buffer.html" title="set_bulk_buffer">set_bulk_buffer</a> |
| 216 | </td> |
| 217 | <td> |
| 218 | <p>Modify bulk buffer size. </p> </td> |
| 219 | </tr> |
| 220 | <tr> |
| 221 | <td> |
| 222 | <a class="xref" href="stldb_vector_base_iteratorget_bulk_bufsize.html" title="get_bulk_bufsize">get_bulk_bufsize</a> |
| 223 | </td> |
| 224 | <td> |
| 225 | <p>Get bulk retrieval buffer size in bytes. </p> </td> |
| 226 | </tr> |
| 227 | </tbody> |
| 228 | </table> |
| 229 | </div> |
| 230 | <h4><a id="idp50584632"></a> |
| 231 | Group</h4> |
| 232 | <p> |
| 233 | <a class="xref" href="db_vector_iterators.html" title="Chapter 11. Iterator Classes for db_vector"> |
| 234 | Iterator Classes for db_vector </a> |
| 235 | </p> |
| 236 | <p> |
| 237 | </p> |
| 238 | <div class="sect1" lang="en" xml:lang="en"> |
| 239 | <div class="titlepage"> |
| 240 | <div> |
| 241 | <div> |
| 242 | <h2 class="title" style="clear: both"><a id="stldb_vector_base_iteratordb_vector_base_iterator"></a>db_vector_base_iterator</h2> |
| 243 | </div> |
| 244 | </div> |
| 245 | </div> |
| 246 | <div class="sect2" lang="en" xml:lang="en"> |
| 247 | <div class="titlepage"> |
| 248 | <div> |
| 249 | <div> |
| 250 | <h3 class="title"><a id="stldb_vector_base_iteratordb_vector_base_iterator_details"></a>Function Details</h3> |
| 251 | </div> |
| 252 | </div> |
| 253 | </div> |
| 254 | <pre class="programlisting"> |
| 255 | db_vector_base_iterator(const db_vector_base_iterator< T > &vi) |
| 256 | </pre> |
| 257 | <pre class="programlisting"> |
| 258 | db_vector_base_iterator(db_container *powner, u_int32_t b_bulk_retrieval=0, |
| 259 | bool rmw=false, bool directdbget=true, |
| 260 | bool readonly=false) |
| 261 | </pre> |
| 262 | <pre class="programlisting"> |
| 263 | db_vector_base_iterator() |
| 264 | </pre> |
| 265 | </div> |
| 266 | <div class="sect2" lang="en" xml:lang="en"> |
| 267 | <div class="titlepage"> |
| 268 | <div> |
| 269 | <div> |
| 270 | <h3 class="title"><a id="idp50856488"></a>Group: Constructors and destroctor</h3> |
| 271 | </div> |
| 272 | </div> |
| 273 | </div> |
| 274 | <p>Do not construct iterators explictily using these constructors, but call db_vector::begin() const to get an valid iterator.</p> |
| 275 | <div class="simplesect" lang="en" xml:lang="en"> |
| 276 | <div class="titlepage"></div> |
| 277 | <p>db_vector::begin() const </p> |
| 278 | </div> |
| 279 | <p> |
| 280 | </p> |
| 281 | </div> |
| 282 | <div class="sect2" lang="en" xml:lang="en"> |
| 283 | <div class="titlepage"> |
| 284 | <div> |
| 285 | <div> |
| 286 | <h3 class="title"><a id="idp50907032"></a>Class</h3> |
| 287 | </div> |
| 288 | </div> |
| 289 | </div> |
| 290 | <p> |
| 291 | <a class="link" href="db_vector_base_iterator.html" title="Chapter 12. Db_vector_base_iterator">db_vector_base_iterator</a> |
| 292 | </p> |
| 293 | </div> |
| 294 | </div> |
| 295 | </div> |
| 296 | <div class="navfooter"> |
| 297 | <hr /> |
| 298 | <table width="100%" summary="Navigation footer"> |
| 299 | <tr> |
| 300 | <td width="40%" align="left"><a accesskey="p" href="db_vector_iterators.html">Prev</a> </td> |
| 301 | <td width="20%" align="center"> </td> |
| 302 | <td width="40%" align="right"> <a accesskey="n" href="stldb_vector_base_iteratordstr_db_vector_base_iterator.html">Next</a></td> |
| 303 | </tr> |
| 304 | <tr> |
| 305 | <td width="40%" align="left" valign="top">Chapter 11. |
| 306 | Iterator Classes for db_vector </td> |
| 307 | <td width="20%" align="center"> |
| 308 | <a accesskey="h" href="index.html">Home</a> |
| 309 | </td> |
| 310 | <td width="40%" align="right" valign="top"> ~db_vector_base_iterator</td> |
| 311 | </tr> |
| 312 | </table> |
| 313 | </div> |
| 314 | </body> |
| 315 | </html> |