Debian Codegraph @

docs/api_reference/STL/db_map_iterators.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 14.  Iterator Classes for db_map and db_multimap</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_vector_iteratorrefresh.html" title="refresh" />
12 <link rel="next" href="db_map_base_iterator.html" title="Chapter 15.  Db_map_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 14. 
22 Iterator Classes for db_map and db_multimap </th>
23 </tr>
24 <tr>
25 <td width="20%" align="left"><a accesskey="p" href="stldb_vector_iteratorrefresh.html">Prev</a> </td>
26 <th width="60%" align="center"> </th>
27 <td width="20%" align="right"> <a accesskey="n" href="db_map_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_map_iterators"></a>Chapter 14. 
37 Iterator Classes for db_map and db_multimap </h2>
38 </div>
39 </div>
40 </div>
41 <p><a class="link" href="db_map.html" title="Chapter 5.  Db_map">db_map</a>
42 has two iterator class templates -- <a class="link" href="db_map_base_iterator.html" title="Chapter 15.  Db_map_base_iterator">db_map_base_iterator</a>
43 and <a class="link" href="db_map_iterator.html" title="Chapter 16.  Db_map_iterator">db_map_iterator</a>
44 . </p>
45 <p>They are the const iterator class and iterator class for <a class="link" href="db_map.html" title="Chapter 5.  Db_map">db_map</a>
46 and <a class="link" href="db_multimap.html" title="Chapter 6.  Db_multimap">db_multimap</a>
47 . <a class="link" href="db_map_iterator.html" title="Chapter 16.  Db_map_iterator">db_map_iterator</a>
48 inherits from <a class="link" href="db_map_base_iterator.html" title="Chapter 15.  Db_map_base_iterator">db_map_base_iterator</a>
49 .</p>
50 <p>The two classes have identical behaviors to std::map::const_iterator and std::map::iterator respectively. Note that the common public member function behaviors are described in the <a class="link" href="db_base_iterator.html" title="Chapter 10.  Db_base_iterator">db_base_iterator</a>
51 section.</p>
52 <p>The differences between the two classes are that the <a class="link" href="db_map_base_iterator.html" title="Chapter 15.  Db_map_base_iterator">db_map_base_iterator</a>
53 can only be used to read its referenced value, while <a class="link" href="db_map_iterator.html" title="Chapter 16.  Db_map_iterator">db_map_iterator</a>
54 allows both read and write access. If your access pattern is readonly, it is strongly recommended that you use the const iterator because it is faster and more efficient. </p>
55 <h4><a id="idp51088968"></a> Public Members </h4>
56 <div class="informaltable">
57 <table border="1" width="80%">
58 <colgroup>
59 <col />
60 <col />
61 </colgroup>
62 <thead>
63 <tr>
64 <th>Member</th>
65 <th>Description</th>
66 </tr>
67 </thead>
68 <tbody>
69 <tr>
70 <td>
71 <a class="link" href="db_map_base_iterator.html" title="Chapter 15.  Db_map_base_iterator">
72 db_map_base_iterator</a>
73 </td>
74 <td>
75 db_map_base_iterator</td>
76 </tr>
77 <tr>
78 <td>
79 <a class="link" href="db_map_iterator.html" title="Chapter 16.  Db_map_iterator">
80 db_map_iterator</a>
81 </td>
82 <td>
83 db_map_iterator</td>
84 </tr>
85 </tbody>
86 </table>
87 </div>
88 <h4><a id="idp51098376"></a>
89 Group</h4>
90 <p>
91 <a class="xref" href="dbstl_iterators.html" title="Chapter 9.  Dbstl Iterator Classes">
92 Dbstl Iterator Classes </a>
93 </p>
94 <p>
95 </p>
96 </div>
97 <div class="navfooter">
98 <hr />
99 <table width="100%" summary="Navigation footer">
100 <tr>
101 <td width="40%" align="left"><a accesskey="p" href="stldb_vector_iteratorrefresh.html">Prev</a> </td>
102 <td width="20%" align="center"> </td>
103 <td width="40%" align="right"> <a accesskey="n" href="db_map_base_iterator.html">Next</a></td>
104 </tr>
105 <tr>
106 <td width="40%" align="left" valign="top">refresh </td>
107 <td width="20%" align="center">
108 <a accesskey="h" href="index.html">Home</a>
109 </td>
110 <td width="40%" align="right" valign="top"> Chapter 15. 
111 Db_map_base_iterator </td>
112 </tr>
113 </table>
114 </div>
115 </body>
116 </html>