Files
entt/helper_8hpp_source.html
2025-03-19 15:49:42 +01:00

323 lines
54 KiB
HTML

<!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="en-US">
<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.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EnTT: src/entt/entity/helper.hpp Source File</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>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen-awesome.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">EnTT<span id="projectnumber">&#160;3.15.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<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('',true,false,'search.php','Search',false);
$(function() { init_search(); });
});
/* @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>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_66e9674e8206a335795995fa32a03c91.html">entt</a></li><li class="navelem"><a class="el" href="dir_e3a7bb56c55e5c2286e2fe96e197d4f5.html">entity</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">helper.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef ENTT_ENTITY_HELPER_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_ENTITY_HELPER_HPP</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &quot;../core/fwd.hpp&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;../core/type_traits.hpp&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;component.hpp&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;fwd.hpp&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;group.hpp&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &quot;storage.hpp&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &quot;view.hpp&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Registry&gt;</div>
<div class="foldopen" id="foldopen00022" data-start="{" data-end="};">
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classentt_1_1as__view.html"> 22</a></span><span class="keyword">class </span><a class="code hl_function" href="classentt_1_1as__view.html#a59df7f49ab88f62ca17fd7d92959d06c">as_view</a> {</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Get, <span class="keyword">typename</span>... Exclude&gt;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> [[nodiscard]] <span class="keyword">auto</span> dispatch(<a class="code hl_struct" href="structentt_1_1get__t.html">get_t&lt;Get...&gt;</a>, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t&lt;Exclude...&gt;</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordflow">return</span> reg-&gt;template <a class="code hl_typedef" href="namespaceentt.html#a3f86766cf81509c46f7009f90513d837">view&lt;constness_as_t&lt;typename Get::element_type, Get&gt;</a>...&gt;(<a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t&lt;constness_as_t&lt;typename Exclude::element_type, Exclude&gt;</a>...&gt;{});</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> }</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classentt_1_1as__view.html#acb61ac3405aeaef4fb051c8ebb5f0802"> 30</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1as__view.html#acb61ac3405aeaef4fb051c8ebb5f0802">registry_type</a> = Registry;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classentt_1_1as__view.html#a9ae57dc533e1c2e1279849c8101d07ed"> 32</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1as__view.html#a9ae57dc533e1c2e1279849c8101d07ed">entity_type</a> = <span class="keyword">typename</span> registry_type::entity_type;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span></div>
<div class="foldopen" id="foldopen00038" data-start="{" data-end="}">
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classentt_1_1as__view.html#a59df7f49ab88f62ca17fd7d92959d06c"> 38</a></span> <a class="code hl_function" href="classentt_1_1as__view.html#a59df7f49ab88f62ca17fd7d92959d06c">as_view</a>(<a class="code hl_typedef" href="classentt_1_1as__view.html#acb61ac3405aeaef4fb051c8ebb5f0802">registry_type</a> &amp;source) noexcept</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> : reg{&amp;source} {}</div>
</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Get, <span class="keyword">typename</span> Exclude&gt;</div>
<div class="foldopen" id="foldopen00048" data-start="{" data-end="}">
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="classentt_1_1as__view.html#afd2048bc06e3758fa9fb811e7dd10c5f"> 48</a></span> <span class="keyword">operator</span> <a class="code hl_function" href="namespaceentt.html#a044bc9823cac51816fc5cbcd490478d1">basic_view&lt;Get, Exclude&gt;</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordflow">return</span> dispatch(Get{}, Exclude{});</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> }</div>
</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_typedef" href="classentt_1_1as__view.html#acb61ac3405aeaef4fb051c8ebb5f0802">registry_type</a> *reg;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>};</div>
</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Registry&gt;</div>
<div class="foldopen" id="foldopen00061" data-start="{" data-end="};">
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classentt_1_1as__group.html"> 61</a></span><span class="keyword">class </span><a class="code hl_function" href="classentt_1_1as__group.html#a2ec8b1a86b502a9649cd9db3f90680a0">as_group</a> {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Owned, <span class="keyword">typename</span>... Get, <span class="keyword">typename</span>... Exclude&gt;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> [[nodiscard]] <span class="keyword">auto</span> dispatch(<a class="code hl_struct" href="structentt_1_1owned__t.html">owned_t&lt;Owned...&gt;</a>, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t&lt;Get...&gt;</a>, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t&lt;Exclude...&gt;</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_const_v&lt;registry_type&gt;) {</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keywordflow">return</span> reg-&gt;template group_if_exists&lt;<span class="keyword">typename</span> Owned::element_type...&gt;(<a class="code hl_struct" href="structentt_1_1get__t.html">get_t</a>&lt;<span class="keyword">typename</span> Get::element_type...&gt;{}, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t</a>&lt;<span class="keyword">typename</span> Exclude::element_type...&gt;{});</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">return</span> reg-&gt;template <a class="code hl_typedef" href="namespaceentt.html#a7e718d299437d564f6c3891c4c230f06">group&lt;constness_as_t&lt;typename Owned::element_type, Owned&gt;</a>...&gt;(<a class="code hl_struct" href="structentt_1_1get__t.html">get_t&lt;constness_as_t&lt;typename Get::element_type, Get&gt;</a>...&gt;{}, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t&lt;constness_as_t&lt;typename Exclude::element_type, Exclude&gt;</a>...&gt;{});</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> }</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="classentt_1_1as__group.html#a181c04aa4d53d5fef0f90b33e000f8d1"> 73</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1as__group.html#a181c04aa4d53d5fef0f90b33e000f8d1">registry_type</a> = Registry;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classentt_1_1as__group.html#a01a68f9e8552b14f9bc2e1a48c665c70"> 75</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1as__group.html#a01a68f9e8552b14f9bc2e1a48c665c70">entity_type</a> = <span class="keyword">typename</span> registry_type::entity_type;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span></div>
<div class="foldopen" id="foldopen00081" data-start="{" data-end="}">
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="classentt_1_1as__group.html#a2ec8b1a86b502a9649cd9db3f90680a0"> 81</a></span> <a class="code hl_function" href="classentt_1_1as__group.html#a2ec8b1a86b502a9649cd9db3f90680a0">as_group</a>(<a class="code hl_typedef" href="classentt_1_1as__group.html#a181c04aa4d53d5fef0f90b33e000f8d1">registry_type</a> &amp;source) noexcept</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> : reg{&amp;source} {}</div>
</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Owned, <span class="keyword">typename</span> Get, <span class="keyword">typename</span> Exclude&gt;</div>
<div class="foldopen" id="foldopen00092" data-start="{" data-end="}">
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="classentt_1_1as__group.html#ab252f9fcd1a370a52dd8abfd7f32cec8"> 92</a></span> <span class="keyword">operator</span> <a class="code hl_class" href="classentt_1_1basic__group.html">basic_group&lt;Owned, Get, Exclude&gt;</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordflow">return</span> dispatch(Owned{}, Get{}, Exclude{});</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> }</div>
</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_typedef" href="classentt_1_1as__group.html#a181c04aa4d53d5fef0f90b33e000f8d1">registry_type</a> *reg;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span>};</div>
</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="keyword">template</span>&lt;auto Member, <span class="keyword">typename</span> Registry = std::decay_t&lt;nth_argument_t&lt;0u, decltype(Member)&gt;&gt;&gt;</div>
<div class="foldopen" id="foldopen00108" data-start="{" data-end="}">
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="namespaceentt.html#ac25eea8903b4a5d58408cc2e9ecb1a2e"> 108</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespaceentt.html#ac25eea8903b4a5d58408cc2e9ecb1a2e">invoke</a>(Registry &amp;reg, <span class="keyword">const</span> <span class="keyword">typename</span> Registry::entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keyword">static_assert</span>(std::is_member_function_pointer_v&lt;<span class="keyword">decltype</span>(Member)&gt;, <span class="stringliteral">&quot;Invalid pointer to non-static member function&quot;</span>);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> (reg.template <a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>&lt;<a class="code hl_typedef" href="namespaceentt.html#a021c5343afb213cf29d3703cdc2c8cbc">member_class_t</a>&lt;<span class="keyword">decltype</span>(Member)&gt;&gt;(<a class="code hl_namespace" href="namespaceentt.html">entt</a>).*Member)(reg, <a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span>}</div>
</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Args&gt;</div>
<div class="foldopen" id="foldopen00126" data-start="{" data-end="}">
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="namespaceentt.html#ae213e35d5f2e82e6c2227720e4d0857c"> 126</a></span><span class="keyword">typename</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>&lt;Args...&gt;::entity_type <a class="code hl_function" href="namespaceentt.html#a1202b4027d32db124efffdf1f2f8c5a2">to_entity</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage&lt;Args...&gt;</a> &amp;<a class="code hl_typedef" href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">storage</a>, <span class="keyword">const</span> <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">basic_storage&lt;Args...&gt;::value_type</a> &amp;instance) {</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keyword">using </span>traits_type = <a class="code hl_struct" href="structentt_1_1component__traits.html">component_traits</a>&lt;<span class="keyword">typename</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>&lt;Args...&gt;::value_type, <span class="keyword">typename</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>&lt;Args...&gt;::entity_type&gt;;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <span class="keyword">static_assert</span>(traits_type::page_size != 0u, <span class="stringliteral">&quot;Unexpected page size&quot;</span>);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">const</span> <span class="keyword">auto</span> *page = <a class="code hl_typedef" href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">storage</a>.raw();</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="comment">// NOLINTBEGIN(cppcoreguidelines-pro-bounds-pointer-arithmetic)</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keywordflow">for</span>(std::size_t pos{}, count = <a class="code hl_typedef" href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">storage</a>.size(); pos &lt; count; pos += traits_type::page_size, ++page) {</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">if</span>(<span class="keyword">const</span> <span class="keyword">auto</span> dist = (std::addressof(instance) - *page); dist &gt;= 0 &amp;&amp; dist &lt; static_cast&lt;decltype(dist)&gt;(traits_type::page_size)) {</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">return</span> *(<span class="keyword">static_cast&lt;</span><span class="keyword">const </span>typename <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>&lt;Args...<span class="keyword">&gt;</span>::base_type &amp;&gt;(<a class="code hl_typedef" href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">storage</a>).<a class="code hl_function" href="classentt_1_1basic__storage.html#a24ef007aa48f17ac553a93caae35b748">rbegin</a>() + <span class="keyword">static_cast&lt;</span>decltype(dist)<span class="keyword">&gt;</span>(pos) + dist);</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> }</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="comment">// NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic)</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span>}</div>
</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper.html"> 144</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1sigh__helper.html">sigh_helper</a>;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Registry&gt;</div>
<div class="foldopen" id="foldopen00151" data-start="{" data-end="};">
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_01_4.html"> 151</a></span><span class="keyword">struct </span><a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a4f25dc19d359844fead2611680294f93">sigh_helper&lt;Registry&gt;</a> {</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a5dd4fa0484feea38dc6b464b98f2336a"> 153</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a5dd4fa0484feea38dc6b464b98f2336a">registry_type</a> = Registry;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span></div>
<div class="foldopen" id="foldopen00159" data-start="{" data-end="}">
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a4f25dc19d359844fead2611680294f93"> 159</a></span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a4f25dc19d359844fead2611680294f93">sigh_helper</a>(<a class="code hl_typedef" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a5dd4fa0484feea38dc6b464b98f2336a">registry_type</a> &amp;<a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>)</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> : bucket{&amp;<a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>} {}</div>
</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="foldopen" id="foldopen00169" data-start="{" data-end="}">
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a88c9f698912fac86d317762b2384aaf4"> 169</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a88c9f698912fac86d317762b2384aaf4">with</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a620d583c0e6d64acf3d394524bb72303">id_type</a> <span class="keywordtype">id</span> = <a class="code hl_function" href="structentt_1_1type__hash.html#a925c3666663e463a28897f04a7e2c314">type_hash&lt;Type&gt;::value</a>()) noexcept {</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <span class="keywordflow">return</span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a4f25dc19d359844fead2611680294f93">sigh_helper&lt;registry_type, Type&gt;</a>{*bucket, <span class="keywordtype">id</span>};</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> }</div>
</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span></div>
<div class="foldopen" id="foldopen00177" data-start="{" data-end="}">
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a798580968dc076c501f84f939ef1badc"> 177</a></span> [[nodiscard]] <a class="code hl_typedef" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a5dd4fa0484feea38dc6b464b98f2336a">registry_type</a> &amp;<a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a798580968dc076c501f84f939ef1badc">registry</a>() noexcept {</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <span class="keywordflow">return</span> *bucket;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> }</div>
</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> registry_type *bucket;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>};</div>
</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Registry, <span class="keyword">typename</span> Type&gt;</div>
<div class="foldopen" id="foldopen00191" data-start="{" data-end="};">
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html"> 191</a></span><span class="keyword">struct </span><a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#aef132e2d47c4c2b652f24fe8155736c3">sigh_helper&lt;Registry, Type&gt;</a> <span class="keyword">final</span>: <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#aef132e2d47c4c2b652f24fe8155736c3">sigh_helper&lt;Registry&gt;</a> {</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a2514fd73cb720dce8bde7d8ac2cf164d"> 193</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a2514fd73cb720dce8bde7d8ac2cf164d">registry_type</a> = Registry;</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span></div>
<div class="foldopen" id="foldopen00200" data-start="{" data-end="}">
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#aef132e2d47c4c2b652f24fe8155736c3"> 200</a></span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#aef132e2d47c4c2b652f24fe8155736c3">sigh_helper</a>(<a class="code hl_typedef" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a2514fd73cb720dce8bde7d8ac2cf164d">registry_type</a> &amp;<a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a620d583c0e6d64acf3d394524bb72303">id_type</a> <span class="keywordtype">id</span> = <a class="code hl_function" href="structentt_1_1type__hash.html#a925c3666663e463a28897f04a7e2c314">type_hash&lt;Type&gt;::value</a>())</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> : <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#aef132e2d47c4c2b652f24fe8155736c3">sigh_helper</a>&lt;Registry&gt;{<a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>},</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> name{<span class="keywordtype">id</span>} {}</div>
</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span></div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> <span class="keyword">template</span>&lt;<span class="keyword">auto</span> Candidate, <span class="keyword">typename</span>... Args&gt;</div>
<div class="foldopen" id="foldopen00212" data-start="{" data-end="}">
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a1d77fc6d2924e419a9cc022231ad0e32"> 212</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a1d77fc6d2924e419a9cc022231ad0e32">on_construct</a>(Args &amp;&amp;...args) {</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> this-&gt;<a class="code hl_typedef" href="namespaceentt.html#ab8c1f492841aeafa5e75422af3f0cdc4">registry</a>().template <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a1d77fc6d2924e419a9cc022231ad0e32">on_construct&lt;Type&gt;</a>(name).template connect&lt;Candidate&gt;(std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> }</div>
</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span></div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keyword">template</span>&lt;<span class="keyword">auto</span> Candidate, <span class="keyword">typename</span>... Args&gt;</div>
<div class="foldopen" id="foldopen00225" data-start="{" data-end="}">
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#abbd7db28fd4c97ba98b25c22dff7c26f"> 225</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#abbd7db28fd4c97ba98b25c22dff7c26f">on_update</a>(Args &amp;&amp;...args) {</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> this-&gt;<a class="code hl_typedef" href="namespaceentt.html#ab8c1f492841aeafa5e75422af3f0cdc4">registry</a>().template <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#abbd7db28fd4c97ba98b25c22dff7c26f">on_update&lt;Type&gt;</a>(name).template connect&lt;Candidate&gt;(std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> }</div>
</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="keyword">template</span>&lt;<span class="keyword">auto</span> Candidate, <span class="keyword">typename</span>... Args&gt;</div>
<div class="foldopen" id="foldopen00238" data-start="{" data-end="}">
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"><a class="line" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a0bf3fdfbe983ec6d9ce9fae4b0465ddf"> 238</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a0bf3fdfbe983ec6d9ce9fae4b0465ddf">on_destroy</a>(Args &amp;&amp;...args) {</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> this-&gt;<a class="code hl_typedef" href="namespaceentt.html#ab8c1f492841aeafa5e75422af3f0cdc4">registry</a>().template <a class="code hl_function" href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a0bf3fdfbe983ec6d9ce9fae4b0465ddf">on_destroy&lt;Type&gt;</a>(name).template connect&lt;Candidate&gt;(std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> }</div>
</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> <a class="code hl_typedef" href="namespaceentt.html#a620d583c0e6d64acf3d394524bb72303">id_type</a> name;</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span>};</div>
</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Registry&gt;</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="namespaceentt.html#ad0050077ac79b81ac00d1d3ab66b4f53"> 252</a></span><a class="code hl_function" href="namespaceentt.html#ad0050077ac79b81ac00d1d3ab66b4f53">sigh_helper</a>(Registry &amp;) -&gt; <a class="code hl_struct" href="structentt_1_1sigh__helper.html">sigh_helper&lt;Registry&gt;</a>;</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span>} <span class="comment">// namespace entt</span></div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassentt_1_1as__group_html_a01a68f9e8552b14f9bc2e1a48c665c70"><div class="ttname"><a href="classentt_1_1as__group.html#a01a68f9e8552b14f9bc2e1a48c665c70">entt::as_group::entity_type</a></div><div class="ttdeci">typename registry_type::entity_type entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l00075">helper.hpp:75</a></div></div>
<div class="ttc" id="aclassentt_1_1as__group_html_a181c04aa4d53d5fef0f90b33e000f8d1"><div class="ttname"><a href="classentt_1_1as__group.html#a181c04aa4d53d5fef0f90b33e000f8d1">entt::as_group::registry_type</a></div><div class="ttdeci">Registry registry_type</div><div class="ttdoc">Type of registry to convert.</div><div class="ttdef"><b>Definition</b> <a href="#l00073">helper.hpp:73</a></div></div>
<div class="ttc" id="aclassentt_1_1as__group_html_a2ec8b1a86b502a9649cd9db3f90680a0"><div class="ttname"><a href="classentt_1_1as__group.html#a2ec8b1a86b502a9649cd9db3f90680a0">entt::as_group::as_group</a></div><div class="ttdeci">as_group(registry_type &amp;source) noexcept</div><div class="ttdoc">Constructs a converter for a given registry.</div><div class="ttdef"><b>Definition</b> <a href="#l00081">helper.hpp:81</a></div></div>
<div class="ttc" id="aclassentt_1_1as__view_html_a59df7f49ab88f62ca17fd7d92959d06c"><div class="ttname"><a href="classentt_1_1as__view.html#a59df7f49ab88f62ca17fd7d92959d06c">entt::as_view::as_view</a></div><div class="ttdeci">as_view(registry_type &amp;source) noexcept</div><div class="ttdoc">Constructs a converter for a given registry.</div><div class="ttdef"><b>Definition</b> <a href="#l00038">helper.hpp:38</a></div></div>
<div class="ttc" id="aclassentt_1_1as__view_html_a9ae57dc533e1c2e1279849c8101d07ed"><div class="ttname"><a href="classentt_1_1as__view.html#a9ae57dc533e1c2e1279849c8101d07ed">entt::as_view::entity_type</a></div><div class="ttdeci">typename registry_type::entity_type entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l00032">helper.hpp:32</a></div></div>
<div class="ttc" id="aclassentt_1_1as__view_html_acb61ac3405aeaef4fb051c8ebb5f0802"><div class="ttname"><a href="classentt_1_1as__view.html#acb61ac3405aeaef4fb051c8ebb5f0802">entt::as_view::registry_type</a></div><div class="ttdeci">Registry registry_type</div><div class="ttdoc">Type of registry to convert.</div><div class="ttdef"><b>Definition</b> <a href="#l00030">helper.hpp:30</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_html"><div class="ttname"><a href="classentt_1_1basic__group.html">entt::basic_group</a></div><div class="ttdoc">Group.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00053">fwd.hpp:53</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html"><div class="ttname"><a href="classentt_1_1basic__storage.html">entt::basic_storage</a></div><div class="ttdoc">Storage implementation.</div><div class="ttdef"><b>Definition</b> <a href="storage_8hpp_source.html#l00229">storage.hpp:229</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a24ef007aa48f17ac553a93caae35b748"><div class="ttname"><a href="classentt_1_1basic__storage.html#a24ef007aa48f17ac553a93caae35b748">entt::basic_storage::rbegin</a></div><div class="ttdeci">const_reverse_iterator rbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="storage_8hpp_source.html#l00610">storage.hpp:610</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a68bc63580895ff61c806941c2ccb620b"><div class="ttname"><a href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">entt::basic_storage::value_type</a></div><div class="ttdeci">element_type value_type</div><div class="ttdoc">Type of the objects assigned to entities.</div><div class="ttdef"><b>Definition</b> <a href="storage_8hpp_source.html#l00404">storage.hpp:404</a></div></div>
<div class="ttc" id="anamespaceentt_html"><div class="ttname"><a href="namespaceentt.html">entt</a></div><div class="ttdoc">EnTT default namespace.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00022">dense_map.hpp:22</a></div></div>
<div class="ttc" id="anamespaceentt_html_a021c5343afb213cf29d3703cdc2c8cbc"><div class="ttname"><a href="namespaceentt.html#a021c5343afb213cf29d3703cdc2c8cbc">entt::member_class_t</a></div><div class="ttdeci">typename member_class&lt; Member &gt;::type member_class_t</div><div class="ttdoc">Helper type.</div><div class="ttdef"><b>Definition</b> <a href="core_2type__traits_8hpp_source.html#l00870">type_traits.hpp:870</a></div></div>
<div class="ttc" id="anamespaceentt_html_a044bc9823cac51816fc5cbcd490478d1"><div class="ttname"><a href="namespaceentt.html#a044bc9823cac51816fc5cbcd490478d1">entt::basic_view</a></div><div class="ttdeci">basic_view(Type &amp;...storage) -&gt; basic_view&lt; get_t&lt; Type... &gt;, exclude_t&lt;&gt; &gt;</div><div class="ttdoc">Deduction guide.</div></div>
<div class="ttc" id="anamespaceentt_html_a1202b4027d32db124efffdf1f2f8c5a2"><div class="ttname"><a href="namespaceentt.html#a1202b4027d32db124efffdf1f2f8c5a2">entt::to_entity</a></div><div class="ttdeci">constexpr entt_traits&lt; Entity &gt;::entity_type to_entity(const Entity value) noexcept</div><div class="ttdoc">Returns the entity part once converted to the underlying type.</div><div class="ttdef"><b>Definition</b> <a href="entity_8hpp_source.html#l00188">entity.hpp:188</a></div></div>
<div class="ttc" id="anamespaceentt_html_a2f0c0a1c1d953ea991591748744cdd8b"><div class="ttname"><a href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">entt::null</a></div><div class="ttdeci">constexpr null_t null</div><div class="ttdoc">Compile-time constant for null entities.</div><div class="ttdef"><b>Definition</b> <a href="entity_8hpp_source.html#l00375">entity.hpp:375</a></div></div>
<div class="ttc" id="anamespaceentt_html_a3f86766cf81509c46f7009f90513d837"><div class="ttname"><a href="namespaceentt.html#a3f86766cf81509c46f7009f90513d837">entt::view</a></div><div class="ttdeci">basic_view&lt; type_list_transform_t&lt; Get, storage_for &gt;, type_list_transform_t&lt; Exclude, storage_for &gt; &gt; view</div><div class="ttdoc">Alias declaration for the most common use case.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00277">fwd.hpp:277</a></div></div>
<div class="ttc" id="anamespaceentt_html_a620d583c0e6d64acf3d394524bb72303"><div class="ttname"><a href="namespaceentt.html#a620d583c0e6d64acf3d394524bb72303">entt::id_type</a></div><div class="ttdeci">std::uint32_t id_type</div><div class="ttdoc">Alias declaration for type identifiers.</div><div class="ttdef"><b>Definition</b> <a href="core_2fwd_8hpp_source.html#l00029">fwd.hpp:29</a></div></div>
<div class="ttc" id="anamespaceentt_html_a7e718d299437d564f6c3891c4c230f06"><div class="ttname"><a href="namespaceentt.html#a7e718d299437d564f6c3891c4c230f06">entt::group</a></div><div class="ttdeci">basic_group&lt; type_list_transform_t&lt; Owned, storage_for &gt;, type_list_transform_t&lt; Get, storage_for &gt;, type_list_transform_t&lt; Exclude, storage_for &gt; &gt; group</div><div class="ttdoc">Alias declaration for the most common use case.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00286">fwd.hpp:286</a></div></div>
<div class="ttc" id="anamespaceentt_html_a8c24ecc5ab0055f9f2a4725c95afb29e"><div class="ttname"><a href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">entt::get</a></div><div class="ttdeci">constexpr get_t&lt; Type... &gt; get</div><div class="ttdoc">Variable template for lists of observed elements.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00167">fwd.hpp:167</a></div></div>
<div class="ttc" id="anamespaceentt_html_ab8c1f492841aeafa5e75422af3f0cdc4"><div class="ttname"><a href="namespaceentt.html#ab8c1f492841aeafa5e75422af3f0cdc4">entt::registry</a></div><div class="ttdeci">basic_registry&lt;&gt; registry</div><div class="ttdoc">Alias declaration for the most common use case.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00095">fwd.hpp:95</a></div></div>
<div class="ttc" id="anamespaceentt_html_ac25eea8903b4a5d58408cc2e9ecb1a2e"><div class="ttname"><a href="namespaceentt.html#ac25eea8903b4a5d58408cc2e9ecb1a2e">entt::invoke</a></div><div class="ttdeci">void invoke(Registry &amp;reg, const typename Registry::entity_type entt)</div><div class="ttdoc">Helper to create a listener that directly invokes a member function.</div><div class="ttdef"><b>Definition</b> <a href="#l00108">helper.hpp:108</a></div></div>
<div class="ttc" id="anamespaceentt_html_ad0050077ac79b81ac00d1d3ab66b4f53"><div class="ttname"><a href="namespaceentt.html#ad0050077ac79b81ac00d1d3ab66b4f53">entt::sigh_helper</a></div><div class="ttdeci">sigh_helper(Registry &amp;) -&gt; sigh_helper&lt; Registry &gt;</div><div class="ttdoc">Deduction guide.</div></div>
<div class="ttc" id="anamespaceentt_html_add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15"><div class="ttname"><a href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">entt::any_policy::ref</a></div><div class="ttdeci">@ ref</div><div class="ttdoc">Aliasing mode, the object points to a non-const element.</div><div class="ttdef"><b>Definition</b> <a href="core_2fwd_8hpp_source.html#l00019">fwd.hpp:19</a></div></div>
<div class="ttc" id="anamespaceentt_html_aff8fd99fc1ff2432dcb0f6b017a9c60e"><div class="ttname"><a href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">entt::storage</a></div><div class="ttdeci">basic_storage&lt; Type &gt; storage</div><div class="ttdoc">Alias declaration for the most common use case.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00078">fwd.hpp:78</a></div></div>
<div class="ttc" id="astructentt_1_1component__traits_html"><div class="ttname"><a href="structentt_1_1component__traits.html">entt::component_traits</a></div><div class="ttdoc">Common way to access various properties of components.</div><div class="ttdef"><b>Definition</b> <a href="component_8hpp_source.html#l00043">component.hpp:43</a></div></div>
<div class="ttc" id="astructentt_1_1exclude__t_html"><div class="ttname"><a href="structentt_1_1exclude__t.html">entt::exclude_t</a></div><div class="ttdoc">Alias for exclusion lists.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00140">fwd.hpp:140</a></div></div>
<div class="ttc" id="astructentt_1_1get__t_html"><div class="ttname"><a href="structentt_1_1get__t.html">entt::get_t</a></div><div class="ttdoc">Alias for lists of observed elements.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00157">fwd.hpp:157</a></div></div>
<div class="ttc" id="astructentt_1_1owned__t_html"><div class="ttname"><a href="structentt_1_1owned__t.html">entt::owned_t</a></div><div class="ttdoc">Alias for lists of owned elements.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00174">fwd.hpp:174</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_00_01Type_01_4_html_a0bf3fdfbe983ec6d9ce9fae4b0465ddf"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a0bf3fdfbe983ec6d9ce9fae4b0465ddf">entt::sigh_helper&lt; Registry, Type &gt;::on_destroy</a></div><div class="ttdeci">auto on_destroy(Args &amp;&amp;...args)</div><div class="ttdoc">Forwards the call to on_destroy on the underlying storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00238">helper.hpp:238</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_00_01Type_01_4_html_a1d77fc6d2924e419a9cc022231ad0e32"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a1d77fc6d2924e419a9cc022231ad0e32">entt::sigh_helper&lt; Registry, Type &gt;::on_construct</a></div><div class="ttdeci">auto on_construct(Args &amp;&amp;...args)</div><div class="ttdoc">Forwards the call to on_construct on the underlying storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00212">helper.hpp:212</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_00_01Type_01_4_html_a2514fd73cb720dce8bde7d8ac2cf164d"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#a2514fd73cb720dce8bde7d8ac2cf164d">entt::sigh_helper&lt; Registry, Type &gt;::registry_type</a></div><div class="ttdeci">Registry registry_type</div><div class="ttdoc">Registry type.</div><div class="ttdef"><b>Definition</b> <a href="#l00193">helper.hpp:193</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_00_01Type_01_4_html_abbd7db28fd4c97ba98b25c22dff7c26f"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#abbd7db28fd4c97ba98b25c22dff7c26f">entt::sigh_helper&lt; Registry, Type &gt;::on_update</a></div><div class="ttdeci">auto on_update(Args &amp;&amp;...args)</div><div class="ttdoc">Forwards the call to on_update on the underlying storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00225">helper.hpp:225</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_00_01Type_01_4_html_aef132e2d47c4c2b652f24fe8155736c3"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_00_01Type_01_4.html#aef132e2d47c4c2b652f24fe8155736c3">entt::sigh_helper&lt; Registry, Type &gt;::sigh_helper</a></div><div class="ttdeci">sigh_helper(registry_type &amp;ref, const id_type id=type_hash&lt; Type &gt;::value())</div><div class="ttdoc">Constructs a helper for a given registry.</div><div class="ttdef"><b>Definition</b> <a href="#l00200">helper.hpp:200</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_01_4_html_a4f25dc19d359844fead2611680294f93"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a4f25dc19d359844fead2611680294f93">entt::sigh_helper&lt; Registry &gt;::sigh_helper</a></div><div class="ttdeci">sigh_helper(registry_type &amp;ref)</div><div class="ttdoc">Constructs a helper for a given registry.</div><div class="ttdef"><b>Definition</b> <a href="#l00159">helper.hpp:159</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_01_4_html_a5dd4fa0484feea38dc6b464b98f2336a"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a5dd4fa0484feea38dc6b464b98f2336a">entt::sigh_helper&lt; Registry &gt;::registry_type</a></div><div class="ttdeci">Registry registry_type</div><div class="ttdoc">Registry type.</div><div class="ttdef"><b>Definition</b> <a href="#l00153">helper.hpp:153</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_01_4_html_a798580968dc076c501f84f939ef1badc"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a798580968dc076c501f84f939ef1badc">entt::sigh_helper&lt; Registry &gt;::registry</a></div><div class="ttdeci">registry_type &amp; registry() noexcept</div><div class="ttdoc">Returns a reference to the underlying registry.</div><div class="ttdef"><b>Definition</b> <a href="#l00177">helper.hpp:177</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_3_01Registry_01_4_html_a88c9f698912fac86d317762b2384aaf4"><div class="ttname"><a href="structentt_1_1sigh__helper_3_01Registry_01_4.html#a88c9f698912fac86d317762b2384aaf4">entt::sigh_helper&lt; Registry &gt;::with</a></div><div class="ttdeci">auto with(const id_type id=type_hash&lt; Type &gt;::value()) noexcept</div><div class="ttdoc">Binds a properly initialized helper to a given signal type.</div><div class="ttdef"><b>Definition</b> <a href="#l00169">helper.hpp:169</a></div></div>
<div class="ttc" id="astructentt_1_1sigh__helper_html"><div class="ttname"><a href="structentt_1_1sigh__helper.html">entt::sigh_helper</a></div><div class="ttdoc">Primary template isn&#39;t defined on purpose.</div><div class="ttdef"><b>Definition</b> <a href="#l00144">helper.hpp:144</a></div></div>
<div class="ttc" id="astructentt_1_1type__hash_html_a925c3666663e463a28897f04a7e2c314"><div class="ttname"><a href="structentt_1_1type__hash.html#a925c3666663e463a28897f04a7e2c314">entt::type_hash::value</a></div><div class="ttdeci">static constexpr id_type value() noexcept</div><div class="ttdoc">Returns the numeric representation of a given type.</div><div class="ttdef"><b>Definition</b> <a href="type__info_8hpp_source.html#l00101">type_info.hpp:101</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2
</small></address>
</div><!-- doc-content -->
</body>
</html>