• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/docs/api_reference/STL/
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��11.�� Iterator Classes for db_vector</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_base_iteratoris_directdb_get.html" title="is_directdb_get" />
12    <link rel="next" href="db_vector_base_iterator.html" title="Chapter��12.�� Db_vector_base_iterator" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Chapter��11.��
19 Iterator Classes for db_vector  </th>
20        </tr>
21        <tr>
22          <td width="20%" align="left"><a accesskey="p" href="stldb_base_iteratoris_directdb_get.html">Prev</a>��</td>
23          <th width="60%" align="center">��</th>
24          <td width="20%" align="right">��<a accesskey="n" href="db_vector_base_iterator.html">Next</a></td>
25        </tr>
26      </table>
27      <hr />
28    </div>
29    <div class="chapter" lang="en" xml:lang="en">
30      <div class="titlepage">
31        <div>
32          <div>
33            <h2 class="title"><a id="db_vector_iterators"></a>Chapter��11.��
34 Iterator Classes for db_vector  </h2>
35          </div>
36        </div>
37      </div>
38      <p><a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector">db_vector</a>
39 has two iterator classes --- <a class="link" href="db_vector_base_iterator.html" title="Chapter��12.�� Db_vector_base_iterator">db_vector_base_iterator</a>
40 and <a class="link" href="db_vector_iterator.html" title="Chapter��13.�� Db_vector_iterator">db_vector_iterator</a>
41. </p>
42      <p>The differences between the two classes are that the <a class="link" href="db_vector_base_iterator.html" title="Chapter��12.�� Db_vector_base_iterator">db_vector_base_iterator</a>
43 can only be used to read its referenced value, so it is intended as db_vector's const iterator; While the other class 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. The two classes have identical behaviors to std::vector::const_iterator and std::vector::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>
44 section. </p>
45      <h4><a id="id1558490"></a>
46See Also
47</h4>
48      <p> </p>
49      <p><a class="link" href="db_base_iterator.html" title="Chapter��10.�� Db_base_iterator">db_base_iterator</a>
50 </p>
51      <h4><a id="id1557964"></a> Public Members </h4>
52      <div class="informaltable">
53        <table border="1" width="80%">
54          <colgroup>
55            <col />
56            <col />
57          </colgroup>
58          <thead>
59            <tr>
60              <th>Member</th>
61              <th>Description</th>
62            </tr>
63          </thead>
64          <tbody>
65            <tr>
66              <td>
67<a class="link" href="db_vector_base_iterator.html" title="Chapter��12.�� Db_vector_base_iterator">
68db_vector_base_iterator</a>
69</td>
70              <td>
71db_vector_base_iterator</td>
72            </tr>
73            <tr>
74              <td>
75<a class="link" href="db_vector_iterator.html" title="Chapter��13.�� Db_vector_iterator">
76db_vector_iterator</a>
77</td>
78              <td>
79db_vector_iterator</td>
80            </tr>
81          </tbody>
82        </table>
83      </div>
84      <h4><a id="id1558065"></a>
85Group</h4>
86      <p>
87<a class="xref" href="dbstl_iterators.html" title="Chapter��9.�� Dbstl Iterator Classes">
88 Dbstl Iterator Classes  </a>
89</p>
90      <p>
91</p>
92    </div>
93    <div class="navfooter">
94      <hr />
95      <table width="100%" summary="Navigation footer">
96        <tr>
97          <td width="40%" align="left"><a accesskey="p" href="stldb_base_iteratoris_directdb_get.html">Prev</a>��</td>
98          <td width="20%" align="center">��</td>
99          <td width="40%" align="right">��<a accesskey="n" href="db_vector_base_iterator.html">Next</a></td>
100        </tr>
101        <tr>
102          <td width="40%" align="left" valign="top">
103is_directdb_get
104��</td>
105          <td width="20%" align="center">
106            <a accesskey="h" href="index.html">Home</a>
107          </td>
108          <td width="40%" align="right" valign="top">��Chapter��12.��
109 Db_vector_base_iterator  </td>
110        </tr>
111      </table>
112    </div>
113  </body>
114</html>
115