Debian Codegraph @

docs/api_reference/STL/db_reverse_iterator.html

raw symbols SCIP
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 20.  Db_reverse_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="stldb_set_iteratorrefresh.html" title="refresh" />
12 <link rel="next" href="stldb_reverse_iteratoroperator_decr.html" title="operator--" />
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 20. 
22 Db_reverse_iterator </th>
23 </tr>
24 <tr>
25 <td width="20%" align="left"><a accesskey="p" href="stldb_set_iteratorrefresh.html">Prev</a> </td>
26 <th width="60%" align="center"> </th>
27 <td width="20%" align="right"> <a accesskey="n" href="stldb_reverse_iteratoroperator_decr.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_reverse_iterator"></a>Chapter 20. 
37 Db_reverse_iterator </h2>
38 </div>
39 </div>
40 </div>
41 <p>This class is the reverse class adaptor for all dbstl iterator classes. </p>
42 <p>It inherits from real iterator classes like <a class="link" href="db_vector_iterator.html" title="Chapter 13.  Db_vector_iterator">db_vector_iterator</a>
43 , <a class="link" href="db_map_iterator.html" title="Chapter 16.  Db_map_iterator">db_map_iterator</a>
44 or <a class="link" href="db_set_iterator.html" title="Chapter 19.  Db_set_iterator">db_set_iterator</a>
45 . When you call container::rbegin(), you will get an instance of this class. </p>
46 <h4><a id="idp51351848"></a>
47 See Also
48 </h4>
49 <p> </p>
50 <p><a class="link" href="db_vector_base_iterator.html" title="Chapter 12.  Db_vector_base_iterator">db_vector_base_iterator</a>
51 <a class="link" href="db_vector_iterator.html" title="Chapter 13.  Db_vector_iterator">db_vector_iterator</a>
52 <a class="link" href="db_map_base_iterator.html" title="Chapter 15.  Db_map_base_iterator">db_map_base_iterator</a>
53 <a class="link" href="db_map_iterator.html" title="Chapter 16.  Db_map_iterator">db_map_iterator</a>
54 <a class="link" href="db_set_base_iterator.html" title="Chapter 18.  Db_set_base_iterator">db_set_base_iterator</a>
55 <a class="link" href="db_set_iterator.html" title="Chapter 19.  Db_set_iterator">db_set_iterator</a>
56 </p>
57 <h4><a id="idp51352232"></a> Public Members </h4>
58 <div class="informaltable">
59 <table border="1" width="80%">
60 <colgroup>
61 <col />
62 <col />
63 </colgroup>
64 <thead>
65 <tr>
66 <th>Member</th>
67 <th>Description</th>
68 </tr>
69 </thead>
70 <tbody>
71 <tr>
72 <td>
73 <a class="xref" href="db_reverse_iterator.html#stldb_reverse_iteratoroperator_incr" title="operator++">operator++</a>
74 </td>
75 <td>
76 <p>Move this iterator forward by one element. </p> </td>
77 </tr>
78 <tr>
79 <td>
80 <a class="xref" href="stldb_reverse_iteratoroperator_decr.html" title="operator--">operator--</a>
81 </td>
82 <td>
83 <p>Move this iterator backward by one element. </p> </td>
84 </tr>
85 <tr>
86 <td>
87 <a class="xref" href="stldb_reverse_iteratoroperator_add.html" title="operator+">operator+</a>
88 </td>
89 <td>
90 <p>Iterator shuffle operator. </p> </td>
91 </tr>
92 <tr>
93 <td>
94 <a class="xref" href="stldb_reverse_iteratoroperator_sub.html" title="operator-">operator-</a>
95 </td>
96 <td>
97 <p>Iterator shuffle operator. </p> </td>
98 </tr>
99 <tr>
100 <td>
101 <a class="xref" href="stldb_reverse_iteratoroperator_ia.html" title="operator+=">operator+=</a>
102 </td>
103 <td>
104 <p>Iterator shuffle operator. </p> </td>
105 </tr>
106 <tr>
107 <td>
108 <a class="xref" href="stldb_reverse_iteratoroperator_sa.html" title="operator-=">operator-=</a>
109 </td>
110 <td>
111 <p>Iterator shuffle operator. </p> </td>
112 </tr>
113 <tr>
114 <td>
115 <a class="xref" href="stldb_reverse_iteratoroperator_lt.html" title="operator&lt;">operator&lt;</a>
116 </td>
117 <td>
118 <p>Less compare operator. </p> </td>
119 </tr>
120 <tr>
121 <td>
122 <a class="xref" href="stldb_reverse_iteratoroperator_gt.html" title="operator&gt;">operator&gt;</a>
123 </td>
124 <td>
125 <p>Greater compare operator. </p> </td>
126 </tr>
127 <tr>
128 <td>
129 <a class="xref" href="stldb_reverse_iteratoroperator_le.html" title="operator&lt;=">operator&lt;=</a>
130 </td>
131 <td>
132 <p>Less equal compare operator. </p> </td>
133 </tr>
134 <tr>
135 <td>
136 <a class="xref" href="stldb_reverse_iteratoroperator_ge.html" title="operator&gt;=">operator&gt;=</a>
137 </td>
138 <td>
139 <p>Greater equal compare operator. </p> </td>
140 </tr>
141 <tr>
142 <td>
143 <a class="xref" href="stldb_reverse_iteratordb_reverse_iterator.html" title="db_reverse_iterator">db_reverse_iterator</a>
144 </td>
145 <td>
146 <p>Constructor. Construct from an iterator of wrapped type. </p> </td>
147 </tr>
148 <tr>
149 <td>
150 <a class="xref" href="stldb_reverse_iteratoroperator_assign.html" title="operator=">operator=</a>
151 </td>
152 <td>
153 <p>Assignment operator. </p> </td>
154 </tr>
155 <tr>
156 <td>
157 <a class="xref" href="stldb_reverse_iteratoroperator_sqbrk.html" title="operator[]">operator[]</a>
158 </td>
159 <td>
160 <p>Return the reference of the element which can be reached by moving this reverse iterator by Off times backward. </p> </td>
161 </tr>
162 </tbody>
163 </table>
164 </div>
165 <h4><a id="idp51354816"></a>
166 Group</h4>
167 <p>
168 <a class="xref" href="dbstl_iterators.html" title="Chapter 9.  Dbstl Iterator Classes">
169 Dbstl Iterator Classes </a>
170 </p>
171 <p>
172 </p>
173 <div class="sect1" lang="en" xml:lang="en">
174 <div class="titlepage">
175 <div>
176 <div>
177 <h2 class="title" style="clear: both"><a id="stldb_reverse_iteratoroperator_incr"></a>operator++</h2>
178 </div>
179 </div>
180 </div>
181 <div class="sect2" lang="en" xml:lang="en">
182 <div class="titlepage">
183 <div>
184 <div>
185 <h3 class="title"><a id="stldb_reverse_iteratoroperator_incr_details"></a>Function Details</h3>
186 </div>
187 </div>
188 </div>
189 <pre class="programlisting">
190 self&amp; operator++()
191 </pre>
192 <p>Move this iterator forward by one element. </p>
193 <div class="sect3" lang="en" xml:lang="en">
194 <div class="titlepage">
195 <div>
196 <div>
197 <h4 class="title"><a id="idp51306536"></a>Return Value</h4>
198 </div>
199 </div>
200 </div>
201 <p>The moved iterator at new position. </p>
202 </div>
203 <pre class="programlisting">
204 self operator++(int)
205 </pre>
206 <p>Move this iterator forward by one element. </p>
207 <div class="sect3" lang="en" xml:lang="en">
208 <div class="titlepage">
209 <div>
210 <div>
211 <h4 class="title"><a id="idp51385912"></a>Return Value</h4>
212 </div>
213 </div>
214 </div>
215 <p>The original iterator at old position. </p>
216 </div>
217 </div>
218 <div class="sect2" lang="en" xml:lang="en">
219 <div class="titlepage">
220 <div>
221 <div>
222 <h3 class="title"><a id="idp51369184"></a>Group: Reverse iterator movement functions</h3>
223 </div>
224 </div>
225 </div>
226 <p>When we talk about reverse iterator movement, we think the container is a uni-directional range, represented by [begin, end), and this is true no matter we are using iterators or reverse iterators.</p>
227 <p>When an iterator is moved closer to "begin", we say it is moved forward, otherwise we say it is moved backward. </p>
228 </div>
229 <div class="sect2" lang="en" xml:lang="en">
230 <div class="titlepage">
231 <div>
232 <div>
233 <h3 class="title"><a id="idp51386624"></a>Class</h3>
234 </div>
235 </div>
236 </div>
237 <p>
238 <a class="link" href="db_reverse_iterator.html" title="Chapter 20.  Db_reverse_iterator">db_reverse_iterator</a>
239 </p>
240 </div>
241 </div>
242 </div>
243 <div class="navfooter">
244 <hr />
245 <table width="100%" summary="Navigation footer">
246 <tr>
247 <td width="40%" align="left"><a accesskey="p" href="stldb_set_iteratorrefresh.html">Prev</a> </td>
248 <td width="20%" align="center"> </td>
249 <td width="40%" align="right"> <a accesskey="n" href="stldb_reverse_iteratoroperator_decr.html">Next</a></td>
250 </tr>
251 <tr>
252 <td width="40%" align="left" valign="top">refresh </td>
253 <td width="20%" align="center">
254 <a accesskey="h" href="index.html">Home</a>
255 </td>
256 <td width="40%" align="right" valign="top"> operator--</td>
257 </tr>
258 </table>
259 </div>
260 </body>
261 </html>