• 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>at</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_vectoroperator_sqbrk.html" title="operator[]" />
12    <link rel="next" href="stldb_vectorfront.html" title="front" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">
19at
20</th>
21        </tr>
22        <tr>
23          <td width="20%" align="left"><a accesskey="p" href="stldb_vectoroperator_sqbrk.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_vectorfront.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_vectorat"></a>
36at
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">
51reference��at(index_type��n)
52 </pre>
53        <div class="sect3" lang="en" xml:lang="en">
54          <div class="titlepage"></div>
55          <p>Index function. </p>
56          <p></p>
57        </div>
58        <div class="sect3" lang="en" xml:lang="en">
59          <div class="titlepage">
60            <div>
61              <div>
62                <h4 class="title"><a id="id1546798"></a>
63Parameters</h4>
64              </div>
65            </div>
66          </div>
67          <div class="sect4" lang="en" xml:lang="en">
68            <div class="titlepage">
69              <div>
70                <div>
71                  <h5 class="title"><a id="id1546911"></a>
72 n </h5>
73                </div>
74              </div>
75            </div>
76            <p>The valid index of the vector. </p>
77          </div>
78        </div>
79        <div class="sect3" lang="en" xml:lang="en">
80          <div class="titlepage">
81            <div>
82              <div>
83                <h4 class="title"><a id="id1546801"></a>
84Return Value</h4>
85              </div>
86            </div>
87          </div>
88          <p>The reference to the element at specified position, can act as both a left value and a right value. </p>
89        </div>
90        <div class="sect3" lang="en" xml:lang="en">
91          <div class="titlepage">
92            <div>
93              <div>
94                <h4 class="title"><a id="id1546909"></a>
95See Also</h4>
96              </div>
97            </div>
98          </div>
99          <p>
100    </p>
101          <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/at.html" target="_top">http://www.cplusplus.com/reference/stl/vector/at.html</a> </p>
102          <p>   </p>
103        </div>
104        <pre class="programlisting">
105const_reference��at(index_type��n)��const
106 </pre>
107        <div class="sect3" lang="en" xml:lang="en">
108          <div class="titlepage"></div>
109          <p>Read only index function. </p>
110          <p>Only used as a right value, no need for assignment capability. The return value can't be used to update the element. </p>
111        </div>
112        <div class="sect3" lang="en" xml:lang="en">
113          <div class="titlepage">
114            <div>
115              <div>
116                <h4 class="title"><a id="id1546875"></a>
117Parameters</h4>
118              </div>
119            </div>
120          </div>
121          <div class="sect4" lang="en" xml:lang="en">
122            <div class="titlepage">
123              <div>
124                <div>
125                  <h5 class="title"><a id="id1546965"></a>
126 n </h5>
127                </div>
128              </div>
129            </div>
130            <p>The valid index of the vector. </p>
131          </div>
132        </div>
133        <div class="sect3" lang="en" xml:lang="en">
134          <div class="titlepage">
135            <div>
136              <div>
137                <h4 class="title"><a id="id1546876"></a>
138Return Value</h4>
139              </div>
140            </div>
141          </div>
142          <p>The const reference to the element at specified position. </p>
143        </div>
144        <div class="sect3" lang="en" xml:lang="en">
145          <div class="titlepage">
146            <div>
147              <div>
148                <h4 class="title"><a id="id1546905"></a>
149See Also</h4>
150              </div>
151            </div>
152          </div>
153          <p>
154    </p>
155          <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/at.html" target="_top">http://www.cplusplus.com/reference/stl/vector/at.html</a> </p>
156          <p>   </p>
157        </div>
158      </div>
159      <div class="sect2" lang="en" xml:lang="en">
160        <div class="titlepage">
161          <div>
162            <div>
163              <h3 class="title"><a id="id1546906"></a>
164Group: Element access functions.</h3>
165            </div>
166          </div>
167        </div>
168        <p>The operator[] and <a class="link" href="stldb_vectorat.html" title="at">at()</a>
169 only come from std::vector and std::deque, If you are using <a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector">db_vector</a>
170 as std::list, you don't have to set DB_RENUMBER flag to the backing database handle, and you get better performance, but at the same time you can't use these functions.</p>
171        <p>Otherwise if you have set the DB_RENUMBER flag to the backing database handle, you can use this function though it is an std::list equivalent. </p>
172      </div>
173      <div class="sect2" lang="en" xml:lang="en">
174        <div class="titlepage">
175          <div>
176            <div>
177              <h3 class="title"><a id="id1546829"></a>
178Class</h3>
179            </div>
180          </div>
181        </div>
182        <p>
183  <a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector">
184  db_vector</a>
185     </p>
186      </div>
187    </div>
188    <div class="navfooter">
189      <hr />
190      <table width="100%" summary="Navigation footer">
191        <tr>
192          <td width="40%" align="left"><a accesskey="p" href="stldb_vectoroperator_sqbrk.html">Prev</a>��</td>
193          <td width="20%" align="center">
194            <a accesskey="u" href="db_vector.html">Up</a>
195          </td>
196          <td width="40%" align="right">��<a accesskey="n" href="stldb_vectorfront.html">Next</a></td>
197        </tr>
198        <tr>
199          <td width="40%" align="left" valign="top">
200operator[]
201��</td>
202          <td width="20%" align="center">
203            <a accesskey="h" href="index.html">Home</a>
204          </td>
205          <td width="40%" align="right" valign="top">��
206front
207</td>
208        </tr>
209      </table>
210    </div>
211  </body>
212</html>
213