133 lines
108 KiB
HTML
133 lines
108 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>EnTT: src/entt/entity/group.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>
|
|
<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.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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">EnTT
|
|
 <span id="projectnumber">3.1.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.13 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</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 class="header">
|
|
<div class="headertitle">
|
|
<div class="title">group.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef ENTT_ENTITY_GROUP_HPP</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define ENTT_ENTITY_GROUP_HPP</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <tuple></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <utility></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <type_traits></span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "../config/config.h"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "../core/type_traits.hpp"</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "sparse_set.hpp"</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "storage.hpp"</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "utility.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "fwd.hpp"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">namespace </span><a class="code" href="namespaceentt.html">entt</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">template</span><<span class="keyword">typename</span>...></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span>basic_group;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">template</span><<span class="keyword">typename</span> Entity, <span class="keyword">typename</span>... Exclude, <span class="keyword">typename</span> Get, <span class="keyword">typename</span>... Other></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html"> 70</a></span> <span class="keyword">class </span><a class="code" href="classentt_1_1basic__group.html">basic_group</a><Entity, <a class="code" href="structentt_1_1exclude__t.html">exclude_t</a><Exclude...>, <a class="code" href="structentt_1_1get__t.html">get_t</a><Get, Other...>> {</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a60c928831c22b7dd2216dbc469f68f24"> 72</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classentt_1_1basic__registry.html">basic_registry</a><Entity>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">using</span> pool_type = std::conditional_t<std::is_const_v<Component>, <span class="keyword">const</span> <a class="code" href="structentt_1_1storage.html">storage<Entity, std::remove_const_t<Component></a>>, <a class="code" href="structentt_1_1storage.html">storage<Entity, Component></a>>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// we could use pool_type<Type> *..., but vs complains about it and refuses to compile for unknown reasons (most likely a bug)</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classentt_1_1basic__group.html">basic_group</a>(<a class="code" href="classentt_1_1sparse__set.html">sparse_set<Entity></a> *ref, <a class="code" href="structentt_1_1storage.html">storage</a><Entity, std::remove_const_t<Get>> *<span class="keyword">get</span>, <a class="code" href="structentt_1_1storage.html">storage</a><Entity, std::remove_const_t<Other>> *... other) ENTT_NOEXCEPT</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  : handler{ref},</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  pools{<span class="keyword">get</span>, other...}</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  {}</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func, <span class="keyword">typename</span>... Weak></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> traverse(Func func, <a class="code" href="structentt_1_1type__list.html">type_list<Weak...></a>)<span class="keyword"> const </span>{</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespaceentt.html">entt</a>: *handler) {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">if</span> constexpr(std::is_invocable_v<Func, decltype(get<Weak>({}))...>) {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  func(std::get<pool_type<Weak> *>(pools)-><span class="keyword">get</span>(<a class="code" href="namespaceentt.html">entt</a>)...);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  func(<a class="code" href="namespaceentt.html">entt</a>, std::get<pool_type<Weak> *>(pools)-><span class="keyword">get</span>(<a class="code" href="namespaceentt.html">entt</a>)...);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  };</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4"> 96</a></span>  <span class="keyword">using</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> = <span class="keyword">typename</span> <a class="code" href="classentt_1_1sparse__set.html#a9a1dbe5ab2dbb098beae0bff56bbf780">sparse_set<Entity>::entity_type</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58"> 98</a></span>  <span class="keyword">using</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58">size_type</a> = <span class="keyword">typename</span> <a class="code" href="classentt_1_1sparse__set.html#a3d2138b0eb8c7ac968e9e38a9e981ec1">sparse_set<Entity>::size_type</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab031f21c3d6b5afc6979ee22299d217d"> 100</a></span>  <span class="keyword">using</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab031f21c3d6b5afc6979ee22299d217d">iterator_type</a> = <span class="keyword">typename</span> <a class="code" href="classentt_1_1sparse__set.html#a580b210d5a24c49ca8c255646f3bb469">sparse_set<Entity>::iterator_type</a>;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a91eb89434fd97aa7877a06c0acf64772"> 108</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58">size_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a91eb89434fd97aa7877a06c0acf64772">size</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->size();</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aff7aac214e65a27e968bf9d3100e4d51"> 116</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58">size_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aff7aac214e65a27e968bf9d3100e4d51">size</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> handler->size();</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a91f95cb9ccf140578e71ebb4b11e997a"> 125</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58">size_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a91f95cb9ccf140578e71ebb4b11e997a">capacity</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> handler->capacity();</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abe8371a0d1992074a63a853cb6dd81c7"> 130</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abe8371a0d1992074a63a853cb6dd81c7">shrink_to_fit</a>() {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  handler->shrink_to_fit();</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  }</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a079b38c587ad9af5a3fe3da5f91cdc85"> 141</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a079b38c587ad9af5a3fe3da5f91cdc85">empty</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->empty();</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae2dfa3de0faf46c5ff8d0e6502880212"> 149</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae2dfa3de0faf46c5ff8d0e6502880212">empty</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> handler->empty();</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  }</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a40e5fcc3317f3a30dcb9ddff33580af0"> 168</a></span>  Component * <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a40e5fcc3317f3a30dcb9ddff33580af0">raw</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->raw();</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a45617bf54343e78e7757e5407766bde0"> 187</a></span>  <span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> * <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a45617bf54343e78e7757e5407766bde0">data</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->data();</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae0379ae19b355744b5845b4979f540a7"> 203</a></span>  <span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> * <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae0379ae19b355744b5845b4979f540a7">data</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">return</span> handler->data();</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae8586e583284a89492e391639366e39a"> 221</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab031f21c3d6b5afc6979ee22299d217d">iterator_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae8586e583284a89492e391639366e39a">begin</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">return</span> handler->begin();</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab564e70851b338dfd9e41d34fb52964b"> 240</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab031f21c3d6b5afc6979ee22299d217d">iterator_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab564e70851b338dfd9e41d34fb52964b">end</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">return</span> handler->end();</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  }</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a401b6a484d089d152b20e52a2b60a776"> 250</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab031f21c3d6b5afc6979ee22299d217d">iterator_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a401b6a484d089d152b20e52a2b60a776">find</a>(<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> <a class="code" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> ENTT_NOEXCEPT {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keyword">const</span> <span class="keyword">auto</span> it = handler->find(<a class="code" href="namespaceentt.html">entt</a>);</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">return</span> it != end() && *it == <a class="code" href="namespaceentt.html">entt</a> ? it : end();</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2f801b988585a43f9b106390a6dfea30"> 260</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2f801b988585a43f9b106390a6dfea30">operator[]</a>(<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58">size_type</a> pos) <span class="keyword">const</span> ENTT_NOEXCEPT {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">return</span> begin()[pos];</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  }</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a4feba81c48d3cbe40eab1306ba462c23"> 269</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a4feba81c48d3cbe40eab1306ba462c23">contains</a>(<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> <a class="code" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> ENTT_NOEXCEPT {</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">return</span> find(<a class="code" href="namespaceentt.html">entt</a>) != end();</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  }</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keyword">template</span><<span class="keyword">typename</span>... Component></div><div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aa39d992100e4b79a3dee02f5dfb4f169"> 291</a></span>  decltype(<span class="keyword">auto</span>) <a class="code" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>([[maybe_unused]] const <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> <a class="code" href="namespaceentt.html">entt</a>) const ENTT_NOEXCEPT {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  ENTT_ASSERT(contains(<a class="code" href="namespaceentt.html">entt</a>));</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">if</span> constexpr(<span class="keyword">sizeof</span>...(Component) == 1) {</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">return</span> (std::get<pool_type<Component> *>(pools)-><span class="keyword">get</span>(<a class="code" href="namespaceentt.html">entt</a>), ...);</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordflow">return</span> std::tuple<decltype(get<Component>(<a class="code" href="namespaceentt.html">entt</a>))...>{get<Component>(<a class="code" href="namespaceentt.html">entt</a>)...};</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  }</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  }</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> </div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func></div><div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aba391a4533926202b366523db19ac4fb"> 325</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aba391a4533926202b366523db19ac4fb">each</a>(Func func)<span class="keyword"> const </span>{</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  traverse(std::move(func), <a class="code" href="structentt_1_1type__list.html">type_list<Get, Other...></a>{});</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  }</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func></div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a097d67cc543e98b67199c99d8c507eb1"> 350</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a097d67cc543e98b67199c99d8c507eb1">less</a>(Func func)<span class="keyword"> const </span>{</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keyword">using</span> get_type_list = std::conditional_t<std::is_empty_v<Get>, <a class="code" href="structentt_1_1type__list.html">type_list<></a>, <a class="code" href="structentt_1_1type__list.html">type_list<Get></a>>;</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keyword">using</span> other_type_list = <a class="code" href="namespaceentt.html#a546467a3662e9a915d5d519ad565e801">type_list_cat_t<std::conditional_t<std::is_empty_v<Other></a>, type_list<>, <a class="code" href="structentt_1_1type__list.html">type_list<Other></a>>...>;</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  traverse(std::move(func), <a class="code" href="namespaceentt.html#a546467a3662e9a915d5d519ad565e801">type_list_cat_t<get_type_list, other_type_list></a>{});</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  }</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keyword">template</span><<span class="keyword">typename</span>... Component, <span class="keyword">typename</span> Compare, <span class="keyword">typename</span> Sort = <a class="code" href="structentt_1_1std__sort.html">std_sort</a>, <span class="keyword">typename</span>... Args></div><div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a0ab2882c61c6f33b4f205e57b8a5ae55"> 402</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a0ab2882c61c6f33b4f205e57b8a5ae55">sort</a>(Compare compare, Sort algo = Sort{}, Args &&... args) {</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="keywordflow">if</span> constexpr(<span class="keyword">sizeof</span>...(Component) == 0) {</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  static_assert(std::is_invocable_v<Compare, const entity_type, const entity_type>);</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  handler->sort(handler->begin(), handler->end(), std::move(compare), std::move(algo), std::forward<Args>(args)...);</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  handler->sort(handler->begin(), handler->end(), [<span class="keyword">this</span>, compare = std::move(compare)](<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> lhs, <span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entity_type</a> rhs) {</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="comment">// useless this-> used to suppress a warning with clang</span></div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordflow">return</span> compare(this->get<Component...>(lhs), this->get<Component...>(rhs));</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  }, std::move(algo), std::forward<Args>(args)...);</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  }</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  }</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> </div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aa9517a18e4fc769215548e4a5fc6416f"> 431</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aa9517a18e4fc769215548e4a5fc6416f">sort</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  handler->respect(*std::get<pool_type<Component> *>(pools));</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  }</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="classentt_1_1sparse__set.html">sparse_set<entity_type></a> *handler;</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keyword">const</span> std::tuple<pool_type<Get> *, pool_type<Other> *...> pools;</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> };</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span> <span class="keyword">template</span><<span class="keyword">typename</span> Entity, <span class="keyword">typename</span>... Exclude, <span class="keyword">typename</span>... Get, <span class="keyword">typename</span> Owned, <span class="keyword">typename</span>... Other></div><div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html"> 490</a></span> <span class="keyword">class </span><a class="code" href="classentt_1_1basic__group.html">basic_group</a><Entity, <a class="code" href="structentt_1_1exclude__t.html">exclude_t</a><Exclude...>, <a class="code" href="structentt_1_1get__t.html">get_t</a><Get...>, Owned, Other...> {</div><div class="line"><a name="l00492"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a60c928831c22b7dd2216dbc469f68f24"> 492</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classentt_1_1basic__registry.html">basic_registry</a><Entity>;</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span> </div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keyword">using</span> pool_type = std::conditional_t<std::is_const_v<Component>, <span class="keyword">const</span> storage<Entity, std::remove_const_t<Component>>, storage<Entity, Component>>;</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span> </div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <span class="keyword">using</span> component_iterator_type = decltype(std::declval<pool_type<Component>>().begin());</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <span class="comment">// we could use pool_type<Type> *..., but vs complains about it and refuses to compile for unknown reasons (most likely a bug)</span></div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  <a class="code" href="classentt_1_1basic__group.html">basic_group</a>(<span class="keyword">const</span> <span class="keyword">typename</span> <a class="code" href="classentt_1_1basic__registry.html#a19addadd1c414778261e7c1ed67eee76">basic_registry<Entity>::size_type</a> *sz, <a class="code" href="structentt_1_1storage.html">storage</a><Entity, std::remove_const_t<Owned>> *owned, <a class="code" href="structentt_1_1storage.html">storage</a><Entity, std::remove_const_t<Other>> *... other, <a class="code" href="structentt_1_1storage.html">storage</a><Entity, std::remove_const_t<Get>> *... <span class="keyword">get</span>) ENTT_NOEXCEPT</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  : length{sz},</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  pools{owned, other..., <span class="keyword">get</span>...}</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  {}</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span> </div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func, <span class="keyword">typename</span>... Strong, <span class="keyword">typename</span>... Weak></div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <span class="keywordtype">void</span> traverse(Func func, <a class="code" href="structentt_1_1type__list.html">type_list<Strong...></a>, <a class="code" href="structentt_1_1type__list.html">type_list<Weak...></a>)<span class="keyword"> const </span>{</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  [[maybe_unused]] <span class="keyword">auto</span> raw = std::make_tuple((std::get<pool_type<Strong> *>(pools)->end() - *length)...);</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  [[maybe_unused]] <span class="keyword">auto</span> data = std::get<pool_type<Owned> *>(pools)-><a class="code" href="classentt_1_1sparse__set.html">sparse_set<entity_type>::end</a>() - *length;</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> next = *length; next; --next) {</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  <span class="keywordflow">if</span> constexpr(std::is_invocable_v<Func, decltype(get<Strong>({}))..., decltype(get<Weak>({}))...>) {</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <span class="keywordflow">if</span> constexpr(<span class="keyword">sizeof</span>...(Weak) == 0) {</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  func(*(std::get<component_iterator_type<Strong>>(raw)++)...);</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespaceentt.html">entt</a> = *(data++);</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  func(*(std::get<component_iterator_type<Strong>>(raw)++)..., std::get<pool_type<Weak> *>(pools)-><span class="keyword">get</span>(<a class="code" href="namespaceentt.html">entt</a>)...);</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  }</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespaceentt.html">entt</a> = *(data++);</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  func(<a class="code" href="namespaceentt.html">entt</a>, *(std::get<component_iterator_type<Strong>>(raw)++)..., std::get<pool_type<Weak> *>(pools)-><span class="keyword">get</span>(<a class="code" href="namespaceentt.html">entt</a>)...);</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  }</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  }</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  }</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span> </div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02"> 528</a></span>  <span class="keyword">using</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> = <span class="keyword">typename</span> <a class="code" href="classentt_1_1sparse__set.html#a9a1dbe5ab2dbb098beae0bff56bbf780">sparse_set<Entity>::entity_type</a>;</div><div class="line"><a name="l00530"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a45b6abe751bc3aef843c391c34145203"> 530</a></span>  <span class="keyword">using</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a45b6abe751bc3aef843c391c34145203">size_type</a> = <span class="keyword">typename</span> <a class="code" href="classentt_1_1sparse__set.html#a3d2138b0eb8c7ac968e9e38a9e981ec1">sparse_set<Entity>::size_type</a>;</div><div class="line"><a name="l00532"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a2fa8e37f166d1898cfb0b32a02033548"> 532</a></span>  <span class="keyword">using</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a2fa8e37f166d1898cfb0b32a02033548">iterator_type</a> = <span class="keyword">typename</span> <a class="code" href="classentt_1_1sparse__set.html#a580b210d5a24c49ca8c255646f3bb469">sparse_set<Entity>::iterator_type</a>;</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span> </div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a51da2e97c1e2cf52d12533e6fb49dd5b"> 540</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a45b6abe751bc3aef843c391c34145203">size_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a51da2e97c1e2cf52d12533e6fb49dd5b">size</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->size();</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  }</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span> </div><div class="line"><a name="l00548"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ad106f13e2ed368fd2022d08a725fc056"> 548</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a45b6abe751bc3aef843c391c34145203">size_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ad106f13e2ed368fd2022d08a725fc056">size</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keywordflow">return</span> *length;</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  }</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span> </div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ad4d04e99bd95d23a6c734a0decb9db35"> 559</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ad4d04e99bd95d23a6c734a0decb9db35">empty</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->empty();</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  }</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span> </div><div class="line"><a name="l00567"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aa3e0ef8c5709efafcea2f1402f15fbc7"> 567</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aa3e0ef8c5709efafcea2f1402f15fbc7">empty</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  <span class="keywordflow">return</span> !*length;</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  }</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00589"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a48caa1f53c1e8065f66d1200c89ea26c"> 589</a></span>  Component * <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a48caa1f53c1e8065f66d1200c89ea26c">raw</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->raw();</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  }</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span> </div><div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Component></div><div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#af2ee75730230b79357f97af7a16d6a4f"> 611</a></span>  <span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> * <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#af2ee75730230b79357f97af7a16d6a4f">data</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  <span class="keywordflow">return</span> std::get<pool_type<Component> *>(pools)->data();</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  }</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div><div class="line"><a name="l00627"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a36cd8e12087222d425bae24782cd329c"> 627</a></span>  <span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> * <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a36cd8e12087222d425bae24782cd329c">data</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span>  <span class="keywordflow">return</span> std::get<pool_type<Owned> *>(pools)->data();</div><div class="line"><a name="l00629"></a><span class="lineno"> 629</span>  }</div><div class="line"><a name="l00630"></a><span class="lineno"> 630</span> </div><div class="line"><a name="l00645"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aa1d827213526124152a3fc216b4cd1f2"> 645</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a2fa8e37f166d1898cfb0b32a02033548">iterator_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aa1d827213526124152a3fc216b4cd1f2">begin</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <span class="keywordflow">return</span> std::get<pool_type<Owned> *>(pools)-><a class="code" href="classentt_1_1sparse__set.html">sparse_set<entity_type>::end</a>() - *length;</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span>  }</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span> </div><div class="line"><a name="l00664"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a719eecdcefdddaf1fff02817f154e878"> 664</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a2fa8e37f166d1898cfb0b32a02033548">iterator_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a719eecdcefdddaf1fff02817f154e878">end</a>() const ENTT_NOEXCEPT {</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>  <span class="keywordflow">return</span> std::get<pool_type<Owned> *>(pools)-><a class="code" href="classentt_1_1sparse__set.html">sparse_set<entity_type>::end</a>();</div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span>  }</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span> </div><div class="line"><a name="l00674"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a687a671d42bc9ce62efca7d8ef6b992d"> 674</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a2fa8e37f166d1898cfb0b32a02033548">iterator_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a687a671d42bc9ce62efca7d8ef6b992d">find</a>(<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> <a class="code" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> ENTT_NOEXCEPT {</div><div class="line"><a name="l00675"></a><span class="lineno"> 675</span>  <span class="keyword">const</span> <span class="keyword">auto</span> it = std::get<pool_type<Owned> *>(pools)->find(<a class="code" href="namespaceentt.html">entt</a>);</div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span>  <span class="keywordflow">return</span> it != end() && it >= begin() && *it == <a class="code" href="namespaceentt.html">entt</a> ? it : end();</div><div class="line"><a name="l00677"></a><span class="lineno"> 677</span>  }</div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span> </div><div class="line"><a name="l00684"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aadb0ddddb0d5610ed8fc9fe1d2347074"> 684</a></span>  <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aadb0ddddb0d5610ed8fc9fe1d2347074">operator[]</a>(<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a45b6abe751bc3aef843c391c34145203">size_type</a> pos) <span class="keyword">const</span> ENTT_NOEXCEPT {</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span>  <span class="keywordflow">return</span> begin()[pos];</div><div class="line"><a name="l00686"></a><span class="lineno"> 686</span>  }</div><div class="line"><a name="l00687"></a><span class="lineno"> 687</span> </div><div class="line"><a name="l00693"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ac2bfb8fc2f9838b6b0ee97ffe6411451"> 693</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ac2bfb8fc2f9838b6b0ee97ffe6411451">contains</a>(<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> <a class="code" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> ENTT_NOEXCEPT {</div><div class="line"><a name="l00694"></a><span class="lineno"> 694</span>  <span class="keywordflow">return</span> find(<a class="code" href="namespaceentt.html">entt</a>) != end();</div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span>  }</div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span> </div><div class="line"><a name="l00714"></a><span class="lineno"> 714</span>  <span class="keyword">template</span><<span class="keyword">typename</span>... Component></div><div class="line"><a name="l00715"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a7a330f92775e23242e95c6382aab4e2c"> 715</a></span>  decltype(<span class="keyword">auto</span>) <a class="code" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>([[maybe_unused]] const <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> <a class="code" href="namespaceentt.html">entt</a>) const ENTT_NOEXCEPT {</div><div class="line"><a name="l00716"></a><span class="lineno"> 716</span>  ENTT_ASSERT(contains(<a class="code" href="namespaceentt.html">entt</a>));</div><div class="line"><a name="l00717"></a><span class="lineno"> 717</span> </div><div class="line"><a name="l00718"></a><span class="lineno"> 718</span>  <span class="keywordflow">if</span> constexpr(<span class="keyword">sizeof</span>...(Component) == 1) {</div><div class="line"><a name="l00719"></a><span class="lineno"> 719</span>  <span class="keywordflow">return</span> (std::get<pool_type<Component> *>(pools)-><span class="keyword">get</span>(<a class="code" href="namespaceentt.html">entt</a>), ...);</div><div class="line"><a name="l00720"></a><span class="lineno"> 720</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00721"></a><span class="lineno"> 721</span>  <span class="keywordflow">return</span> std::tuple<decltype(get<Component>(<a class="code" href="namespaceentt.html">entt</a>))...>{get<Component>(<a class="code" href="namespaceentt.html">entt</a>)...};</div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span>  }</div><div class="line"><a name="l00723"></a><span class="lineno"> 723</span>  }</div><div class="line"><a name="l00724"></a><span class="lineno"> 724</span> </div><div class="line"><a name="l00748"></a><span class="lineno"> 748</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func></div><div class="line"><a name="l00749"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a243b8825b3fddfb01613a4b342fa7258"> 749</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a243b8825b3fddfb01613a4b342fa7258">each</a>(Func func)<span class="keyword"> const </span>{</div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span>  traverse(std::move(func), <a class="code" href="structentt_1_1type__list.html">type_list<Owned, Other...></a>{}, <a class="code" href="structentt_1_1type__list.html">type_list</a><Get...>{});</div><div class="line"><a name="l00751"></a><span class="lineno"> 751</span>  }</div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span> </div><div class="line"><a name="l00773"></a><span class="lineno"> 773</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func></div><div class="line"><a name="l00774"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a134fb533be3e15cbdbe2951965d3890d"> 774</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a134fb533be3e15cbdbe2951965d3890d">less</a>(Func func)<span class="keyword"> const </span>{</div><div class="line"><a name="l00775"></a><span class="lineno"> 775</span>  <span class="keyword">using</span> owned_type_list = std::conditional_t<std::is_empty_v<Owned>, <a class="code" href="structentt_1_1type__list.html">type_list<></a>, <a class="code" href="structentt_1_1type__list.html">type_list<Owned></a>>;</div><div class="line"><a name="l00776"></a><span class="lineno"> 776</span>  <span class="keyword">using</span> other_type_list = <a class="code" href="namespaceentt.html#a546467a3662e9a915d5d519ad565e801">type_list_cat_t<std::conditional_t<std::is_empty_v<Other></a>, type_list<>, <a class="code" href="structentt_1_1type__list.html">type_list<Other></a>>...>;</div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span>  <span class="keyword">using</span> get_type_list = <a class="code" href="namespaceentt.html#a546467a3662e9a915d5d519ad565e801">type_list_cat_t<std::conditional_t<std::is_empty_v<Get></a>, type_list<>, <a class="code" href="structentt_1_1type__list.html">type_list<Get></a>>...>;</div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span>  traverse(std::move(func), <a class="code" href="namespaceentt.html#a546467a3662e9a915d5d519ad565e801">type_list_cat_t<owned_type_list, other_type_list></a>{}, get_type_list{});</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span>  }</div><div class="line"><a name="l00780"></a><span class="lineno"> 780</span> </div><div class="line"><a name="l00827"></a><span class="lineno"> 827</span>  <span class="keyword">template</span><<span class="keyword">typename</span>... Component, <span class="keyword">typename</span> Compare, <span class="keyword">typename</span> Sort = <a class="code" href="structentt_1_1std__sort.html">std_sort</a>, <span class="keyword">typename</span>... Args></div><div class="line"><a name="l00828"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a89b1dd1fdde4ea5c63f2c267f696a62e"> 828</a></span>  <span class="keywordtype">void</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a89b1dd1fdde4ea5c63f2c267f696a62e">sort</a>(Compare compare, Sort algo = Sort{}, Args &&... args) {</div><div class="line"><a name="l00829"></a><span class="lineno"> 829</span>  <span class="keyword">auto</span> *cpool = std::get<pool_type<Owned> *>(pools);</div><div class="line"><a name="l00830"></a><span class="lineno"> 830</span> </div><div class="line"><a name="l00831"></a><span class="lineno"> 831</span>  <span class="keywordflow">if</span> constexpr(<span class="keyword">sizeof</span>...(Component) == 0) {</div><div class="line"><a name="l00832"></a><span class="lineno"> 832</span>  static_assert(std::is_invocable_v<Compare, const entity_type, const entity_type>);</div><div class="line"><a name="l00833"></a><span class="lineno"> 833</span>  cpool->sort(cpool->end()-*length, cpool->end(), std::move(compare), std::move(algo), std::forward<Args>(args)...);</div><div class="line"><a name="l00834"></a><span class="lineno"> 834</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00835"></a><span class="lineno"> 835</span>  cpool->sort(cpool->end()-*length, cpool->end(), [<span class="keyword">this</span>, compare = std::move(compare)](<span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> lhs, <span class="keyword">const</span> <a class="code" href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entity_type</a> rhs) {</div><div class="line"><a name="l00836"></a><span class="lineno"> 836</span>  <span class="comment">// useless this-> used to suppress a warning with clang</span></div><div class="line"><a name="l00837"></a><span class="lineno"> 837</span>  <span class="keywordflow">return</span> compare(this->get<Component...>(lhs), this->get<Component...>(rhs));</div><div class="line"><a name="l00838"></a><span class="lineno"> 838</span>  }, std::move(algo), std::forward<Args>(args)...);</div><div class="line"><a name="l00839"></a><span class="lineno"> 839</span>  }</div><div class="line"><a name="l00840"></a><span class="lineno"> 840</span> </div><div class="line"><a name="l00841"></a><span class="lineno"> 841</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> next = *length; next; --next) {</div><div class="line"><a name="l00842"></a><span class="lineno"> 842</span>  <span class="keyword">const</span> <span class="keyword">auto</span> pos = next - 1;</div><div class="line"><a name="l00843"></a><span class="lineno"> 843</span>  <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespaceentt.html">entt</a> = cpool->data()[pos];</div><div class="line"><a name="l00844"></a><span class="lineno"> 844</span>  (std::get<pool_type<Other> *>(pools)->swap(pos, std::get<pool_type<Other> *>(pools)->index(<a class="code" href="namespaceentt.html">entt</a>)), ...);</div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span>  }</div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span>  }</div><div class="line"><a name="l00847"></a><span class="lineno"> 847</span> </div><div class="line"><a name="l00848"></a><span class="lineno"> 848</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00849"></a><span class="lineno"> 849</span>  <span class="keyword">const</span> <span class="keyword">typename</span> <a class="code" href="classentt_1_1basic__registry.html#a19addadd1c414778261e7c1ed67eee76">basic_registry<Entity>::size_type</a> *length;</div><div class="line"><a name="l00850"></a><span class="lineno"> 850</span>  <span class="keyword">const</span> std::tuple<pool_type<Owned> *, pool_type<Other> *..., pool_type<Get> *...> pools;</div><div class="line"><a name="l00851"></a><span class="lineno"> 851</span> };</div><div class="line"><a name="l00852"></a><span class="lineno"> 852</span> </div><div class="line"><a name="l00853"></a><span class="lineno"> 853</span> </div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span> }</div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span> </div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span> </div><div class="line"><a name="l00857"></a><span class="lineno"> 857</span> <span class="preprocessor">#endif // ENTT_ENTITY_GROUP_HPP</span></div><div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a0ab2882c61c6f33b4f205e57b8a5ae55"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a0ab2882c61c6f33b4f205e57b8a5ae55">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::sort</a></div><div class="ttdeci">void sort(Compare compare, Sort algo=Sort{}, Args &&... args)</div><div class="ttdoc">Sort a group according to the given comparison function. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00402">group.hpp:402</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a91f95cb9ccf140578e71ebb4b11e997a"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a91f95cb9ccf140578e71ebb4b11e997a">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::capacity</a></div><div class="ttdeci">size_type capacity() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the number of elements that a group has currently allocated space for. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00125">group.hpp:125</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_ab031f21c3d6b5afc6979ee22299d217d"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab031f21c3d6b5afc6979ee22299d217d">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::iterator_type</a></div><div class="ttdeci">typename sparse_set< Entity >::iterator_type iterator_type</div><div class="ttdoc">Input iterator type. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00100">group.hpp:100</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a07626b2b8812a92fab71516fcb10ea02"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a07626b2b8812a92fab71516fcb10ea02">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::entity_type</a></div><div class="ttdeci">typename sparse_set< Entity >::entity_type entity_type</div><div class="ttdoc">Underlying entity identifier. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00528">group.hpp:528</a></div></div>
|
|
<div class="ttc" id="classentt_1_1sparse__set_html"><div class="ttname"><a href="classentt_1_1sparse__set.html">entt::sparse_set</a></div><div class="ttdoc">Basic sparse set implementation. </div><div class="ttdef"><b>Definition:</b> <a href="sparse__set_8hpp_source.html#l00050">sparse_set.hpp:50</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_ab564e70851b338dfd9e41d34fb52964b"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ab564e70851b338dfd9e41d34fb52964b">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::end</a></div><div class="ttdeci">iterator_type end() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns an iterator that is past the last entity that has the given components. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00240">group.hpp:240</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__registry_html_a19addadd1c414778261e7c1ed67eee76"><div class="ttname"><a href="classentt_1_1basic__registry.html#a19addadd1c414778261e7c1ed67eee76">entt::basic_registry::size_type</a></div><div class="ttdeci">typename sparse_set< Entity >::size_type size_type</div><div class="ttdoc">Unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="registry_8hpp_source.html#l00303">registry.hpp:303</a></div></div>
|
|
<div class="ttc" id="classentt_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#l00026">fwd.hpp:26</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a687a671d42bc9ce62efca7d8ef6b992d"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a687a671d42bc9ce62efca7d8ef6b992d">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::find</a></div><div class="ttdeci">iterator_type find(const entity_type entt) const ENTT_NOEXCEPT</div><div class="ttdoc">Finds an entity. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00674">group.hpp:674</a></div></div>
|
|
<div class="ttc" id="namespaceentt_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="algorithm_8hpp_source.html#l00012">algorithm.hpp:12</a></div></div>
|
|
<div class="ttc" id="classentt_1_1sparse__set_html_a3d2138b0eb8c7ac968e9e38a9e981ec1"><div class="ttname"><a href="classentt_1_1sparse__set.html#a3d2138b0eb8c7ac968e9e38a9e981ec1">entt::sparse_set::size_type</a></div><div class="ttdeci">std::size_t size_type</div><div class="ttdoc">Unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="sparse__set_8hpp_source.html#l00180">sparse_set.hpp:180</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a2fa8e37f166d1898cfb0b32a02033548"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a2fa8e37f166d1898cfb0b32a02033548">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::iterator_type</a></div><div class="ttdeci">typename sparse_set< Entity >::iterator_type iterator_type</div><div class="ttdoc">Input iterator type. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00532">group.hpp:532</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_aa3e0ef8c5709efafcea2f1402f15fbc7"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aa3e0ef8c5709efafcea2f1402f15fbc7">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::empty</a></div><div class="ttdeci">bool empty() const ENTT_NOEXCEPT</div><div class="ttdoc">Checks whether the group is empty. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00567">group.hpp:567</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_ae8586e583284a89492e391639366e39a"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae8586e583284a89492e391639366e39a">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::begin</a></div><div class="ttdeci">iterator_type begin() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns an iterator to the first entity that has the given components. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00221">group.hpp:221</a></div></div>
|
|
<div class="ttc" id="structentt_1_1storage_html"><div class="ttname"><a href="structentt_1_1storage.html">entt::storage</a></div><div class="ttdoc">Basic storage implementation. </div><div class="ttdef"><b>Definition:</b> <a href="storage_8hpp_source.html#l00698">storage.hpp:698</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a45b6abe751bc3aef843c391c34145203"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a45b6abe751bc3aef843c391c34145203">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::size_type</a></div><div class="ttdeci">typename sparse_set< Entity >::size_type size_type</div><div class="ttdoc">Unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00530">group.hpp:530</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_ae2dfa3de0faf46c5ff8d0e6502880212"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae2dfa3de0faf46c5ff8d0e6502880212">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::empty</a></div><div class="ttdeci">bool empty() const ENTT_NOEXCEPT</div><div class="ttdoc">Checks whether the group is empty. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00149">group.hpp:149</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a243b8825b3fddfb01613a4b342fa7258"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a243b8825b3fddfb01613a4b342fa7258">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::each</a></div><div class="ttdeci">void each(Func func) const</div><div class="ttdoc">Iterates entities and components and applies the given function object to them. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00749">group.hpp:749</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_ad106f13e2ed368fd2022d08a725fc056"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ad106f13e2ed368fd2022d08a725fc056">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::size</a></div><div class="ttdeci">size_type size() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the number of entities that have the given components. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00548">group.hpp:548</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_af2ee75730230b79357f97af7a16d6a4f"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#af2ee75730230b79357f97af7a16d6a4f">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::data</a></div><div class="ttdeci">const entity_type * data() const ENTT_NOEXCEPT</div><div class="ttdoc">Direct access to the list of entities of a given pool. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00611">group.hpp:611</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a4feba81c48d3cbe40eab1306ba462c23"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a4feba81c48d3cbe40eab1306ba462c23">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::contains</a></div><div class="ttdeci">bool contains(const entity_type entt) const ENTT_NOEXCEPT</div><div class="ttdoc">Checks if a group contains an entity. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00269">group.hpp:269</a></div></div>
|
|
<div class="ttc" id="namespaceentt_html_a546467a3662e9a915d5d519ad565e801"><div class="ttname"><a href="namespaceentt.html#a546467a3662e9a915d5d519ad565e801">entt::type_list_cat_t</a></div><div class="ttdeci">typename type_list_cat< List... >::type type_list_cat_t</div><div class="ttdoc">Helper type. </div><div class="ttdef"><b>Definition:</b> <a href="type__traits_8hpp_source.html#l00083">type_traits.hpp:83</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_aa1d827213526124152a3fc216b4cd1f2"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aa1d827213526124152a3fc216b4cd1f2">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::begin</a></div><div class="ttdeci">iterator_type begin() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns an iterator to the first entity that has the given components. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00645">group.hpp:645</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__registry_html"><div class="ttname"><a href="classentt_1_1basic__registry.html">entt::basic_registry</a></div><div class="ttdoc">Fast and reliable entity-component system. </div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00014">fwd.hpp:14</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a40e5fcc3317f3a30dcb9ddff33580af0"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a40e5fcc3317f3a30dcb9ddff33580af0">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::raw</a></div><div class="ttdeci">Component * raw() const ENTT_NOEXCEPT</div><div class="ttdoc">Direct access to the list of components of a given pool. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00168">group.hpp:168</a></div></div>
|
|
<div class="ttc" id="classentt_1_1sparse__set_html_a9a1dbe5ab2dbb098beae0bff56bbf780"><div class="ttname"><a href="classentt_1_1sparse__set.html#a9a1dbe5ab2dbb098beae0bff56bbf780">entt::sparse_set::entity_type</a></div><div class="ttdeci">Entity entity_type</div><div class="ttdoc">Underlying entity identifier. </div><div class="ttdef"><b>Definition:</b> <a href="sparse__set_8hpp_source.html#l00178">sparse_set.hpp:178</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a48caa1f53c1e8065f66d1200c89ea26c"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a48caa1f53c1e8065f66d1200c89ea26c">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::raw</a></div><div class="ttdeci">Component * raw() const ENTT_NOEXCEPT</div><div class="ttdoc">Direct access to the list of components of a given pool. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00589">group.hpp:589</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_aadb0ddddb0d5610ed8fc9fe1d2347074"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#aadb0ddddb0d5610ed8fc9fe1d2347074">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::operator[]</a></div><div class="ttdeci">entity_type operator[](const size_type pos) const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the identifier that occupies the given position. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00684">group.hpp:684</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a36cd8e12087222d425bae24782cd329c"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a36cd8e12087222d425bae24782cd329c">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::data</a></div><div class="ttdeci">const entity_type * data() const ENTT_NOEXCEPT</div><div class="ttdoc">Direct access to the list of entities. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00627">group.hpp:627</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_abe8371a0d1992074a63a853cb6dd81c7"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abe8371a0d1992074a63a853cb6dd81c7">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::shrink_to_fit</a></div><div class="ttdeci">void shrink_to_fit()</div><div class="ttdoc">Requests the removal of unused capacity. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00130">group.hpp:130</a></div></div>
|
|
<div class="ttc" id="structentt_1_1type__list_html"><div class="ttname"><a href="structentt_1_1type__list.html">entt::type_list</a></div><div class="ttdoc">A class to use to push around lists of types, nothing more. </div><div class="ttdef"><b>Definition:</b> <a href="type__traits_8hpp_source.html#l00015">type_traits.hpp:15</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a45617bf54343e78e7757e5407766bde0"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a45617bf54343e78e7757e5407766bde0">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::data</a></div><div class="ttdeci">const entity_type * data() const ENTT_NOEXCEPT</div><div class="ttdoc">Direct access to the list of entities of a given pool. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00187">group.hpp:187</a></div></div>
|
|
<div class="ttc" id="structentt_1_1std__sort_html"><div class="ttname"><a href="structentt_1_1std__sort.html">entt::std_sort</a></div><div class="ttdoc">Function object to wrap std::sort in a class type. </div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8hpp_source.html#l00023">algorithm.hpp:23</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a91eb89434fd97aa7877a06c0acf64772"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a91eb89434fd97aa7877a06c0acf64772">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::size</a></div><div class="ttdeci">size_type size() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the number of existing components of the given type. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00108">group.hpp:108</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a134fb533be3e15cbdbe2951965d3890d"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a134fb533be3e15cbdbe2951965d3890d">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::less</a></div><div class="ttdeci">void less(Func func) const</div><div class="ttdoc">Iterates entities and components and applies the given function object to them. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00774">group.hpp:774</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a097d67cc543e98b67199c99d8c507eb1"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a097d67cc543e98b67199c99d8c507eb1">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::less</a></div><div class="ttdeci">void less(Func func) const</div><div class="ttdoc">Iterates entities and components and applies the given function object to them. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00350">group.hpp:350</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_aa9517a18e4fc769215548e4a5fc6416f"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aa9517a18e4fc769215548e4a5fc6416f">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::sort</a></div><div class="ttdeci">void sort() const</div><div class="ttdoc">Sort the shared pool of entities according to the given component. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00431">group.hpp:431</a></div></div>
|
|
<div class="ttc" id="structentt_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_2utility_8hpp_source.html#l00016">utility.hpp:16</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a079b38c587ad9af5a3fe3da5f91cdc85"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a079b38c587ad9af5a3fe3da5f91cdc85">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::empty</a></div><div class="ttdeci">bool empty() const ENTT_NOEXCEPT</div><div class="ttdoc">Checks whether the pool of a given component is empty. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00141">group.hpp:141</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_ad4d04e99bd95d23a6c734a0decb9db35"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ad4d04e99bd95d23a6c734a0decb9db35">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::empty</a></div><div class="ttdeci">bool empty() const ENTT_NOEXCEPT</div><div class="ttdoc">Checks whether the pool of a given component is empty. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00559">group.hpp:559</a></div></div>
|
|
<div class="ttc" id="namespaceentt_html_a8c24ecc5ab0055f9f2a4725c95afb29e"><div class="ttname"><a href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">entt::get</a></div><div class="ttdeci">constexpr get_t< Type... > get</div><div class="ttdoc">Variable template for lists of observed components. </div><div class="ttdef"><b>Definition:</b> <a href="entity_2utility_8hpp_source.html#l00040">utility.hpp:40</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a51da2e97c1e2cf52d12533e6fb49dd5b"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a51da2e97c1e2cf52d12533e6fb49dd5b">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::size</a></div><div class="ttdeci">size_type size() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the number of existing components of the given type. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00540">group.hpp:540</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_ac2bfb8fc2f9838b6b0ee97ffe6411451"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#ac2bfb8fc2f9838b6b0ee97ffe6411451">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::contains</a></div><div class="ttdeci">bool contains(const entity_type entt) const ENTT_NOEXCEPT</div><div class="ttdoc">Checks if a group contains an entity. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00693">group.hpp:693</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_aff7aac214e65a27e968bf9d3100e4d51"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aff7aac214e65a27e968bf9d3100e4d51">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::size</a></div><div class="ttdeci">size_type size() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the number of entities that have the given components. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00116">group.hpp:116</a></div></div>
|
|
<div class="ttc" id="structentt_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 components. </div><div class="ttdef"><b>Definition:</b> <a href="entity_2utility_8hpp_source.html#l00032">utility.hpp:32</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_ae0379ae19b355744b5845b4979f540a7"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#ae0379ae19b355744b5845b4979f540a7">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::data</a></div><div class="ttdeci">const entity_type * data() const ENTT_NOEXCEPT</div><div class="ttdoc">Direct access to the list of entities. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00203">group.hpp:203</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a401b6a484d089d152b20e52a2b60a776"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a401b6a484d089d152b20e52a2b60a776">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::find</a></div><div class="ttdeci">iterator_type find(const entity_type entt) const ENTT_NOEXCEPT</div><div class="ttdoc">Finds an entity. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00250">group.hpp:250</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_abc8c436572ac36eaa56a21aff22bad58"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#abc8c436572ac36eaa56a21aff22bad58">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::size_type</a></div><div class="ttdeci">typename sparse_set< Entity >::size_type size_type</div><div class="ttdoc">Unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00098">group.hpp:98</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a89b1dd1fdde4ea5c63f2c267f696a62e"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a89b1dd1fdde4ea5c63f2c267f696a62e">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::sort</a></div><div class="ttdeci">void sort(Compare compare, Sort algo=Sort{}, Args &&... args)</div><div class="ttdoc">Sort a group according to the given comparison function. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00828">group.hpp:828</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a2ad800efd688e78cecd185a74d3ea2c4"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2ad800efd688e78cecd185a74d3ea2c4">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::entity_type</a></div><div class="ttdeci">typename sparse_set< Entity >::entity_type entity_type</div><div class="ttdoc">Underlying entity identifier. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00096">group.hpp:96</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f_html_a719eecdcefdddaf1fff02817f154e878"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_54ca6466fcd0506388705164ba2d896f.html#a719eecdcefdddaf1fff02817f154e878">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get... >, Owned, Other... >::end</a></div><div class="ttdeci">iterator_type end() const ENTT_NOEXCEPT</div><div class="ttdoc">Returns an iterator that is past the last entity that has the given components. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00664">group.hpp:664</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_a2f801b988585a43f9b106390a6dfea30"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#a2f801b988585a43f9b106390a6dfea30">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::operator[]</a></div><div class="ttdeci">entity_type operator[](const size_type pos) const ENTT_NOEXCEPT</div><div class="ttdoc">Returns the identifier that occupies the given position. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00260">group.hpp:260</a></div></div>
|
|
<div class="ttc" id="classentt_1_1sparse__set_html_a580b210d5a24c49ca8c255646f3bb469"><div class="ttname"><a href="classentt_1_1sparse__set.html#a580b210d5a24c49ca8c255646f3bb469">entt::sparse_set::iterator_type</a></div><div class="ttdeci">iterator iterator_type</div><div class="ttdoc">Random access iterator type. </div><div class="ttdef"><b>Definition:</b> <a href="sparse__set_8hpp_source.html#l00182">sparse_set.hpp:182</a></div></div>
|
|
<div class="ttc" id="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4_html_aba391a4533926202b366523db19ac4fb"><div class="ttname"><a href="classentt_1_1basic__group_3_01Entity_00_01exclude__t_3_01Exclude_8_8_8_01_4_00_01get__t_3_01Get_00_01Other_8_8_8_01_4_01_4.html#aba391a4533926202b366523db19ac4fb">entt::basic_group< Entity, exclude_t< Exclude... >, get_t< Get, Other... > >::each</a></div><div class="ttdeci">void each(Func func) const</div><div class="ttdoc">Iterates entities and components and applies the given function object to them. </div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00325">group.hpp:325</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.13
|
|
</small></address>
|
|
</body>
|
|
</html>
|