You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

180 lines
18 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.4"/>
  7. <title>tbb::interface5::concurrent_unordered_map&lt; Key, T, Hasher, Key_equality, Allocator &gt; Class Template Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <!-- end header part -->
  16. <!-- Generated by Doxygen 1.8.4 -->
  17. <div id="navrow1" class="tabs">
  18. <ul class="tablist">
  19. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  20. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  21. <li><a href="modules.html"><span>Modules</span></a></li>
  22. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  23. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  24. <li><a href="files.html"><span>Files</span></a></li>
  25. </ul>
  26. </div>
  27. <div id="navrow2" class="tabs2">
  28. <ul class="tablist">
  29. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  30. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  31. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  32. </ul>
  33. </div>
  34. <div id="nav-path" class="navpath">
  35. <ul>
  36. <li class="navelem"><a class="el" href="a00222.html">tbb</a></li><li class="navelem"><b>interface5</b></li><li class="navelem"><a class="el" href="a00040.html">concurrent_unordered_map</a></li> </ul>
  37. </div>
  38. </div><!-- top -->
  39. <div class="header">
  40. <div class="summary">
  41. <a href="#pub-types">Public Types</a> &#124;
  42. <a href="#pub-methods">Public Member Functions</a> &#124;
  43. <a href="a00342.html">List of all members</a> </div>
  44. <div class="headertitle">
  45. <div class="title">tbb::interface5::concurrent_unordered_map&lt; Key, T, Hasher, Key_equality, Allocator &gt; Class Template Reference</div> </div>
  46. </div><!--header-->
  47. <div class="contents">
  48. <div class="dynheader">
  49. Inheritance diagram for tbb::interface5::concurrent_unordered_map&lt; Key, T, Hasher, Key_equality, Allocator &gt;:</div>
  50. <div class="dyncontent">
  51. <div class="center">
  52. <img src="a00040.png" usemap="#tbb::interface5::concurrent_unordered_map&lt; Key, T, Hasher, Key_equality, Allocator &gt;_map" alt=""/>
  53. <map id="tbb::interface5::concurrent_unordered_map&lt; Key, T, Hasher, Key_equality, Allocator &gt;_map" name="tbb::interface5::concurrent_unordered_map&lt; Key, T, Hasher, Key_equality, Allocator &gt;_map">
  54. </map>
  55. </div></div>
  56. <table class="memberdecls">
  57. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  58. Public Types</h2></td></tr>
  59. <tr class="memitem:a35d2ace709769b7059e8f8b2a144f8b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35d2ace709769b7059e8f8b2a144f8b9"></a>
  60. typedef Key&#160;</td><td class="memItemRight" valign="bottom"><b>key_type</b></td></tr>
  61. <tr class="separator:a35d2ace709769b7059e8f8b2a144f8b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  62. <tr class="memitem:a9260034417dde6b3810347c5e347a9f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9260034417dde6b3810347c5e347a9f8"></a>
  63. typedef base_type::value_type&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
  64. <tr class="separator:a9260034417dde6b3810347c5e347a9f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  65. <tr class="memitem:a8ece8ff3de51bc415d8fc1338f793cbf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ece8ff3de51bc415d8fc1338f793cbf"></a>
  66. typedef T&#160;</td><td class="memItemRight" valign="bottom"><b>mapped_type</b></td></tr>
  67. <tr class="separator:a8ece8ff3de51bc415d8fc1338f793cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. <tr class="memitem:afeef87b046af352e20cd92e56c0fcf34"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afeef87b046af352e20cd92e56c0fcf34"></a>
  69. typedef Hasher&#160;</td><td class="memItemRight" valign="bottom"><b>hasher</b></td></tr>
  70. <tr class="separator:afeef87b046af352e20cd92e56c0fcf34"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. <tr class="memitem:a21f5f2fbf3b1f721051c6b4c5fa2a735"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21f5f2fbf3b1f721051c6b4c5fa2a735"></a>
  72. typedef Key_equality&#160;</td><td class="memItemRight" valign="bottom"><b>key_equal</b></td></tr>
  73. <tr class="separator:a21f5f2fbf3b1f721051c6b4c5fa2a735"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. <tr class="memitem:aa15c94df26d89ef38daa7516df5e0729"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa15c94df26d89ef38daa7516df5e0729"></a>
  75. typedef hash_compare&#160;</td><td class="memItemRight" valign="bottom"><b>key_compare</b></td></tr>
  76. <tr class="separator:aa15c94df26d89ef38daa7516df5e0729"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:a1acd4ab50584a9dc55712e0e113583e2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1acd4ab50584a9dc55712e0e113583e2"></a>
  78. typedef base_type::allocator_type&#160;</td><td class="memItemRight" valign="bottom"><b>allocator_type</b></td></tr>
  79. <tr class="separator:a1acd4ab50584a9dc55712e0e113583e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <tr class="memitem:a7e29fb2f75cdec0746afdbed0b9c5451"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e29fb2f75cdec0746afdbed0b9c5451"></a>
  81. typedef base_type::pointer&#160;</td><td class="memItemRight" valign="bottom"><b>pointer</b></td></tr>
  82. <tr class="separator:a7e29fb2f75cdec0746afdbed0b9c5451"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. <tr class="memitem:ab5d26f7002e7810e4c02890a1d7bdc41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5d26f7002e7810e4c02890a1d7bdc41"></a>
  84. typedef base_type::const_pointer&#160;</td><td class="memItemRight" valign="bottom"><b>const_pointer</b></td></tr>
  85. <tr class="separator:ab5d26f7002e7810e4c02890a1d7bdc41"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a01e118e1e0bfe57083d8f76f4f848d2b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01e118e1e0bfe57083d8f76f4f848d2b"></a>
  87. typedef base_type::reference&#160;</td><td class="memItemRight" valign="bottom"><b>reference</b></td></tr>
  88. <tr class="separator:a01e118e1e0bfe57083d8f76f4f848d2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:ad1072935f6765abe3ec1b04f24f80deb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1072935f6765abe3ec1b04f24f80deb"></a>
  90. typedef base_type::const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>const_reference</b></td></tr>
  91. <tr class="separator:ad1072935f6765abe3ec1b04f24f80deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:ae31360122b604d6735b12fc027f10924"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae31360122b604d6735b12fc027f10924"></a>
  93. typedef base_type::size_type&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b></td></tr>
  94. <tr class="separator:ae31360122b604d6735b12fc027f10924"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:a0f903f0ca898b0aa80e3a6b921b8f21a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f903f0ca898b0aa80e3a6b921b8f21a"></a>
  96. typedef base_type::difference_type&#160;</td><td class="memItemRight" valign="bottom"><b>difference_type</b></td></tr>
  97. <tr class="separator:a0f903f0ca898b0aa80e3a6b921b8f21a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a267aff808d10aa0c437fd9261286467e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a267aff808d10aa0c437fd9261286467e"></a>
  99. typedef base_type::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
  100. <tr class="separator:a267aff808d10aa0c437fd9261286467e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a5c2d1a61d1e6ed09fb3df14270d61a01"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c2d1a61d1e6ed09fb3df14270d61a01"></a>
  102. typedef base_type::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b></td></tr>
  103. <tr class="separator:a5c2d1a61d1e6ed09fb3df14270d61a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a744c0cf93efb5a134d6ddfb3a5fb75d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a744c0cf93efb5a134d6ddfb3a5fb75d3"></a>
  105. typedef base_type::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>local_iterator</b></td></tr>
  106. <tr class="separator:a744c0cf93efb5a134d6ddfb3a5fb75d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a5df36261f0e5a1aea64235702fdacb62"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5df36261f0e5a1aea64235702fdacb62"></a>
  108. typedef base_type::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>const_local_iterator</b></td></tr>
  109. <tr class="separator:a5df36261f0e5a1aea64235702fdacb62"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table><table class="memberdecls">
  111. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  112. Public Member Functions</h2></td></tr>
  113. <tr class="memitem:a067ba3dc60d4701c92476437f2d57861"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a067ba3dc60d4701c92476437f2d57861"></a>
  114. &#160;</td><td class="memItemRight" valign="bottom"><b>concurrent_unordered_map</b> (size_type n_of_buckets=8, const hasher &amp;_Hasher=hasher(), const key_equal &amp;_Key_equality=key_equal(), const allocator_type &amp;a=allocator_type())</td></tr>
  115. <tr class="separator:a067ba3dc60d4701c92476437f2d57861"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:ad0e15127e237c29c923db83fb509f624"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0e15127e237c29c923db83fb509f624"></a>
  117. &#160;</td><td class="memItemRight" valign="bottom"><b>concurrent_unordered_map</b> (const Allocator &amp;a)</td></tr>
  118. <tr class="separator:ad0e15127e237c29c923db83fb509f624"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:ade184bd00a3092e670fbb4ba912bedaa"><td class="memTemplParams" colspan="2"><a class="anchor" id="ade184bd00a3092e670fbb4ba912bedaa"></a>
  120. template&lt;typename Iterator &gt; </td></tr>
  121. <tr class="memitem:ade184bd00a3092e670fbb4ba912bedaa"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>concurrent_unordered_map</b> (Iterator first, Iterator last, size_type n_of_buckets=8, const hasher &amp;_Hasher=hasher(), const key_equal &amp;_Key_equality=key_equal(), const allocator_type &amp;a=allocator_type())</td></tr>
  122. <tr class="separator:ade184bd00a3092e670fbb4ba912bedaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:aa45010d834cc5e082321b49fec06f73d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa45010d834cc5e082321b49fec06f73d"></a>
  124. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00040.html#aa45010d834cc5e082321b49fec06f73d">concurrent_unordered_map</a> (std::initializer_list&lt; value_type &gt; const &amp;il, size_type n_of_buckets=8, const hasher &amp;_Hasher=hasher(), const key_equal &amp;_Key_equality=key_equal(), const allocator_type &amp;a=allocator_type())</td></tr>
  125. <tr class="memdesc:aa45010d834cc5e082321b49fec06f73d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from initializer_list. <br/></td></tr>
  126. <tr class="separator:aa45010d834cc5e082321b49fec06f73d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a1593b0f93256736d163cfbcc23c7de26"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1593b0f93256736d163cfbcc23c7de26"></a>
  128. &#160;</td><td class="memItemRight" valign="bottom"><b>concurrent_unordered_map</b> (const <a class="el" href="a00040.html">concurrent_unordered_map</a> &amp;table)</td></tr>
  129. <tr class="separator:a1593b0f93256736d163cfbcc23c7de26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a2e1cce13f9fa458a616b424c84790c25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e1cce13f9fa458a616b424c84790c25"></a>
  131. &#160;</td><td class="memItemRight" valign="bottom"><b>concurrent_unordered_map</b> (const <a class="el" href="a00040.html">concurrent_unordered_map</a> &amp;table, const Allocator &amp;a)</td></tr>
  132. <tr class="separator:a2e1cce13f9fa458a616b424c84790c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a47b4eec40fac7fb8b6a8023758c1a34c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47b4eec40fac7fb8b6a8023758c1a34c"></a>
  134. <a class="el" href="a00040.html">concurrent_unordered_map</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="a00040.html">concurrent_unordered_map</a> &amp;table)</td></tr>
  135. <tr class="separator:a47b4eec40fac7fb8b6a8023758c1a34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:ad641e7a34077b6a490625da4858b509a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad641e7a34077b6a490625da4858b509a"></a>
  137. <a class="el" href="a00040.html">concurrent_unordered_map</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00040.html#ad641e7a34077b6a490625da4858b509a">operator=</a> (std::initializer_list&lt; value_type &gt; const &amp;il)</td></tr>
  138. <tr class="memdesc:ad641e7a34077b6a490625da4858b509a"><td class="mdescLeft">&#160;</td><td class="mdescRight">assignment operator from initializer_list <br/></td></tr>
  139. <tr class="separator:ad641e7a34077b6a490625da4858b509a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a7dfd40414bc9dd5b6bfdc79ae02d96c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7dfd40414bc9dd5b6bfdc79ae02d96c4"></a>
  141. iterator&#160;</td><td class="memItemRight" valign="bottom"><b>unsafe_erase</b> (const_iterator where)</td></tr>
  142. <tr class="separator:a7dfd40414bc9dd5b6bfdc79ae02d96c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:ab3d6536a7739b09fe9ee013026cdf8fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab3d6536a7739b09fe9ee013026cdf8fe"></a>
  144. size_type&#160;</td><td class="memItemRight" valign="bottom"><b>unsafe_erase</b> (const key_type &amp;key)</td></tr>
  145. <tr class="separator:ab3d6536a7739b09fe9ee013026cdf8fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:aa372bc29e1a2edb63286193c846db726"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa372bc29e1a2edb63286193c846db726"></a>
  147. iterator&#160;</td><td class="memItemRight" valign="bottom"><b>unsafe_erase</b> (const_iterator first, const_iterator last)</td></tr>
  148. <tr class="separator:aa372bc29e1a2edb63286193c846db726"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:aac713ca5a9715b6d32e889ab452becab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac713ca5a9715b6d32e889ab452becab"></a>
  150. void&#160;</td><td class="memItemRight" valign="bottom"><b>swap</b> (<a class="el" href="a00040.html">concurrent_unordered_map</a> &amp;table)</td></tr>
  151. <tr class="separator:aac713ca5a9715b6d32e889ab452becab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a266062d18ccb33886189738674921ef0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a266062d18ccb33886189738674921ef0"></a>
  153. hasher&#160;</td><td class="memItemRight" valign="bottom"><b>hash_function</b> () const </td></tr>
  154. <tr class="separator:a266062d18ccb33886189738674921ef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:aeda4a251af5d695f0c08e3927bd9a1a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeda4a251af5d695f0c08e3927bd9a1a4"></a>
  156. key_equal&#160;</td><td class="memItemRight" valign="bottom"><b>key_eq</b> () const </td></tr>
  157. <tr class="separator:aeda4a251af5d695f0c08e3927bd9a1a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:ae49177d89c80434a30aa346201abb986"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae49177d89c80434a30aa346201abb986"></a>
  159. mapped_type &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const key_type &amp;key)</td></tr>
  160. <tr class="separator:ae49177d89c80434a30aa346201abb986"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:af2e1ccbd986686ef2e93c880a965e861"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2e1ccbd986686ef2e93c880a965e861"></a>
  162. mapped_type &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>at</b> (const key_type &amp;key)</td></tr>
  163. <tr class="separator:af2e1ccbd986686ef2e93c880a965e861"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a54173c11cd3bc91b491b3f83375868e4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54173c11cd3bc91b491b3f83375868e4"></a>
  165. const mapped_type &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>at</b> (const key_type &amp;key) const </td></tr>
  166. <tr class="separator:a54173c11cd3bc91b491b3f83375868e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. </table>
  168. <hr/>The documentation for this class was generated from the following file:<ul>
  169. <li>concurrent_unordered_map.h</li>
  170. </ul>
  171. </div><!-- contents -->
  172. <hr>
  173. <p></p>
  174. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  175. <p></p>
  176. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  177. registered trademarks or trademarks of Intel Corporation or its
  178. subsidiaries in the United States and other countries.
  179. <p></p>
  180. * Other names and brands may be claimed as the property of others.