Files
dl/document/html/classdl_1_1_unordered_map2.html
2026-09-16 14:07:40 +08:00

427 lines
28 KiB
HTML
Vendored

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dl: dl::UnorderedMap2&lt; K, V &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">dl
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.13.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','搜索',false);
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacedl.html">dl</a></li><li class="navelem"><a class="el" href="classdl_1_1_unordered_map2.html">UnorderedMap2</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="classdl_1_1_unordered_map2-members.html">所有成员列表</a> </div>
<div class="headertitle"><div class="title">dl::UnorderedMap2&lt; K, V &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">
<p>2维unordered_map
<a href="#details">更多...</a></p>
<p><code>#include &lt;<a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:ad364fecae4624a03af85e7f7c5b7e023" id="r_ad364fecae4624a03af85e7f7c5b7e023"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a> = const std::array&lt;<a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, 2&gt;&amp;</td></tr>
<tr class="separator:ad364fecae4624a03af85e7f7c5b7e023"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5acb187b0f39b640a995b346681b804e" id="r_a5acb187b0f39b640a995b346681b804e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5acb187b0f39b640a995b346681b804e">Get</a> (<a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a> xy)</td></tr>
<tr class="memdesc:a5acb187b0f39b640a995b346681b804e"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回位置元素,失败返回nullptr <br /></td></tr>
<tr class="separator:a5acb187b0f39b640a995b346681b804e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa0867a1c26c446755b1b5dd4dc0e49f" id="r_afa0867a1c26c446755b1b5dd4dc0e49f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afa0867a1c26c446755b1b5dd4dc0e49f">Add</a> (<a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a> xy)</td></tr>
<tr class="memdesc:afa0867a1c26c446755b1b5dd4dc0e49f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回位置元素,如果不存在就构造一个 <br /></td></tr>
<tr class="separator:afa0867a1c26c446755b1b5dd4dc0e49f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a8f0725df4e033503d42e71f5c55d39" id="r_a8a8f0725df4e033503d42e71f5c55d39"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8a8f0725df4e033503d42e71f5c55d39">Add</a> (<a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a> xy, const <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &amp;v)</td></tr>
<tr class="memdesc:a8a8f0725df4e033503d42e71f5c55d39"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加元素,已有返回false <br /></td></tr>
<tr class="separator:a8a8f0725df4e033503d42e71f5c55d39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e103e5cfead4e14eb50e42abce2883b" id="r_a5e103e5cfead4e14eb50e42abce2883b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5e103e5cfead4e14eb50e42abce2883b">Delete</a> (<a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a> xy)</td></tr>
<tr class="memdesc:a5e103e5cfead4e14eb50e42abce2883b"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除位置元素,成功返回true <br /></td></tr>
<tr class="separator:a5e103e5cfead4e14eb50e42abce2883b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54ccfb4ad80bd374c75bc201de11c804" id="r_a54ccfb4ad80bd374c75bc201de11c804"><td class="memItemLeft" align="right" valign="top">auto &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a54ccfb4ad80bd374c75bc201de11c804">GetContainer</a> ()</td></tr>
<tr class="memdesc:a54ccfb4ad80bd374c75bc201de11c804"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回容器,用于遍历 <br /></td></tr>
<tr class="separator:a54ccfb4ad80bd374c75bc201de11c804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25782310b716b41ae425b8a64a7ce39c" id="r_a25782310b716b41ae425b8a64a7ce39c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a25782310b716b41ae425b8a64a7ce39c">IsEmpty</a> () const</td></tr>
<tr class="memdesc:a25782310b716b41ae425b8a64a7ce39c"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回y的数量 <br /></td></tr>
<tr class="separator:a25782310b716b41ae425b8a64a7ce39c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38790847622ed3a5dcfe5ae43d18cf8f" id="r_a38790847622ed3a5dcfe5ae43d18cf8f"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a38790847622ed3a5dcfe5ae43d18cf8f">GetYSize</a> ()</td></tr>
<tr class="memdesc:a38790847622ed3a5dcfe5ae43d18cf8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回y的数量 <br /></td></tr>
<tr class="separator:a38790847622ed3a5dcfe5ae43d18cf8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56fc1f6d09f51ec710bb700b4242915a" id="r_a56fc1f6d09f51ec710bb700b4242915a"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a56fc1f6d09f51ec710bb700b4242915a">GetXSize</a> (const <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a> &amp;y)</td></tr>
<tr class="memdesc:a56fc1f6d09f51ec710bb700b4242915a"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回y的子项数量,没有返回0 <br /></td></tr>
<tr class="separator:a56fc1f6d09f51ec710bb700b4242915a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e97d0adaa253331d23ef96e4dca519b" id="r_a8e97d0adaa253331d23ef96e4dca519b"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8e97d0adaa253331d23ef96e4dca519b">GetContainerY</a> (const <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a> &amp;y)</td></tr>
<tr class="memdesc:a8e97d0adaa253331d23ef96e4dca519b"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回y的容器,失败返回nullptr <br /></td></tr>
<tr class="separator:a8e97d0adaa253331d23ef96e4dca519b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt;<br />
class dl::UnorderedMap2&lt; K, V &gt;</div><p>2维unordered_map </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00022">22</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="ad364fecae4624a03af85e7f7c5b7e023" name="ad364fecae4624a03af85e7f7c5b7e023"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad364fecae4624a03af85e7f7c5b7e023">&#9670;&#160;</a></span>K2</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::K2 = const std::array&lt;<a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, 2&gt;&amp;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00025">25</a> 行定义.</p>
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="afa0867a1c26c446755b1b5dd4dc0e49f" name="afa0867a1c26c446755b1b5dd4dc0e49f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa0867a1c26c446755b1b5dd4dc0e49f">&#9670;&#160;</a></span>Add() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &amp; <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a></td> <td class="paramname"><span class="paramname"><em>xy</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回位置元素,如果不存在就构造一个 </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00045">45</a> 行定义.</p>
</div>
</div>
<a id="a8a8f0725df4e033503d42e71f5c55d39" name="a8a8f0725df4e033503d42e71f5c55d39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a8f0725df4e033503d42e71f5c55d39">&#9670;&#160;</a></span>Add() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a></td> <td class="paramname"><span class="paramname"><em>xy</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>添加元素,已有返回false </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00053">53</a> 行定义.</p>
</div>
</div>
<a id="a5e103e5cfead4e14eb50e42abce2883b" name="a5e103e5cfead4e14eb50e42abce2883b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e103e5cfead4e14eb50e42abce2883b">&#9670;&#160;</a></span>Delete()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::Delete </td>
<td>(</td>
<td class="paramtype"><a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a></td> <td class="paramname"><span class="paramname"><em>xy</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>删除位置元素,成功返回true </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00063">63</a> 行定义.</p>
</div>
</div>
<a id="a5acb187b0f39b640a995b346681b804e" name="a5acb187b0f39b640a995b346681b804e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5acb187b0f39b640a995b346681b804e">&#9670;&#160;</a></span>Get()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> * <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::Get </td>
<td>(</td>
<td class="paramtype"><a class="el" href="#ad364fecae4624a03af85e7f7c5b7e023">K2</a></td> <td class="paramname"><span class="paramname"><em>xy</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回位置元素,失败返回nullptr </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00029">29</a> 行定义.</p>
</div>
</div>
<a id="a54ccfb4ad80bd374c75bc201de11c804" name="a54ccfb4ad80bd374c75bc201de11c804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54ccfb4ad80bd374c75bc201de11c804">&#9670;&#160;</a></span>GetContainer()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">auto &amp; <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::GetContainer </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回容器,用于遍历 </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00081">81</a> 行定义.</p>
</div>
</div>
<a id="a8e97d0adaa253331d23ef96e4dca519b" name="a8e97d0adaa253331d23ef96e4dca519b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e97d0adaa253331d23ef96e4dca519b">&#9670;&#160;</a></span>GetContainerY()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unordered_map&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt; * <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::GetContainerY </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a> &amp;</td> <td class="paramname"><span class="paramname"><em>y</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回y的容器,失败返回nullptr </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00112">112</a> 行定义.</p>
</div>
</div>
<a id="a56fc1f6d09f51ec710bb700b4242915a" name="a56fc1f6d09f51ec710bb700b4242915a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56fc1f6d09f51ec710bb700b4242915a">&#9670;&#160;</a></span>GetXSize()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::size_t <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::GetXSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a> &amp;</td> <td class="paramname"><span class="paramname"><em>y</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回y的子项数量,没有返回0 </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00102">102</a> 行定义.</p>
</div>
</div>
<a id="a38790847622ed3a5dcfe5ae43d18cf8f" name="a38790847622ed3a5dcfe5ae43d18cf8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38790847622ed3a5dcfe5ae43d18cf8f">&#9670;&#160;</a></span>GetYSize()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">size_t <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::GetYSize </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回y的数量 </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00094">94</a> 行定义.</p>
</div>
</div>
<a id="a25782310b716b41ae425b8a64a7ce39c" name="a25782310b716b41ae425b8a64a7ce39c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25782310b716b41ae425b8a64a7ce39c">&#9670;&#160;</a></span>IsEmpty()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, typename <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a>&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classdl_1_1_unordered_map2.html">dl::UnorderedMap2</a>&lt; <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132aa5f3c6a11b03839d46af9fb43c97c188">K</a>, <a class="el" href="namespacedl.html#a38a0162879cdbfbbe99ba16e7a170132a5206560a306a2e085a437fd258eb57ce">V</a> &gt;::IsEmpty </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>返回y的数量 </p>
<p class="definition">在文件 <a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a><a class="el" href="dl__unordered__map2_8h_source.html#l00086">86</a> 行定义.</p>
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/dl/dl/base/<a class="el" href="dl__unordered__map2_8h_source.html">dl_unordered_map2.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
</small></address>
</div><!-- doc-content -->
</body>
</html>