Debian Codegraph @

docs/api_reference/STL/stldb_mapswap.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>swap</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_mapoperator_sqbrk.html" title="operator[]" />
12 <link rel="next" href="stldb_mapclear.html" title="clear" />
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">swap</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="stldb_mapoperator_sqbrk.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 5. 
26 Db_map </th>
27 <td width="20%" align="right"> <a accesskey="n" href="stldb_mapclear.html">Next</a></td>
28 </tr>
29 </table>
30 <hr />
31 </div>
32 <div class="sect1" lang="en" xml:lang="en">
33 <div class="titlepage">
34 <div>
35 <div>
36 <h2 class="title" style="clear: both"><a id="stldb_mapswap"></a>swap</h2>
37 </div>
38 </div>
39 </div>
40 <div class="sect2" lang="en" xml:lang="en">
41 <div class="titlepage">
42 <div>
43 <div>
44 <h3 class="title"><a id="stldb_mapswap_details"></a>Function Details</h3>
45 </div>
46 </div>
47 </div>
48 <pre class="programlisting">
49 void swap(db_map&lt; kdt, ddt, value_type_sub &gt; &amp;mp,
50 bool b_truncate=true)
51 </pre>
52 <p>Swap content with container mp. </p>
53 <p>This function supports auto-commit. </p>
54 <div class="sect3" lang="en" xml:lang="en">
55 <div class="titlepage">
56 <div>
57 <div>
58 <h4 class="title"><a id="idp50551048"></a>Parameters</h4>
59 </div>
60 </div>
61 </div>
62 <div class="sect4" lang="en" xml:lang="en">
63 <div class="titlepage">
64 <div>
65 <div>
66 <h5 class="title"><a id="idp50559680"></a>b_truncate</h5>
67 </div>
68 </div>
69 </div>
70 <p>See <a class="link" href="stldb_vectorswap.html" title="swap">db_vector::swap()</a>
71 for details. </p>
72 </div>
73 <div class="sect4" lang="en" xml:lang="en">
74 <div class="titlepage">
75 <div>
76 <div>
77 <h5 class="title"><a id="idp50558472"></a>mp</h5>
78 </div>
79 </div>
80 </div>
81 <p>The container to swap content with. </p>
82 </div>
83 </div>
84 <div class="sect3" lang="en" xml:lang="en">
85 <div class="titlepage">
86 <div>
87 <div>
88 <h4 class="title"><a id="idp50551368"></a>See Also</h4>
89 </div>
90 </div>
91 </div>
92 <p>
93 </p>
94 <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/map/swap/" target="_top">http://www.cplusplus.com/reference/stl/map/swap/</a> <a class="link" href="stldb_vectorclear.html" title="clear">db_vector::clear()</a>
95 </p>
96 <p>
97 </p>
98 </div>
99 </div>
100 <div class="sect2" lang="en" xml:lang="en">
101 <div class="titlepage">
102 <div>
103 <div>
104 <h3 class="title"><a id="idp50558576"></a>Class</h3>
105 </div>
106 </div>
107 </div>
108 <p>
109 <a class="link" href="db_map.html" title="Chapter 5.  Db_map">db_map</a>
110 </p>
111 </div>
112 </div>
113 <div class="navfooter">
114 <hr />
115 <table width="100%" summary="Navigation footer">
116 <tr>
117 <td width="40%" align="left"><a accesskey="p" href="stldb_mapoperator_sqbrk.html">Prev</a> </td>
118 <td width="20%" align="center">
119 <a accesskey="u" href="db_map.html">Up</a>
120 </td>
121 <td width="40%" align="right"> <a accesskey="n" href="stldb_mapclear.html">Next</a></td>
122 </tr>
123 <tr>
124 <td width="40%" align="left" valign="top">operator[] </td>
125 <td width="20%" align="center">
126 <a accesskey="h" href="index.html">Home</a>
127 </td>
128 <td width="40%" align="right" valign="top"> clear</td>
129 </tr>
130 </table>
131 </div>
132 </body>
133 </html>