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>rbegin</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="db_vector.html" title="Chapter��4.�� Db_vector" /> 11 <link rel="prev" href="stldb_vectorend.html" title="end" /> 12 <link rel="next" href="stldb_vectorrend.html" title="rend" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center"> 19rbegin 20</th> 21 </tr> 22 <tr> 23 <td width="20%" align="left"><a accesskey="p" href="stldb_vectorend.html">Prev</a>��</td> 24 <th width="60%" align="center">Chapter��4.�� 25 Db_vector </th> 26 <td width="20%" align="right">��<a accesskey="n" href="stldb_vectorrend.html">Next</a></td> 27 </tr> 28 </table> 29 <hr /> 30 </div> 31 <div class="sect1" lang="en" xml:lang="en"> 32 <div class="titlepage"> 33 <div> 34 <div> 35 <h2 class="title" style="clear: both"><a id="stldb_vectorrbegin"></a> 36rbegin 37</h2> 38 </div> 39 </div> 40 </div> 41 <div class="sect2" lang="en" xml:lang="en"> 42 <div class="titlepage"> 43 <div> 44 <div> 45 <h3 class="title"><a id="func_details"></a> 46Function Details</h3> 47 </div> 48 </div> 49 </div> 50 <pre class="programlisting"> 51reverse_iterator��rbegin(ReadModifyWriteOption��rmw= 52��������ReadModifyWriteOption::no_read_modify_write(),��bool��readonly=false, 53��������BulkRetrievalOption��bulk_read=BulkRetrievalOption::no_bulk_retrieval(), 54��������bool��directdb_get=true) 55 </pre> 56 <div class="sect3" lang="en" xml:lang="en"> 57 <div class="titlepage"></div> 58 <p>Create a reverse iterator. </p> 59 <p>This function creates a reverse iterator initialized to sit on the last element in the underlying database, and can be used to read/write. The meaning and usage of its parameters are identical to the above begin function. </p> 60 </div> 61 <div class="sect3" lang="en" xml:lang="en"> 62 <div class="titlepage"> 63 <div> 64 <div> 65 <h4 class="title"><a id="id1546339"></a> 66Parameters</h4> 67 </div> 68 </div> 69 </div> 70 <div class="sect4" lang="en" xml:lang="en"> 71 <div class="titlepage"> 72 <div> 73 <div> 74 <h5 class="title"><a id="id1546484"></a> 75 directdb_get </h5> 76 </div> 77 </div> 78 </div> 79 <p>Same as that of begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 80 </div> 81 <div class="sect4" lang="en" xml:lang="en"> 82 <div class="titlepage"> 83 <div> 84 <div> 85 <h5 class="title"><a id="id1546480"></a> 86 bulk_read </h5> 87 </div> 88 </div> 89 </div> 90 <p>Same as that of begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 91 </div> 92 <div class="sect4" lang="en" xml:lang="en"> 93 <div class="titlepage"> 94 <div> 95 <div> 96 <h5 class="title"><a id="id1546560"></a> 97 rmw </h5> 98 </div> 99 </div> 100 </div> 101 <p>Same as that of begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 102 </div> 103 <div class="sect4" lang="en" xml:lang="en"> 104 <div class="titlepage"> 105 <div> 106 <div> 107 <h5 class="title"><a id="id1546580"></a> 108 readonly </h5> 109 </div> 110 </div> 111 </div> 112 <p>Same as that of begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 113 </div> 114 </div> 115 <div class="sect3" lang="en" xml:lang="en"> 116 <div class="titlepage"> 117 <div> 118 <div> 119 <h4 class="title"><a id="id1546487"></a> 120Return Value</h4> 121 </div> 122 </div> 123 </div> 124 <p>The created iterator. </p> 125 </div> 126 <div class="sect3" lang="en" xml:lang="en"> 127 <div class="titlepage"> 128 <div> 129 <div> 130 <h4 class="title"><a id="id1546573"></a> 131See Also</h4> 132 </div> 133 </div> 134 </div> 135 <p> 136 </p> 137 <p>begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 138 <p> </p> 139 </div> 140 <pre class="programlisting"> 141const_reverse_iterator��rbegin(BulkRetrievalOption��bulkretrieval= 142��������BulkRetrievalOption(BulkRetrievalOption::no_bulk_retrieval()), 143��������bool��directdb_get=true)��const 144 </pre> 145 <div class="sect3" lang="en" xml:lang="en"> 146 <div class="titlepage"></div> 147 <p>Create a const reverse iterator. </p> 148 <p>This function creates a const reverse iterator initialized to sit on the last element in the backing database, and can only read the element, it is only available to const <a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector">db_vector</a> 149 containers. The meaning and usage of its parameters are identical as above. </p> 150 </div> 151 <div class="sect3" lang="en" xml:lang="en"> 152 <div class="titlepage"> 153 <div> 154 <div> 155 <h4 class="title"><a id="id1546629"></a> 156Parameters</h4> 157 </div> 158 </div> 159 </div> 160 <div class="sect4" lang="en" xml:lang="en"> 161 <div class="titlepage"> 162 <div> 163 <div> 164 <h5 class="title"><a id="id1546495"></a> 165 directdb_get </h5> 166 </div> 167 </div> 168 </div> 169 <p>Same as that of begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 170 </div> 171 <div class="sect4" lang="en" xml:lang="en"> 172 <div class="titlepage"> 173 <div> 174 <div> 175 <h5 class="title"><a id="id1546056"></a> 176 bulkretrieval </h5> 177 </div> 178 </div> 179 </div> 180 <p>Same as that of begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 181 </div> 182 </div> 183 <div class="sect3" lang="en" xml:lang="en"> 184 <div class="titlepage"> 185 <div> 186 <div> 187 <h4 class="title"><a id="id1546496"></a> 188Return Value</h4> 189 </div> 190 </div> 191 </div> 192 <p>The created iterator. </p> 193 </div> 194 <div class="sect3" lang="en" xml:lang="en"> 195 <div class="titlepage"> 196 <div> 197 <div> 198 <h4 class="title"><a id="id1544960"></a> 199See Also</h4> 200 </div> 201 </div> 202 </div> 203 <p> 204 </p> 205 <p>begin(ReadModifyWrite, bool, BulkRetrievalOption, bool); </p> 206 <p> </p> 207 </div> 208 </div> 209 <div class="sect2" lang="en" xml:lang="en"> 210 <div class="titlepage"> 211 <div> 212 <div> 213 <h3 class="title"><a id="id1546270"></a> 214Class</h3> 215 </div> 216 </div> 217 </div> 218 <p> 219 <a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector"> 220 db_vector</a> 221 </p> 222 </div> 223 </div> 224 <div class="navfooter"> 225 <hr /> 226 <table width="100%" summary="Navigation footer"> 227 <tr> 228 <td width="40%" align="left"><a accesskey="p" href="stldb_vectorend.html">Prev</a>��</td> 229 <td width="20%" align="center"> 230 <a accesskey="u" href="db_vector.html">Up</a> 231 </td> 232 <td width="40%" align="right">��<a accesskey="n" href="stldb_vectorrend.html">Next</a></td> 233 </tr> 234 <tr> 235 <td width="40%" align="left" valign="top"> 236end 237��</td> 238 <td width="20%" align="center"> 239 <a accesskey="h" href="index.html">Home</a> 240 </td> 241 <td width="40%" align="right" valign="top">�� 242rend 243</td> 244 </tr> 245 </table> 246 </div> 247 </body> 248</html> 249