• 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>is_hash</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_map.html" title="Chapter��5.�� Db_map" />
11    <link rel="prev" href="stldb_maprend.html" title="rend" />
12    <link rel="next" href="stldb_mapbucket_count.html" title="bucket_count" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">
19is_hash
20</th>
21        </tr>
22        <tr>
23          <td width="20%" align="left"><a accesskey="p" href="stldb_maprend.html">Prev</a>��</td>
24          <th width="60%" align="center">Chapter��5.��
25 Db_map  </th>
26          <td width="20%" align="right">��<a accesskey="n" href="stldb_mapbucket_count.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_mapis_hash"></a>
36is_hash
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">
51bool��is_hash()��const
52 </pre>
53        <div class="sect3" lang="en" xml:lang="en">
54          <div class="titlepage"></div>
55          <p>Get container category. </p>
56          <p>Determines whether this container object is a std::map&lt;&gt; equivalent(when returns false) or that of hash_map&lt;&gt; class(when returns true). This method is not in stl, but it may be called by users because some operations are not supported by both type(map/hash_map) of containers, you need to call this function to distinguish the two types. dbstl will not stop you from calling the wrong methods of this class. </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="id1551269"></a>
63Return Value</h4>
64              </div>
65            </div>
66          </div>
67          <p>Returns true if this container is a hash container based on a Berkeley DB hash database; returns false if it is based on a Berkeley DB btree database. </p>
68        </div>
69      </div>
70      <div class="sect2" lang="en" xml:lang="en">
71        <div class="titlepage">
72          <div>
73            <div>
74              <h3 class="title"><a id="id1551514"></a>
75Group: Metadata Functions</h3>
76            </div>
77          </div>
78        </div>
79        <p>These functions return metadata about the container. </p>
80      </div>
81      <div class="sect2" lang="en" xml:lang="en">
82        <div class="titlepage">
83          <div>
84            <div>
85              <h3 class="title"><a id="id1551751"></a>
86Class</h3>
87            </div>
88          </div>
89        </div>
90        <p>
91  <a class="link" href="db_map.html" title="Chapter��5.�� Db_map">
92  db_map</a>
93     </p>
94      </div>
95    </div>
96    <div class="navfooter">
97      <hr />
98      <table width="100%" summary="Navigation footer">
99        <tr>
100          <td width="40%" align="left"><a accesskey="p" href="stldb_maprend.html">Prev</a>��</td>
101          <td width="20%" align="center">
102            <a accesskey="u" href="db_map.html">Up</a>
103          </td>
104          <td width="40%" align="right">��<a accesskey="n" href="stldb_mapbucket_count.html">Next</a></td>
105        </tr>
106        <tr>
107          <td width="40%" align="left" valign="top">
108rend
109��</td>
110          <td width="20%" align="center">
111            <a accesskey="h" href="index.html">Home</a>
112          </td>
113          <td width="40%" align="right" valign="top">��
114bucket_count
115</td>
116        </tr>
117      </table>
118    </div>
119  </body>
120</html>
121