API reference v2.7.0

This commit is contained in:
Michele Caini
2018-07-10 16:36:42 +02:00
parent 89909a0db3
commit 81a9ccc24f
231 changed files with 3603 additions and 1311 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+30 -27
View File
@@ -80,33 +80,36 @@ $(function() {
<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint64__t_01_4.html" target="_self">entt_traits&lt; std::uint64_t &gt;</a></td><td class="desc">Entity traits for a 64 bits entity identifier </td></tr>
<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Family.html" target="_self">Family</a></td><td class="desc">Dynamic identifier generator </td></tr>
<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1HashedString.html" target="_self">HashedString</a></td><td class="desc">Zero overhead resource identifier </td></tr>
<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1InsertionSort.html" target="_self">InsertionSort</a></td><td class="desc">Function object for performing insertion sort </td></tr>
<tr id="row_0_14_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1persistent__t.html" target="_self">persistent_t</a></td><td class="desc">Persistent view type used to disambiguate overloads </td></tr>
<tr id="row_0_15_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1PersistentView.html" target="_self">PersistentView</a></td><td class="desc">Persistent view </td></tr>
<tr id="row_0_16_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Process.html" target="_self">Process</a></td><td class="desc">Base class for processes </td></tr>
<tr id="row_0_17_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ProcessAdaptor.html" target="_self">ProcessAdaptor</a></td><td class="desc">Adaptor for lambdas and functors to turn them into processes </td></tr>
<tr id="row_0_18_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Prototype.html" target="_self">Prototype</a></td><td class="desc"><a class="el" href="classentt_1_1Prototype.html" title="Prototype container for concepts. ">Prototype</a> container for <em>concepts</em> </td></tr>
<tr id="row_0_19_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1raw__t.html" target="_self">raw_t</a></td><td class="desc">Raw view type used to disambiguate overloads </td></tr>
<tr id="row_0_20_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1RawView.html" target="_self">RawView</a></td><td class="desc">Raw view </td></tr>
<tr id="row_0_21_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Registry.html" target="_self">Registry</a></td><td class="desc">Fast and reliable entity-component system </td></tr>
<tr id="row_0_22_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceCache.html" target="_self">ResourceCache</a></td><td class="desc">Simple cache for resources of a given type </td></tr>
<tr id="row_0_23_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceHandle.html" target="_self">ResourceHandle</a></td><td class="desc">Shared resource handle </td></tr>
<tr id="row_0_24_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceLoader.html" target="_self">ResourceLoader</a></td><td class="desc">Base class for resource loaders </td></tr>
<tr id="row_0_25_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Scheduler.html" target="_self">Scheduler</a></td><td class="desc">Cooperative scheduler for processes </td></tr>
<tr id="row_0_26_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ServiceLocator.html" target="_self">ServiceLocator</a></td><td class="desc">Service locator, nothing more </td></tr>
<tr id="row_0_27_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH.html" target="_self">SigH</a></td><td class="desc">Unmanaged signal handler declaration </td></tr>
<tr id="row_0_28_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html" target="_self">SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="desc">Unmanaged signal handler definition </td></tr>
<tr id="row_0_29_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink.html" target="_self">Sink</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_0_30_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html" target="_self">Sink&lt; Ret(Args...)&gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_0_31_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Snapshot.html" target="_self">Snapshot</a></td><td class="desc">Utility class to create snapshots from a registry </td></tr>
<tr id="row_0_32_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SnapshotLoader.html" target="_self">SnapshotLoader</a></td><td class="desc">Utility class to restore a snapshot as a whole </td></tr>
<tr id="row_0_33_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet.html" target="_self">SparseSet</a></td><td class="desc">Sparse set </td></tr>
<tr id="row_0_34_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html" target="_self">SparseSet&lt; Entity &gt;</a></td><td class="desc">Basic sparse set implementation </td></tr>
<tr id="row_0_35_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html" target="_self">SparseSet&lt; Entity, Type &gt;</a></td><td class="desc">Extended sparse set implementation </td></tr>
<tr id="row_0_36_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1StdSort.html" target="_self">StdSort</a></td><td class="desc">Function object to wrap <code>std::sort</code> in a class type </td></tr>
<tr id="row_0_37_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1tag__t.html" target="_self">tag_t</a></td><td class="desc">Tag class type used to disambiguate overloads </td></tr>
<tr id="row_0_38_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View.html" target="_self">View</a></td><td class="desc">Multi component view </td></tr>
<tr id="row_0_39_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" target="_self">View&lt; Entity, Component &gt;</a></td><td class="desc">Single component view specialization </td></tr>
<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Identifier.html" target="_self">Identifier</a></td><td class="desc">Types identifiers </td></tr>
<tr id="row_0_14_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1InsertionSort.html" target="_self">InsertionSort</a></td><td class="desc">Function object for performing insertion sort </td></tr>
<tr id="row_0_15_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1Monostate.html" target="_self">Monostate</a></td><td class="desc">Minimal implementation of the monostate pattern </td></tr>
<tr id="row_0_16_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1persistent__t.html" target="_self">persistent_t</a></td><td class="desc">Persistent view type used to disambiguate overloads </td></tr>
<tr id="row_0_17_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1PersistentView.html" target="_self">PersistentView</a></td><td class="desc">Persistent view </td></tr>
<tr id="row_0_18_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Process.html" target="_self">Process</a></td><td class="desc">Base class for processes </td></tr>
<tr id="row_0_19_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ProcessAdaptor.html" target="_self">ProcessAdaptor</a></td><td class="desc">Adaptor for lambdas and functors to turn them into processes </td></tr>
<tr id="row_0_20_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Prototype.html" target="_self">Prototype</a></td><td class="desc"><a class="el" href="classentt_1_1Prototype.html" title="Prototype container for concepts. ">Prototype</a> container for <em>concepts</em> </td></tr>
<tr id="row_0_21_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1raw__t.html" target="_self">raw_t</a></td><td class="desc">Raw view type used to disambiguate overloads </td></tr>
<tr id="row_0_22_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1RawView.html" target="_self">RawView</a></td><td class="desc">Raw view </td></tr>
<tr id="row_0_23_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Registry.html" target="_self">Registry</a></td><td class="desc">Fast and reliable entity-component system </td></tr>
<tr id="row_0_24_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceCache.html" target="_self">ResourceCache</a></td><td class="desc">Simple cache for resources of a given type </td></tr>
<tr id="row_0_25_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceHandle.html" target="_self">ResourceHandle</a></td><td class="desc">Shared resource handle </td></tr>
<tr id="row_0_26_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceLoader.html" target="_self">ResourceLoader</a></td><td class="desc">Base class for resource loaders </td></tr>
<tr id="row_0_27_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1RuntimeView.html" target="_self">RuntimeView</a></td><td class="desc">Runtime view </td></tr>
<tr id="row_0_28_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Scheduler.html" target="_self">Scheduler</a></td><td class="desc">Cooperative scheduler for processes </td></tr>
<tr id="row_0_29_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ServiceLocator.html" target="_self">ServiceLocator</a></td><td class="desc">Service locator, nothing more </td></tr>
<tr id="row_0_30_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH.html" target="_self">SigH</a></td><td class="desc">Unmanaged signal handler declaration </td></tr>
<tr id="row_0_31_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html" target="_self">SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="desc">Unmanaged signal handler definition </td></tr>
<tr id="row_0_32_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink.html" target="_self">Sink</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_0_33_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html" target="_self">Sink&lt; Ret(Args...)&gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_0_34_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Snapshot.html" target="_self">Snapshot</a></td><td class="desc">Utility class to create snapshots from a registry </td></tr>
<tr id="row_0_35_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SnapshotLoader.html" target="_self">SnapshotLoader</a></td><td class="desc">Utility class to restore a snapshot as a whole </td></tr>
<tr id="row_0_36_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet.html" target="_self">SparseSet</a></td><td class="desc">Sparse set </td></tr>
<tr id="row_0_37_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html" target="_self">SparseSet&lt; Entity &gt;</a></td><td class="desc">Basic sparse set implementation </td></tr>
<tr id="row_0_38_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html" target="_self">SparseSet&lt; Entity, Type &gt;</a></td><td class="desc">Extended sparse set implementation </td></tr>
<tr id="row_0_39_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1StdSort.html" target="_self">StdSort</a></td><td class="desc">Function object to wrap <code>std::sort</code> in a class type </td></tr>
<tr id="row_0_40_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1tag__t.html" target="_self">tag_t</a></td><td class="desc">Tag class type used to disambiguate overloads </td></tr>
<tr id="row_0_41_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View.html" target="_self">View</a></td><td class="desc">Multi component view </td></tr>
<tr id="row_0_42_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" target="_self">View&lt; Entity, Component &gt;</a></td><td class="desc">Single component view specialization </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
@@ -73,9 +73,10 @@ $(function() {
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a51d3c462c56349e09a1c7fe0d58859b7">connect</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a453219af4b49ccaf258e564006ed1f07">connect</a>(Class *instance) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a57a011f4b42c3358ee5219f63997e00b">Delegate</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a3259f295bc4ea1da8307d1be65c83d6a">operator()</a>(Args... args) const</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a7fd87003864d2a56baa7d2c8a9317509">operator==</a>(const Delegate&lt; Ret(Args...)&gt; &amp;other) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a77c5b9a98a0636391955de940dad0b4f">reset</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#ab776848ee5ece9b92740d8a2ad0b84a8">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a3259f295bc4ea1da8307d1be65c83d6a">operator()</a>(Args... args) const</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a7fd87003864d2a56baa7d2c8a9317509">operator==</a>(const Delegate&lt; Ret(Args...)&gt; &amp;other) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a77c5b9a98a0636391955de940dad0b4f">reset</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">entt::Delegate&lt; Ret(Args...)&gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
@@ -82,6 +82,9 @@ Public Member Functions</h2></td></tr>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a57a011f4b42c3358ee5219f63997e00b">Delegate</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a57a011f4b42c3358ee5219f63997e00b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a57a011f4b42c3358ee5219f63997e00b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab776848ee5ece9b92740d8a2ad0b84a8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#ab776848ee5ece9b92740d8a2ad0b84a8">empty</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ab776848ee5ece9b92740d8a2ad0b84a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether a delegate actually stores a listener. <a href="#ab776848ee5ece9b92740d8a2ad0b84a8">More...</a><br /></td></tr>
<tr class="separator:ab776848ee5ece9b92740d8a2ad0b84a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51d3c462c56349e09a1c7fe0d58859b7"><td class="memTemplParams" colspan="2">template&lt;Ret(*)(Args...) Function&gt; </td></tr>
<tr class="memitem:a51d3c462c56349e09a1c7fe0d58859b7"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a51d3c462c56349e09a1c7fe0d58859b7">connect</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a51d3c462c56349e09a1c7fe0d58859b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Binds a free function to a delegate. <a href="#a51d3c462c56349e09a1c7fe0d58859b7">More...</a><br /></td></tr>
@@ -152,7 +155,7 @@ template&lt;Ret(*)(Args...) Function&gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00063">63</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00070">70</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
</div>
</div>
@@ -200,7 +203,39 @@ template&lt;typename Class , Ret(Class::*)(Args...) Member&gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00079">79</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00086">86</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
</div>
</div>
<a id="ab776848ee5ece9b92740d8a2ad0b84a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab776848ee5ece9b92740d8a2ad0b84a8">&#9670;&nbsp;</a></span>empty()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Ret , typename... Args&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classentt_1_1Delegate.html">entt::Delegate</a>&lt; Ret(Args...)&gt;::empty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether a delegate actually stores a listener. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the delegate is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00060">60</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
</div>
</div>
@@ -239,7 +274,7 @@ template&lt;typename Ret , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value returned by the underlying function. </dd></dl>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00097">97</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00104">104</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
</div>
</div>
@@ -279,7 +314,7 @@ template&lt;typename Ret , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the two delegates are identical, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00109">109</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00116">116</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
</div>
</div>
@@ -311,7 +346,7 @@ template&lt;typename Ret , typename... Args&gt; </div>
<p>Resets a delegate. </p>
<p>After a reset, a delegate can be safely invoked with no effect. </p>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00088">88</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="delegate_8hpp_source.html#l00095">95</a> of file <a class="el" href="delegate_8hpp_source.html">delegate.hpp</a>.</p>
</div>
</div>
+83
View File
@@ -0,0 +1,83 @@
<!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: Member List</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
&#160;<span id="projectnumber">2.6.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="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="classentt_1_1Identifier.html">Identifier</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">entt::Identifier&lt; Types &gt; Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classentt_1_1Identifier.html">entt::Identifier&lt; Types &gt;</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Identifier.html#aed05b85b75f2b0646e007f156e43ca6a">get</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Identifier.html">entt::Identifier&lt; Types &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Identifier.html#a80c4fd9773928949e788790fac671169">identifier_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Identifier.html">entt::Identifier&lt; Types &gt;</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
+161
View File
@@ -0,0 +1,161 @@
<!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: entt::Identifier&lt; Types &gt; Class Template Reference</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
&#160;<span id="projectnumber">2.6.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="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="classentt_1_1Identifier.html">Identifier</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classentt_1_1Identifier-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">entt::Identifier&lt; Types &gt; Class Template Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>Types identifiers.
<a href="classentt_1_1Identifier.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ident_8hpp_source.html">ident.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a80c4fd9773928949e788790fac671169"><td class="memItemLeft" align="right" valign="top"><a id="a80c4fd9773928949e788790fac671169"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Identifier.html#a80c4fd9773928949e788790fac671169">identifier_type</a> = std::size_t</td></tr>
<tr class="memdesc:a80c4fd9773928949e788790fac671169"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:a80c4fd9773928949e788790fac671169"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aed05b85b75f2b0646e007f156e43ca6a"><td class="memTemplParams" colspan="2">template&lt;typename Type &gt; </td></tr>
<tr class="memitem:aed05b85b75f2b0646e007f156e43ca6a"><td class="memTemplItemLeft" align="right" valign="top">static constexpr <a class="el" href="classentt_1_1Identifier.html#a80c4fd9773928949e788790fac671169">identifier_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Identifier.html#aed05b85b75f2b0646e007f156e43ca6a">get</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aed05b85b75f2b0646e007f156e43ca6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the identifier associated with a given type. <a href="#aed05b85b75f2b0646e007f156e43ca6a">More...</a><br /></td></tr>
<tr class="separator:aed05b85b75f2b0646e007f156e43ca6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename... Types&gt;<br />
class entt::Identifier&lt; Types &gt;</h3>
<p>Types identifiers. </p>
<p>Variable template used to generate identifiers at compile-time for the given types. Use the <code>get</code> member function to know what's the identifier associated to the specific type.</p>
<dl class="section note"><dt>Note</dt><dd>Identifiers are constant expression and can be used in any context where such an expression is required. As an example: <div class="fragment"><div class="line"><span class="keyword">using</span> ID = <a class="code" href="classentt_1_1Identifier.html">entt::Identifier&lt;AType, AnotherType&gt;</a>;</div><div class="line"></div><div class="line"><span class="keywordflow">switch</span>(aTypeIdentifier) {</div><div class="line"><span class="keywordflow">case</span> ID::get&lt;AType&gt;():</div><div class="line"> <span class="comment">// ...</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"><span class="keywordflow">case</span> ID::get&lt;AnotherType&gt;():</div><div class="line"> <span class="comment">// ...</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"><span class="keywordflow">default</span>:</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Types</td><td>List of types for which to generate identifiers. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="ident_8hpp_source.html#l00071">71</a> of file <a class="el" href="ident_8hpp_source.html">ident.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aed05b85b75f2b0646e007f156e43ca6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed05b85b75f2b0646e007f156e43ca6a">&#9670;&nbsp;</a></span>get()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Types&gt; </div>
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static constexpr <a class="el" href="classentt_1_1Identifier.html#a80c4fd9773928949e788790fac671169">identifier_type</a> <a class="el" href="classentt_1_1Identifier.html">entt::Identifier</a>&lt; Types &gt;::get </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the identifier associated with a given type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Type</td><td>of which to return the identifier. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The identifier associated with the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ident_8hpp_source.html#l00095">95</a> of file <a class="el" href="ident_8hpp_source.html">ident.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/entt/core/<a class="el" href="ident_8hpp_source.html">ident.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
+5 -4
View File
@@ -88,10 +88,11 @@ $(function() {
<tr><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#af6931b058d6009776cc19082eb9a512f">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#ad2e8b8cf33831f8ea2caf1bd9a0474b6">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#ae563ed31a62fd9f33f93767f0ecdfff5">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#a200646cfe88496da691aab5f61c0fa69">Registry&lt; Entity &gt;</a> class</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#ad6b816b2acc684733d79ac680005f8da">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#ac2e81caacece38b84f46c4430cd8cf4e">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#accde3d4b4a904e79c832f6b05f324b05">sort</a>()</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#a7edc6f5cbd49d978469d9384b9aca6b3">operator[]</a>(const size_type pos) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#a200646cfe88496da691aab5f61c0fa69">Registry&lt; Entity &gt;</a> class</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#ad6b816b2acc684733d79ac680005f8da">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#ac2e81caacece38b84f46c4430cd8cf4e">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1PersistentView.html#accde3d4b4a904e79c832f6b05f324b05">sort</a>()</td><td class="entry"><a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
+71 -27
View File
@@ -80,14 +80,6 @@ $(function() {
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae563ed31a62fd9f33f93767f0ecdfff5"><td class="memItemLeft" align="right" valign="top"><a id="ae563ed31a62fd9f33f93767f0ecdfff5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#ae563ed31a62fd9f33f93767f0ecdfff5">iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">view_type::iterator_type</a></td></tr>
<tr class="memdesc:ae563ed31a62fd9f33f93767f0ecdfff5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:ae563ed31a62fd9f33f93767f0ecdfff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a260bd2740fb90caf984ce62c26bb887b"><td class="memItemLeft" align="right" valign="top"><a id="a260bd2740fb90caf984ce62c26bb887b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#a260bd2740fb90caf984ce62c26bb887b">const_iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">view_type::const_iterator_type</a></td></tr>
<tr class="memdesc:a260bd2740fb90caf984ce62c26bb887b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a260bd2740fb90caf984ce62c26bb887b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5195c9d1dede0fe6c40bea576398022b"><td class="memItemLeft" align="right" valign="top"><a id="a5195c9d1dede0fe6c40bea576398022b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#a5195c9d1dede0fe6c40bea576398022b">entity_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">view_type::entity_type</a></td></tr>
<tr class="memdesc:a5195c9d1dede0fe6c40bea576398022b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
@@ -96,6 +88,14 @@ using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cla
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#ac2e81caacece38b84f46c4430cd8cf4e">size_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">view_type::size_type</a></td></tr>
<tr class="memdesc:ac2e81caacece38b84f46c4430cd8cf4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:ac2e81caacece38b84f46c4430cd8cf4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae563ed31a62fd9f33f93767f0ecdfff5"><td class="memItemLeft" align="right" valign="top"><a id="ae563ed31a62fd9f33f93767f0ecdfff5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#ae563ed31a62fd9f33f93767f0ecdfff5">iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">view_type::iterator_type</a></td></tr>
<tr class="memdesc:ae563ed31a62fd9f33f93767f0ecdfff5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:ae563ed31a62fd9f33f93767f0ecdfff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a260bd2740fb90caf984ce62c26bb887b"><td class="memItemLeft" align="right" valign="top"><a id="a260bd2740fb90caf984ce62c26bb887b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#a260bd2740fb90caf984ce62c26bb887b">const_iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">view_type::const_iterator_type</a></td></tr>
<tr class="memdesc:a260bd2740fb90caf984ce62c26bb887b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a260bd2740fb90caf984ce62c26bb887b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@@ -126,6 +126,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a470ef6edb944f127e26f7e3398cbded1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1PersistentView.html#ae563ed31a62fd9f33f93767f0ecdfff5">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#a470ef6edb944f127e26f7e3398cbded1">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a470ef6edb944f127e26f7e3398cbded1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator that is past the last entity that has the given components. <a href="#a470ef6edb944f127e26f7e3398cbded1">More...</a><br /></td></tr>
<tr class="separator:a470ef6edb944f127e26f7e3398cbded1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7edc6f5cbd49d978469d9384b9aca6b3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1PersistentView.html#a5195c9d1dede0fe6c40bea576398022b">entity_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#a7edc6f5cbd49d978469d9384b9aca6b3">operator[]</a> (const <a class="el" href="classentt_1_1PersistentView.html#ac2e81caacece38b84f46c4430cd8cf4e">size_type</a> pos) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a7edc6f5cbd49d978469d9384b9aca6b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#a7edc6f5cbd49d978469d9384b9aca6b3">More...</a><br /></td></tr>
<tr class="separator:a7edc6f5cbd49d978469d9384b9aca6b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af98a61a6ac04e08b6b46e4163ad3d415"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1PersistentView.html#af98a61a6ac04e08b6b46e4163ad3d415">contains</a> (const <a class="el" href="classentt_1_1PersistentView.html#a5195c9d1dede0fe6c40bea576398022b">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:af98a61a6ac04e08b6b46e4163ad3d415"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a view contains an entity. <a href="#af98a61a6ac04e08b6b46e4163ad3d415">More...</a><br /></td></tr>
<tr class="separator:af98a61a6ac04e08b6b46e4163ad3d415"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -186,7 +189,9 @@ class entt::PersistentView&lt; Entity, Component &gt;</h3>
<dd>
<a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" title="Single component view specialization. ">View&lt;Entity, Component&gt;</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>A valid entity type (see <a class="el" href="structentt_1_1entt__traits.html" title="Entity traits. ">entt_traits</a> for more details). </td></tr>
@@ -195,7 +200,7 @@ class entt::PersistentView&lt; Entity, Component &gt;</h3>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00068">68</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00071">71</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af1469f9dd45ebc68729e88e741c465a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1469f9dd45ebc68729e88e741c465a4">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
@@ -227,7 +232,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00158">158</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00161">161</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -261,7 +266,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00176">176</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00179">179</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -295,7 +300,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00140">140</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00143">143</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -329,7 +334,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00195">195</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00198">198</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -368,7 +373,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the view contains the given entity, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00242">242</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00254">254</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -402,7 +407,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the entities. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of entities. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00122">122</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00125">125</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -450,7 +455,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00356">356</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00368">368</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -498,7 +503,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00379">379</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00391">391</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -530,7 +535,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<p>Checks whether the view is empty. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the view is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00106">106</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00109">109</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -564,7 +569,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00214">214</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00217">217</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -598,7 +603,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00233">233</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00236">236</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -648,7 +653,7 @@ template&lt;typename Comp &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The component assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00264">264</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00276">276</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -698,7 +703,7 @@ template&lt;typename Comp &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The component assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00287">287</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00299">299</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -748,7 +753,7 @@ template&lt;typename... Comp&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The components assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00310">310</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00322">322</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -798,7 +803,46 @@ template&lt;typename... Comp&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The components assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00334">334</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00346">346</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a7edc6f5cbd49d978469d9384b9aca6b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7edc6f5cbd49d978469d9384b9aca6b3">&#9670;&nbsp;</a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename... Component&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classentt_1_1PersistentView.html#a5195c9d1dede0fe6c40bea576398022b">entity_type</a>&amp; <a class="el" href="classentt_1_1PersistentView.html">entt::PersistentView</a>&lt; Entity, Component &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1PersistentView.html#ac2e81caacece38b84f46c4430cd8cf4e">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00245">245</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -830,7 +874,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<p>Returns the number of entities that have the given components. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of entities that have the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00098">98</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00101">101</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -871,7 +915,7 @@ template&lt;typename Comp &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00402">402</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00414">414</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
+4
View File
@@ -86,7 +86,11 @@ $(function() {
<tr><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a6b0560c31432fb6591a772ce9a322728">operator()</a>(const entity_type dst) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a7c401ecc89b0c88ab15ed2dd7686b54e">operator()</a>(registry_type &amp;other) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Prototype.html#ad39dd5c5449cc647a1402543ebe411fe">operator()</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a65529171240b1b7c348445c7ba4f319e">operator=</a>(const Prototype &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a9faf0b8878925090431a9e6acaed06c5">operator=</a>(Prototype &amp;&amp;other)</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Prototype.html#aa6033be234aad4d287d740c40db17fec">Prototype</a>(Registry&lt; Entity &gt; &amp;registry)</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a6f3d7431f85160da0e255b279c4b5291">Prototype</a>(const Prototype &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Prototype.html#ad4900c4a27f506b5d2b9db54aba9d224">Prototype</a>(Prototype &amp;&amp;other)</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a8e4a91009c1cbb0bfaadf4e95178eaec">registry_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Prototype.html#abf665ce59c8f43c4eff3ce77a21c5cfb">set</a>(Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Prototype.html#a2a593566474356ad2a03fea9b122de93">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype&lt; Entity &gt;</a></td><td class="entry"></td></tr>
+142 -19
View File
@@ -102,6 +102,19 @@ Public Member Functions</h2></td></tr>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Prototype.html#acb70104c3d32fcf22fbe37afa7602ed5">~Prototype</a> ()</td></tr>
<tr class="memdesc:acb70104c3d32fcf22fbe37afa7602ed5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases all its resources. <br /></td></tr>
<tr class="separator:acb70104c3d32fcf22fbe37afa7602ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f3d7431f85160da0e255b279c4b5291"><td class="memItemLeft" align="right" valign="top"><a id="a6f3d7431f85160da0e255b279c4b5291"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Prototype.html#a6f3d7431f85160da0e255b279c4b5291">Prototype</a> (const <a class="el" href="classentt_1_1Prototype.html">Prototype</a> &amp;)=delete</td></tr>
<tr class="memdesc:a6f3d7431f85160da0e255b279c4b5291"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copying a prototype isn't allowed. <br /></td></tr>
<tr class="separator:a6f3d7431f85160da0e255b279c4b5291"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4900c4a27f506b5d2b9db54aba9d224"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Prototype.html#ad4900c4a27f506b5d2b9db54aba9d224">Prototype</a> (<a class="el" href="classentt_1_1Prototype.html">Prototype</a> &amp;&amp;other)</td></tr>
<tr class="memdesc:ad4900c4a27f506b5d2b9db54aba9d224"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor. <a href="#ad4900c4a27f506b5d2b9db54aba9d224">More...</a><br /></td></tr>
<tr class="separator:ad4900c4a27f506b5d2b9db54aba9d224"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65529171240b1b7c348445c7ba4f319e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Prototype.html">Prototype</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Prototype.html#a65529171240b1b7c348445c7ba4f319e">operator=</a> (const <a class="el" href="classentt_1_1Prototype.html">Prototype</a> &amp;)=delete</td></tr>
<tr class="memdesc:a65529171240b1b7c348445c7ba4f319e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copying a prototype isn't allowed. <a href="#a65529171240b1b7c348445c7ba4f319e">More...</a><br /></td></tr>
<tr class="separator:a65529171240b1b7c348445c7ba4f319e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9faf0b8878925090431a9e6acaed06c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Prototype.html">Prototype</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Prototype.html#a9faf0b8878925090431a9e6acaed06c5">operator=</a> (<a class="el" href="classentt_1_1Prototype.html">Prototype</a> &amp;&amp;other)</td></tr>
<tr class="memdesc:a9faf0b8878925090431a9e6acaed06c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator. <a href="#a9faf0b8878925090431a9e6acaed06c5">More...</a><br /></td></tr>
<tr class="separator:a9faf0b8878925090431a9e6acaed06c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf665ce59c8f43c4eff3ce77a21c5cfb"><td class="memTemplParams" colspan="2">template&lt;typename Component , typename... Args&gt; </td></tr>
<tr class="memitem:abf665ce59c8f43c4eff3ce77a21c5cfb"><td class="memTemplItemLeft" align="right" valign="top">Component &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Prototype.html#abf665ce59c8f43c4eff3ce77a21c5cfb">set</a> (Args &amp;&amp;... args)</td></tr>
<tr class="memdesc:abf665ce59c8f43c4eff3ce77a21c5cfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns to or replaces the given component of a prototype. <a href="#abf665ce59c8f43c4eff3ce77a21c5cfb">More...</a><br /></td></tr>
@@ -180,7 +193,7 @@ class entt::Prototype&lt; Entity &gt;</h3>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00039">39</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa6033be234aad4d287d740c40db17fec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6033be234aad4d287d740c40db17fec">&#9670;&nbsp;</a></span>Prototype()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#aa6033be234aad4d287d740c40db17fec">&#9670;&nbsp;</a></span>Prototype() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -213,7 +226,46 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00063">63</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00069">69</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
<a id="ad4900c4a27f506b5d2b9db54aba9d224"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4900c4a27f506b5d2b9db54aba9d224">&#9670;&nbsp;</a></span>Prototype() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1Prototype.html">entt::Prototype</a>&lt; Entity &gt;::<a class="el" href="classentt_1_1Prototype.html">Prototype</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classentt_1_1Prototype.html">Prototype</a>&lt; Entity &gt; &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Move constructor. </p>
<p>After prototype move construction, instances that have been moved from are placed in a valid but unspecified state. It's highly discouraged to continue using them.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The instance to move from. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00093">93</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -267,7 +319,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00310">310</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00356">356</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -309,7 +361,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00334">334</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00380">380</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -363,7 +415,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00259">259</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00307">307</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -406,7 +458,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00285">285</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00333">333</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -447,7 +499,7 @@ template&lt;typename Entity &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00209">209</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00259">259</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -481,7 +533,7 @@ template&lt;typename Entity &gt; </div>
<div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> entity = registry.create();</div><div class="line">prototype(entity);</div></div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>This overload directly uses the underlying registry as a working space. Therefore, the components of the prototype and of the entity will share the same registry.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00232">232</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00282">282</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -523,7 +575,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the component owned by the prototype. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00134">134</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00184">184</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -565,7 +617,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the component owned by the prototype. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00151">151</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00201">201</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -607,7 +659,7 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>References to the components owned by the prototype. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00169">169</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00219">219</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -649,7 +701,7 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>References to the components owned by the prototype. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00187">187</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00237">237</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -689,7 +741,7 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the prototype owns all the components, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00117">117</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00167">167</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -743,7 +795,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00361">361</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00405">405</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -786,7 +838,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00385">385</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00429">429</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -827,7 +879,7 @@ template&lt;typename Entity &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00407">407</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00451">451</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -861,7 +913,78 @@ template&lt;typename Entity &gt; </div>
<div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> entity = registry.create();</div><div class="line">prototype(entity);</div></div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>This overload directly uses the underlying registry as a working space. Therefore, the components of the prototype and of the entity will share the same registry.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00428">428</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00472">472</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
<a id="a65529171240b1b7c348445c7ba4f319e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65529171240b1b7c348445c7ba4f319e">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1Prototype.html">Prototype</a>&amp; <a class="el" href="classentt_1_1Prototype.html">entt::Prototype</a>&lt; Entity &gt;::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1Prototype.html">Prototype</a>&lt; Entity &gt; &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Copying a prototype isn't allowed. </p>
<dl class="section return"><dt>Returns</dt><dd>This <a class="el" href="classentt_1_1Prototype.html" title="Prototype container for concepts. ">Prototype</a>. </dd></dl>
</div>
</div>
<a id="a9faf0b8878925090431a9e6acaed06c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9faf0b8878925090431a9e6acaed06c5">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1Prototype.html">Prototype</a>&amp; <a class="el" href="classentt_1_1Prototype.html">entt::Prototype</a>&lt; Entity &gt;::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classentt_1_1Prototype.html">Prototype</a>&lt; Entity &gt; &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Move assignment operator. </p>
<p>After prototype move assignment, instances that have been moved from are placed in a valid but unspecified state. It's highly discouraged to continue using them.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The instance to move from. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>This <a class="el" href="classentt_1_1Prototype.html" title="Prototype container for concepts. ">Prototype</a>. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00114">114</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -909,7 +1032,7 @@ template&lt;typename Component , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the newly created component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00083">83</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00133">133</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
@@ -948,7 +1071,7 @@ template&lt;typename Component &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00106">106</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="prototype_8hpp_source.html#l00156">156</a> of file <a class="el" href="prototype_8hpp_source.html">prototype.hpp</a>.</p>
</div>
</div>
+2
View File
@@ -83,6 +83,8 @@ $(function() {
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RawView.html#a8ebfe24e5a5e428b429f470755d0a1f7">end</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RawView.html#a544ee87b4a856cfa5c49ea4581c85a35">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RawView.html#ab34740dea79327742888e84ba5c14328">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RawView.html#a6a8855ebc61f5ea5f4c676173e92cfcc">operator[]</a>(const size_type pos) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RawView.html#ac85aa3a824640eeeb45f9d1eaaaeea8d">operator[]</a>(const size_type pos) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RawView.html#ae9909bbe3f734989b765324b8cd75332">raw</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RawView.html#a1cdb189f5b2bf17021cf5c53d10ec222">raw</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RawView.html">entt::RawView&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
+115 -29
View File
@@ -80,14 +80,10 @@ $(function() {
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab34740dea79327742888e84ba5c14328"><td class="memItemLeft" align="right" valign="top"><a id="ab34740dea79327742888e84ba5c14328"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#ab34740dea79327742888e84ba5c14328">iterator_type</a> = typename pool_type::iterator_type</td></tr>
<tr class="memdesc:ab34740dea79327742888e84ba5c14328"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:ab34740dea79327742888e84ba5c14328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"><td class="memItemLeft" align="right" valign="top"><a id="a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7">const_iterator_type</a> = typename pool_type::const_iterator_type</td></tr>
<tr class="memdesc:a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a6e2cd0387a63e153a18bd60a1283a3"><td class="memItemLeft" align="right" valign="top"><a id="a6a6e2cd0387a63e153a18bd60a1283a3"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a> = typename pool_type::object_type</td></tr>
<tr class="memdesc:a6a6e2cd0387a63e153a18bd60a1283a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of component iterated by the view. <br /></td></tr>
<tr class="separator:a6a6e2cd0387a63e153a18bd60a1283a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a544ee87b4a856cfa5c49ea4581c85a35"><td class="memItemLeft" align="right" valign="top"><a id="a544ee87b4a856cfa5c49ea4581c85a35"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a544ee87b4a856cfa5c49ea4581c85a35">entity_type</a> = typename pool_type::entity_type</td></tr>
<tr class="memdesc:a544ee87b4a856cfa5c49ea4581c85a35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
@@ -96,10 +92,14 @@ using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cla
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">size_type</a> = typename pool_type::size_type</td></tr>
<tr class="memdesc:afc530c9c64688b522ac643fdb5a0bb6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:afc530c9c64688b522ac643fdb5a0bb6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a6e2cd0387a63e153a18bd60a1283a3"><td class="memItemLeft" align="right" valign="top"><a id="a6a6e2cd0387a63e153a18bd60a1283a3"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a> = typename pool_type::object_type</td></tr>
<tr class="memdesc:a6a6e2cd0387a63e153a18bd60a1283a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of component iterated by the view. <br /></td></tr>
<tr class="separator:a6a6e2cd0387a63e153a18bd60a1283a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab34740dea79327742888e84ba5c14328"><td class="memItemLeft" align="right" valign="top"><a id="ab34740dea79327742888e84ba5c14328"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#ab34740dea79327742888e84ba5c14328">iterator_type</a> = typename pool_type::iterator_type</td></tr>
<tr class="memdesc:ab34740dea79327742888e84ba5c14328"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:ab34740dea79327742888e84ba5c14328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"><td class="memItemLeft" align="right" valign="top"><a id="a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7">const_iterator_type</a> = typename pool_type::const_iterator_type</td></tr>
<tr class="memdesc:a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@@ -136,6 +136,12 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a8ebfe24e5a5e428b429f470755d0a1f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RawView.html#ab34740dea79327742888e84ba5c14328">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a8ebfe24e5a5e428b429f470755d0a1f7">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a8ebfe24e5a5e428b429f470755d0a1f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator that is past the last instance of the given type. <a href="#a8ebfe24e5a5e428b429f470755d0a1f7">More...</a><br /></td></tr>
<tr class="separator:a8ebfe24e5a5e428b429f470755d0a1f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a8855ebc61f5ea5f4c676173e92cfcc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a6a8855ebc61f5ea5f4c676173e92cfcc">operator[]</a> (const <a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">size_type</a> pos) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a6a8855ebc61f5ea5f4c676173e92cfcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#a6a8855ebc61f5ea5f4c676173e92cfcc">More...</a><br /></td></tr>
<tr class="separator:a6a8855ebc61f5ea5f4c676173e92cfcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac85aa3a824640eeeb45f9d1eaaaeea8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#ac85aa3a824640eeeb45f9d1eaaaeea8d">operator[]</a> (const <a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">size_type</a> pos) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ac85aa3a824640eeeb45f9d1eaaaeea8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#ac85aa3a824640eeeb45f9d1eaaaeea8d">More...</a><br /></td></tr>
<tr class="separator:ac85aa3a824640eeeb45f9d1eaaaeea8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f88d86e1ad74bb558df47e7507612b1"><td class="memTemplParams" colspan="2">template&lt;typename Func &gt; </td></tr>
<tr class="memitem:a2f88d86e1ad74bb558df47e7507612b1"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1RawView.html#a2f88d86e1ad74bb558df47e7507612b1">each</a> (Func func) const</td></tr>
<tr class="memdesc:a2f88d86e1ad74bb558df47e7507612b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterates components and applies the given function object to them. <a href="#a2f88d86e1ad74bb558df47e7507612b1">More...</a><br /></td></tr>
@@ -172,7 +178,9 @@ class entt::RawView&lt; Entity, Component &gt;</h3>
<dd>
<a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" title="Single component view specialization. ">View&lt;Entity, Component&gt;</a> </dd>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a></dd></dl>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>A valid entity type (see <a class="el" href="structentt_1_1entt__traits.html" title="Entity traits. ">entt_traits</a> for more details). </td></tr>
@@ -181,7 +189,7 @@ class entt::RawView&lt; Entity, Component &gt;</h3>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01276">1276</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01300">1300</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a564cc60d60b8d80aefca967eea79031f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a564cc60d60b8d80aefca967eea79031f">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
@@ -213,7 +221,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01390">1390</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01414">1414</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -247,7 +255,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01406">1406</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01430">1430</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -281,7 +289,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01374">1374</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01398">1398</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -315,7 +323,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01425">1425</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01449">1449</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -349,7 +357,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the entities. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of entities. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01358">1358</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01382">1382</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -397,7 +405,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01482">1482</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01524">1524</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -430,9 +438,9 @@ template&lt;typename Func &gt; </div>
</div><div class="memdoc">
<p>Iterates components and applies the given function object to them. </p>
<p>The function object is provided with a const reference to each component of the view.<br />
<p>The function object is provided with a reference to each component of the view.<br />
The signature of the function should be equivalent to the following:</p>
<div class="fragment"><div class="line">void(<span class="keyword">const</span> Component &amp;);</div></div><!-- fragment --><dl class="tparams"><dt>Template Parameters</dt><dd>
<div class="fragment"><div class="line">void(Component &amp;);</div></div><!-- fragment --><dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Func</td><td>Type of the function object to invoke. </td></tr>
</table>
@@ -445,7 +453,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01501">1501</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01543">1543</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -477,7 +485,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<p>Checks whether the view is empty. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the view is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01310">1310</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01334">1334</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -511,7 +519,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01444">1444</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01468">1468</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -545,7 +553,85 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01463">1463</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01487">1487</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a6a8855ebc61f5ea5f4c676173e92cfcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a8855ebc61f5ea5f4c676173e92cfcc">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename Component &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a>&amp; <a class="el" href="classentt_1_1RawView.html">entt::RawView</a>&lt; Entity, Component &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01496">1496</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="ac85aa3a824640eeeb45f9d1eaaaeea8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac85aa3a824640eeeb45f9d1eaaaeea8d">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename Component &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">raw_type</a>&amp; <a class="el" href="classentt_1_1RawView.html">entt::RawView</a>&lt; Entity, Component &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01505">1505</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -579,7 +665,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the components. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01326">1326</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01350">1350</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -613,7 +699,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the components. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01342">1342</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01366">1366</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -645,7 +731,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<p>Returns the number of instances of the given type. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of instances of the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01302">1302</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01326">1326</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
+66 -62
View File
@@ -74,69 +74,73 @@ $(function() {
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a93b5717af287a2b97e0ef9695c51ed58">assign</a>(tag_t, const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a01f87450271067dda6c87f0c7c9b80dd">assign</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#af157dcabe4fe027e2f9cd45f4958f3b9">attachee</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aefe4ec26db45257de26da19147a9e3f3">capacity</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aefd07a0cdff88ebf1e35e531d58c3077">component_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a6f6b29268ba11a8526fa3f9d3bdb58e5">construction</a>(tag_t) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#af43b25946f4cbdec633df25317edc020">construction</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a67a9d1a75fa1f8e29091f1127c0f3a70">contains</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a10de276e8fc78fe205907c808ddb8d9a">create</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a9e79305f5a066bdc2b272181a08b17ac">current</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a2bb7899d022c90b2385cad18a31e48dd">data</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a38e5391f9c1b4a8ea814f0abcf7a3323">capacity</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aefe4ec26db45257de26da19147a9e3f3">capacity</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aefd07a0cdff88ebf1e35e531d58c3077">component_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a6f6b29268ba11a8526fa3f9d3bdb58e5">construction</a>(tag_t) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#af43b25946f4cbdec633df25317edc020">construction</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a67a9d1a75fa1f8e29091f1127c0f3a70">contains</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a433ac3fc8ea49347f691dd4ad1ccb58b">create</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a9e79305f5a066bdc2b272181a08b17ac">current</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a2bb7899d022c90b2385cad18a31e48dd">data</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a140dfdb699d360b7c0e066ae298aab5e">destroy</a>(tag_t)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a197afcc6da68df6eb87575284232a3ff">destroy</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a89df80b61b83bc3c4c3ed6d9324aa8b4">destruction</a>(tag_t) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aaa38dca5bb6875370d50a923cf52fcfb">destruction</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a9289a7c5d8bed1ba59948311f8fcd3f4">discard</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1d7547f6d8503265480d235fe48dfb1d">each</a>(Func func) const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a57193f01b75256867ba34342cd46ec13">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a8735df0baab2fea088e6946e2811e29b">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a76bf9ca50a3651d3c0c32df0627d8270">fast</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a2079fb67093feb86b75e9dede6bb6c4d">get</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a3c71607135bee449a486c8a5241dc70d">get</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aa40aa6a87415b2e88c67b8b9f895bfe8">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aefa861cd4cd2750ddb43f587fc756531">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a19e0832f4aceb58f1be1e7540313cec0">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a73f3a68af4e73a74a273cca9ceab68a2">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ae2be7a8e1e6216b8a48fa941e9d3fbd6">has</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#afc108dadf41e5080274bcc4e877024e4">has</a>(tag_t, const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1ca7a3b46d14db8d917547643b1ab614">has</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ae3592a627bf35b12d51ddd0876ca6896">move</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a6ff250745f1774984a9524d63855f26d">operator=</a>(const Registry &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ade7432a219317a6912553feb2971188b">operator=</a>(Registry &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a3b4a5341ac0ef79fd2477753e857a9cb">orphan</a>(const entity_type entity) const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ada2900e50f66573c14821baac03bbd68">orphans</a>(Func func) const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ac05c9ccc5fe57df386d8104578fc9675">prepare</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aaa4a9703f583da393101aa91604267e6">raw</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1728046f5645bf2ff3f167c40ca29d0e">raw</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ab5022bf3ac71d209cb9b85e686324f28">Registry</a>()=default</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a441dfbc29b39106fbacec0f0c7b07359">Registry</a>(const Registry &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a5340b49833d3e23e28200a4069fe04b0">Registry</a>(Registry &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a957bcbdbf082f9767e5474a73be6ece4">remove</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a113ff63724bdb90344984d5dd16995f2">remove</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a39b071aa110b8ea38fb71ca471d371b5">replace</a>(tag_t, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a2482e363a9b4ff9b6a4a0e1385c7b6e1">replace</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a6d57a57e13ca236a215e332b94852147">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aa927ac552b42e2a0fcc8de08f56510c7">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#af406e83980abc792905ff4a0626b3d02">reset</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a613333e0a4acb227d08938ccc594e064">reset</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1b6ec743e9a62389cf2bba9a25ee09d7">reset</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a925e91c4f1904d5104a0c5e9e9f70223">restore</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ada8da3c42b6f37209255eef008581b0b">sink_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a88d7621801898d0a551cfd98b29a7cd0">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1be83159fed73573014e6e2919ecabf3">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a69bdf0c5645f2049e8dee9e0c4de53ca">snapshot</a>() const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#af97db8232b2b26604adb5f10ded70f11">sort</a>(Compare compare, Sort sort=Sort{})</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aa3abb830a7ba342266b62ff1a2965754">sort</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a357cfdc1b3c5abc7a36e8eddbd6ce5c7">tag_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a682552d500d7768b5d9d4e5f547cdfaf">type</a>(tag_t) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a484018ca7d1898708ea17a651eddc7e4">type</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aaba72db4ebf99a911b58327063ec8ad9">valid</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ad7467ac1c8a7657062b1b4386dded54e">version</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a82c8996277034df5e72b5f30a70ebb2d">version_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#abb1eb5f1a2ec31d14b5b98271ff78f1e">view</a>(persistent_t)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aedc2a2344c5d13a0483608d48189a92a">view</a>(raw_t)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a8169422afda942f5915ee68b46636c3b">destroy</a>(Type...)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a89df80b61b83bc3c4c3ed6d9324aa8b4">destruction</a>(tag_t) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aaa38dca5bb6875370d50a923cf52fcfb">destruction</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a9289a7c5d8bed1ba59948311f8fcd3f4">discard</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1d7547f6d8503265480d235fe48dfb1d">each</a>(Func func) const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a57193f01b75256867ba34342cd46ec13">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a8735df0baab2fea088e6946e2811e29b">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a76bf9ca50a3651d3c0c32df0627d8270">fast</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a2079fb67093feb86b75e9dede6bb6c4d">get</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a3c71607135bee449a486c8a5241dc70d">get</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aa40aa6a87415b2e88c67b8b9f895bfe8">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aefa861cd4cd2750ddb43f587fc756531">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a19e0832f4aceb58f1be1e7540313cec0">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a73f3a68af4e73a74a273cca9ceab68a2">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ae2be7a8e1e6216b8a48fa941e9d3fbd6">has</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#afc108dadf41e5080274bcc4e877024e4">has</a>(tag_t, const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1ca7a3b46d14db8d917547643b1ab614">has</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a459073e0dfdb4f21519792717f688173">move</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a6ff250745f1774984a9524d63855f26d">operator=</a>(const Registry &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ade7432a219317a6912553feb2971188b">operator=</a>(Registry &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a3b4a5341ac0ef79fd2477753e857a9cb">orphan</a>(const entity_type entity) const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ada2900e50f66573c14821baac03bbd68">orphans</a>(Func func) const</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ac05c9ccc5fe57df386d8104578fc9675">prepare</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aaa4a9703f583da393101aa91604267e6">raw</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1728046f5645bf2ff3f167c40ca29d0e">raw</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ab5022bf3ac71d209cb9b85e686324f28">Registry</a>()=default</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a441dfbc29b39106fbacec0f0c7b07359">Registry</a>(const Registry &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a5340b49833d3e23e28200a4069fe04b0">Registry</a>(Registry &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a957bcbdbf082f9767e5474a73be6ece4">remove</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a113ff63724bdb90344984d5dd16995f2">remove</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a39b071aa110b8ea38fb71ca471d371b5">replace</a>(tag_t, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a2482e363a9b4ff9b6a4a0e1385c7b6e1">replace</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a6d57a57e13ca236a215e332b94852147">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aa927ac552b42e2a0fcc8de08f56510c7">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#af406e83980abc792905ff4a0626b3d02">reset</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a613333e0a4acb227d08938ccc594e064">reset</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1b6ec743e9a62389cf2bba9a25ee09d7">reset</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a37b755b43c7067658d2b4129baa403cf">restore</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#ada8da3c42b6f37209255eef008581b0b">sink_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a88d7621801898d0a551cfd98b29a7cd0">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a1be83159fed73573014e6e2919ecabf3">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a00a0b4949a4cc0cb87e88cc6d1171a9d">snapshot</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#acb72e05f3128b6604b438707eabdfa4a">sort</a>(Compare compare, Sort sort=Sort{}, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aa3abb830a7ba342266b62ff1a2965754">sort</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a357cfdc1b3c5abc7a36e8eddbd6ce5c7">tag_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a682552d500d7768b5d9d4e5f547cdfaf">type</a>(tag_t) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#a484018ca7d1898708ea17a651eddc7e4">type</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#aaba72db4ebf99a911b58327063ec8ad9">valid</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#ad7467ac1c8a7657062b1b4386dded54e">version</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a82c8996277034df5e72b5f30a70ebb2d">version_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>()</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#abb1eb5f1a2ec31d14b5b98271ff78f1e">view</a>(persistent_t)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1Registry.html#aedc2a2344c5d13a0483608d48189a92a">view</a>(raw_t)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1Registry.html#a4a157973e57670b5df3eedc8d137de7e">view</a>(It first, It last)</td><td class="entry"><a class="el" href="classentt_1_1Registry.html">entt::Registry&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
+333 -106
View File
@@ -135,17 +135,21 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a1be83159fed73573014e6e2919ecabf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d57a57e13ca236a215e332b94852147"><td class="memTemplParams" colspan="2">template&lt;typename Component &gt; </td></tr>
<tr class="memitem:a6d57a57e13ca236a215e332b94852147"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a6d57a57e13ca236a215e332b94852147">reserve</a> (const <a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a> cap)</td></tr>
<tr class="memdesc:a6d57a57e13ca236a215e332b94852147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increases the capacity of the pool for a given component. <a href="#a6d57a57e13ca236a215e332b94852147">More...</a><br /></td></tr>
<tr class="memdesc:a6d57a57e13ca236a215e332b94852147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increases the capacity of the pool for the given component. <a href="#a6d57a57e13ca236a215e332b94852147">More...</a><br /></td></tr>
<tr class="separator:a6d57a57e13ca236a215e332b94852147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa927ac552b42e2a0fcc8de08f56510c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#aa927ac552b42e2a0fcc8de08f56510c7">reserve</a> (const <a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a> cap)</td></tr>
<tr class="memdesc:aa927ac552b42e2a0fcc8de08f56510c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increases the capacity of a registry in terms of entities. <a href="#aa927ac552b42e2a0fcc8de08f56510c7">More...</a><br /></td></tr>
<tr class="separator:aa927ac552b42e2a0fcc8de08f56510c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38e5391f9c1b4a8ea814f0abcf7a3323"><td class="memTemplParams" colspan="2">template&lt;typename Component &gt; </td></tr>
<tr class="memitem:a38e5391f9c1b4a8ea814f0abcf7a3323"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a38e5391f9c1b4a8ea814f0abcf7a3323">capacity</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a38e5391f9c1b4a8ea814f0abcf7a3323"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the capacity of the pool for the given component. <a href="#a38e5391f9c1b4a8ea814f0abcf7a3323">More...</a><br /></td></tr>
<tr class="separator:a38e5391f9c1b4a8ea814f0abcf7a3323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefe4ec26db45257de26da19147a9e3f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#aefe4ec26db45257de26da19147a9e3f3">capacity</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aefe4ec26db45257de26da19147a9e3f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of entities ever created. <a href="#aefe4ec26db45257de26da19147a9e3f3">More...</a><br /></td></tr>
<tr class="memdesc:aefe4ec26db45257de26da19147a9e3f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of entities that a registry has currently allocated space for. <a href="#aefe4ec26db45257de26da19147a9e3f3">More...</a><br /></td></tr>
<tr class="separator:aefe4ec26db45257de26da19147a9e3f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57193f01b75256867ba34342cd46ec13"><td class="memTemplParams" colspan="2">template&lt;typename Component &gt; </td></tr>
<tr class="memitem:a57193f01b75256867ba34342cd46ec13"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a57193f01b75256867ba34342cd46ec13">empty</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a57193f01b75256867ba34342cd46ec13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the pool for the given component is empty. <a href="#a57193f01b75256867ba34342cd46ec13">More...</a><br /></td></tr>
<tr class="memdesc:a57193f01b75256867ba34342cd46ec13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the pool of the given component is empty. <a href="#a57193f01b75256867ba34342cd46ec13">More...</a><br /></td></tr>
<tr class="separator:a57193f01b75256867ba34342cd46ec13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8735df0baab2fea088e6946e2811e29b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a8735df0baab2fea088e6946e2811e29b">empty</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a8735df0baab2fea088e6946e2811e29b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if there exists at least an entity still in use. <a href="#a8735df0baab2fea088e6946e2811e29b">More...</a><br /></td></tr>
@@ -174,12 +178,20 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a9e79305f5a066bdc2b272181a08b17ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#a82c8996277034df5e72b5f30a70ebb2d">version_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a9e79305f5a066bdc2b272181a08b17ac">current</a> (const <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a9e79305f5a066bdc2b272181a08b17ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the actual version for an entity identifier. <a href="#a9e79305f5a066bdc2b272181a08b17ac">More...</a><br /></td></tr>
<tr class="separator:a9e79305f5a066bdc2b272181a08b17ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10de276e8fc78fe205907c808ddb8d9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a10de276e8fc78fe205907c808ddb8d9a">create</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a10de276e8fc78fe205907c808ddb8d9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new entity and returns it. <a href="#a10de276e8fc78fe205907c808ddb8d9a">More...</a><br /></td></tr>
<tr class="separator:a10de276e8fc78fe205907c808ddb8d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a433ac3fc8ea49347f691dd4ad1ccb58b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a433ac3fc8ea49347f691dd4ad1ccb58b">create</a> ()</td></tr>
<tr class="memdesc:a433ac3fc8ea49347f691dd4ad1ccb58b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new entity and returns it. <a href="#a433ac3fc8ea49347f691dd4ad1ccb58b">More...</a><br /></td></tr>
<tr class="separator:a433ac3fc8ea49347f691dd4ad1ccb58b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a140dfdb699d360b7c0e066ae298aab5e"><td class="memTemplParams" colspan="2">template&lt;typename Tag &gt; </td></tr>
<tr class="memitem:a140dfdb699d360b7c0e066ae298aab5e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a140dfdb699d360b7c0e066ae298aab5e">destroy</a> (<a class="el" href="structentt_1_1tag__t.html">tag_t</a>)</td></tr>
<tr class="memdesc:a140dfdb699d360b7c0e066ae298aab5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys the entity that owns the given tag, if any. <a href="#a140dfdb699d360b7c0e066ae298aab5e">More...</a><br /></td></tr>
<tr class="separator:a140dfdb699d360b7c0e066ae298aab5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a197afcc6da68df6eb87575284232a3ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a197afcc6da68df6eb87575284232a3ff">destroy</a> (const <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> entity)</td></tr>
<tr class="memdesc:a197afcc6da68df6eb87575284232a3ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys an entity and lets the registry recycle the identifier. <a href="#a197afcc6da68df6eb87575284232a3ff">More...</a><br /></td></tr>
<tr class="separator:a197afcc6da68df6eb87575284232a3ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8169422afda942f5915ee68b46636c3b"><td class="memTemplParams" colspan="2">template&lt;typename... Component, typename... Type&gt; </td></tr>
<tr class="memitem:a8169422afda942f5915ee68b46636c3b"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a8169422afda942f5915ee68b46636c3b">destroy</a> (Type...)</td></tr>
<tr class="memdesc:a8169422afda942f5915ee68b46636c3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys the entities that own he given components, if any. <a href="#a8169422afda942f5915ee68b46636c3b">More...</a><br /></td></tr>
<tr class="separator:a8169422afda942f5915ee68b46636c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93b5717af287a2b97e0ef9695c51ed58"><td class="memTemplParams" colspan="2">template&lt;typename Tag , typename... Args&gt; </td></tr>
<tr class="memitem:a93b5717af287a2b97e0ef9695c51ed58"><td class="memTemplItemLeft" align="right" valign="top">Tag &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a93b5717af287a2b97e0ef9695c51ed58">assign</a> (<a class="el" href="structentt_1_1tag__t.html">tag_t</a>, const <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> entity, Args &amp;&amp;... args)</td></tr>
<tr class="memdesc:a93b5717af287a2b97e0ef9695c51ed58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches the given tag to an entity. <a href="#a93b5717af287a2b97e0ef9695c51ed58">More...</a><br /></td></tr>
@@ -240,10 +252,10 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a2482e363a9b4ff9b6a4a0e1385c7b6e1"><td class="memTemplItemLeft" align="right" valign="top">Component &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a2482e363a9b4ff9b6a4a0e1385c7b6e1">replace</a> (const <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> entity, Args &amp;&amp;... args)</td></tr>
<tr class="memdesc:a2482e363a9b4ff9b6a4a0e1385c7b6e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the given component for an entity. <a href="#a2482e363a9b4ff9b6a4a0e1385c7b6e1">More...</a><br /></td></tr>
<tr class="separator:a2482e363a9b4ff9b6a4a0e1385c7b6e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3592a627bf35b12d51ddd0876ca6896"><td class="memTemplParams" colspan="2">template&lt;typename Tag &gt; </td></tr>
<tr class="memitem:ae3592a627bf35b12d51ddd0876ca6896"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#ae3592a627bf35b12d51ddd0876ca6896">move</a> (const <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> entity)</td></tr>
<tr class="memdesc:ae3592a627bf35b12d51ddd0876ca6896"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the owner of the given tag. <a href="#ae3592a627bf35b12d51ddd0876ca6896">More...</a><br /></td></tr>
<tr class="separator:ae3592a627bf35b12d51ddd0876ca6896"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a459073e0dfdb4f21519792717f688173"><td class="memTemplParams" colspan="2">template&lt;typename Tag &gt; </td></tr>
<tr class="memitem:a459073e0dfdb4f21519792717f688173"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a459073e0dfdb4f21519792717f688173">move</a> (const <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a> entity) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a459073e0dfdb4f21519792717f688173"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the owner of the given tag. <a href="#a459073e0dfdb4f21519792717f688173">More...</a><br /></td></tr>
<tr class="separator:a459073e0dfdb4f21519792717f688173"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af157dcabe4fe027e2f9cd45f4958f3b9"><td class="memTemplParams" colspan="2">template&lt;typename Tag &gt; </td></tr>
<tr class="memitem:af157dcabe4fe027e2f9cd45f4958f3b9"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entity_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#af157dcabe4fe027e2f9cd45f4958f3b9">attachee</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:af157dcabe4fe027e2f9cd45f4958f3b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the owner of the given tag, if any. <a href="#af157dcabe4fe027e2f9cd45f4958f3b9">More...</a><br /></td></tr>
@@ -268,10 +280,10 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aaa38dca5bb6875370d50a923cf52fcfb"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Registry.html#ada8da3c42b6f37209255eef008581b0b">sink_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#aaa38dca5bb6875370d50a923cf52fcfb">destruction</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aaa38dca5bb6875370d50a923cf52fcfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a sink object for the given component. <a href="#aaa38dca5bb6875370d50a923cf52fcfb">More...</a><br /></td></tr>
<tr class="separator:aaa38dca5bb6875370d50a923cf52fcfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af97db8232b2b26604adb5f10ded70f11"><td class="memTemplParams" colspan="2">template&lt;typename Component , typename Compare , typename Sort = StdSort&gt; </td></tr>
<tr class="memitem:af97db8232b2b26604adb5f10ded70f11"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#af97db8232b2b26604adb5f10ded70f11">sort</a> (Compare compare, Sort sort=Sort{})</td></tr>
<tr class="memdesc:af97db8232b2b26604adb5f10ded70f11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorts the pool of entities for the given component. <a href="#af97db8232b2b26604adb5f10ded70f11">More...</a><br /></td></tr>
<tr class="separator:af97db8232b2b26604adb5f10ded70f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb72e05f3128b6604b438707eabdfa4a"><td class="memTemplParams" colspan="2">template&lt;typename Component , typename Compare , typename Sort = StdSort, typename... Args&gt; </td></tr>
<tr class="memitem:acb72e05f3128b6604b438707eabdfa4a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#acb72e05f3128b6604b438707eabdfa4a">sort</a> (Compare compare, Sort sort=Sort{}, Args &amp;&amp;... args)</td></tr>
<tr class="memdesc:acb72e05f3128b6604b438707eabdfa4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorts the pool of entities for the given component. <a href="#acb72e05f3128b6604b438707eabdfa4a">More...</a><br /></td></tr>
<tr class="separator:acb72e05f3128b6604b438707eabdfa4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3abb830a7ba342266b62ff1a2965754"><td class="memTemplParams" colspan="2">template&lt;typename To , typename From &gt; </td></tr>
<tr class="memitem:aa3abb830a7ba342266b62ff1a2965754"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#aa3abb830a7ba342266b62ff1a2965754">sort</a> ()</td></tr>
<tr class="memdesc:aa3abb830a7ba342266b62ff1a2965754"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorts two pools of components in the same way. <a href="#aa3abb830a7ba342266b62ff1a2965754">More...</a><br /></td></tr>
@@ -322,12 +334,16 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aedc2a2344c5d13a0483608d48189a92a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RawView.html">RawView</a>&lt; Entity, Component &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#aedc2a2344c5d13a0483608d48189a92a">view</a> (<a class="el" href="structentt_1_1raw__t.html">raw_t</a>)</td></tr>
<tr class="memdesc:aedc2a2344c5d13a0483608d48189a92a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a raw view for the given component. <a href="#aedc2a2344c5d13a0483608d48189a92a">More...</a><br /></td></tr>
<tr class="separator:aedc2a2344c5d13a0483608d48189a92a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69bdf0c5645f2049e8dee9e0c4de53ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Snapshot.html">Snapshot</a>&lt; Entity &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a69bdf0c5645f2049e8dee9e0c4de53ca">snapshot</a> () const</td></tr>
<tr class="memdesc:a69bdf0c5645f2049e8dee9e0c4de53ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a temporary object to use to create snapshots. <a href="#a69bdf0c5645f2049e8dee9e0c4de53ca">More...</a><br /></td></tr>
<tr class="separator:a69bdf0c5645f2049e8dee9e0c4de53ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a925e91c4f1904d5104a0c5e9e9f70223"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SnapshotLoader.html">SnapshotLoader</a>&lt; Entity &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a925e91c4f1904d5104a0c5e9e9f70223">restore</a> ()</td></tr>
<tr class="memdesc:a925e91c4f1904d5104a0c5e9e9f70223"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a temporary object to use to load snapshots. <a href="#a925e91c4f1904d5104a0c5e9e9f70223">More...</a><br /></td></tr>
<tr class="separator:a925e91c4f1904d5104a0c5e9e9f70223"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a157973e57670b5df3eedc8d137de7e"><td class="memTemplParams" colspan="2">template&lt;typename It &gt; </td></tr>
<tr class="memitem:a4a157973e57670b5df3eedc8d137de7e"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html">RuntimeView</a>&lt; Entity &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a4a157973e57670b5df3eedc8d137de7e">view</a> (It first, It last)</td></tr>
<tr class="memdesc:a4a157973e57670b5df3eedc8d137de7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a runtime view for the given components. <a href="#a4a157973e57670b5df3eedc8d137de7e">More...</a><br /></td></tr>
<tr class="separator:a4a157973e57670b5df3eedc8d137de7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a0b4949a4cc0cb87e88cc6d1171a9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1Snapshot.html">Snapshot</a>&lt; Entity &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a00a0b4949a4cc0cb87e88cc6d1171a9d">snapshot</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a00a0b4949a4cc0cb87e88cc6d1171a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a temporary object to use to create snapshots. <a href="#a00a0b4949a4cc0cb87e88cc6d1171a9d">More...</a><br /></td></tr>
<tr class="separator:a00a0b4949a4cc0cb87e88cc6d1171a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37b755b43c7067658d2b4129baa403cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SnapshotLoader.html">SnapshotLoader</a>&lt; Entity &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1Registry.html#a37b755b43c7067658d2b4129baa403cf">restore</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a37b755b43c7067658d2b4129baa403cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a temporary object to use to load snapshots. <a href="#a37b755b43c7067658d2b4129baa403cf">More...</a><br /></td></tr>
<tr class="separator:a37b755b43c7067658d2b4129baa403cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
@@ -355,7 +371,7 @@ class entt::Registry&lt; Entity &gt;</h3>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00039">39</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00040">40</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a6333a56f3a5a58882963a11bbbcf2ac2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6333a56f3a5a58882963a11bbbcf2ac2">&#9670;&nbsp;</a></span>accommodate()</h2>
@@ -416,7 +432,7 @@ template&lt;typename Component , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the newly created component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00858">858</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00911">911</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -478,14 +494,14 @@ template&lt;typename Tag , typename... Args&gt; </div>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">entity</td><td>A valid entity identifier </td></tr>
<tr><td class="paramname">entity</td><td>A valid entity identifier. </td></tr>
<tr><td class="paramname">args</td><td>Parameters to use to initialize the tag. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the newly created tag. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00490">490</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00543">543</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -547,7 +563,7 @@ template&lt;typename Component , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the newly created component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00521">521</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00574">574</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -589,12 +605,52 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00826">826</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00879">879</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a38e5391f9c1b4a8ea814f0abcf7a3323"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38e5391f9c1b4a8ea814f0abcf7a3323">&#9670;&nbsp;</a></span>capacity() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity&gt; </div>
<div class="memtemplate">
template&lt;typename Component &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">size_type</a> <a class="el" href="classentt_1_1Registry.html">entt::Registry</a>&lt; Entity &gt;::capacity </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the capacity of the pool for the given component. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Component</td><td>Type of component in which one is interested. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Capacity of the pool of the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00231">231</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="aefe4ec26db45257de26da19147a9e3f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefe4ec26db45257de26da19147a9e3f3">&#9670;&nbsp;</a></span>capacity()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#aefe4ec26db45257de26da19147a9e3f3">&#9670;&nbsp;</a></span>capacity() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -618,10 +674,10 @@ template&lt;typename Entity&gt; </div>
</table>
</div><div class="memdoc">
<p>Returns the number of entities ever created. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of entities ever created. </dd></dl>
<p>Returns the number of entities that a registry has currently allocated space for. </p>
<dl class="section return"><dt>Returns</dt><dd>Capacity of the registry. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00228">228</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00240">240</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -667,7 +723,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A temporary sink object. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00891">891</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00944">944</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -712,7 +768,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A temporary sink object. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00920">920</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00973">973</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -752,12 +808,12 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the view has already been prepared, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01340">1340</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01397">1397</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a10de276e8fc78fe205907c808ddb8d9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10de276e8fc78fe205907c808ddb8d9a">&#9670;&nbsp;</a></span>create()</h2>
<a id="a433ac3fc8ea49347f691dd4ad1ccb58b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a433ac3fc8ea49347f691dd4ad1ccb58b">&#9670;&nbsp;</a></span>create()</h2>
<div class="memitem">
<div class="memproto">
@@ -788,10 +844,10 @@ template&lt;typename Entity&gt; </div>
<li>Recycled ones with updated versions.</li>
</ul>
<p>Users should not care about the type of the returned entity identifier. In case entity identifers are stored around, the <code>valid</code> member function can be used to know if they are still valid or the entity has been destroyed and potentially recycled.</p>
<p>The returned entity has no components assigned.</p>
<p>The returned entity has no components nor tags assigned.</p>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00390">390</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00402">402</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -833,7 +889,7 @@ template&lt;typename Entity&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Actual version for the given entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00367">367</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00379">379</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -875,12 +931,54 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of entities. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00304">304</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00316">316</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a140dfdb699d360b7c0e066ae298aab5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a140dfdb699d360b7c0e066ae298aab5e">&#9670;&nbsp;</a></span>destroy() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity&gt; </div>
<div class="memtemplate">
template&lt;typename Tag &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classentt_1_1Registry.html">entt::Registry</a>&lt; Entity &gt;::destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structentt_1_1tag__t.html">tag_t</a>&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys the entity that owns the given tag, if any. </p>
<p>Convenient shortcut to destroy an entity by means of a tag type.<br />
Syntactic sugar for the following snippet:</p>
<div class="fragment"><div class="line"><span class="keywordflow">if</span>(registry.has&lt;Tag&gt;()) {</div><div class="line"> registry.destroy(registry.attachee&lt;Tag&gt;());</div><div class="line">}</div></div><!-- fragment --><dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Tag</td><td>Type of tag to use to search for the entity. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00438">438</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a197afcc6da68df6eb87575284232a3ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a197afcc6da68df6eb87575284232a3ff">&#9670;&nbsp;</a></span>destroy()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#a197afcc6da68df6eb87575284232a3ff">&#9670;&nbsp;</a></span>destroy() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -913,12 +1011,55 @@ Attempting to use an invalid entity results in undefined behavior.<br />
An assertion will abort the execution at runtime in debug mode in case of invalid entity.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">entity</td><td>A valid entity identifier </td></tr>
<tr><td class="paramname">entity</td><td>A valid entity identifier. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00433">433</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00464">464</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a8169422afda942f5915ee68b46636c3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8169422afda942f5915ee68b46636c3b">&#9670;&nbsp;</a></span>destroy() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity&gt; </div>
<div class="memtemplate">
template&lt;typename... Component, typename... Type&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classentt_1_1Registry.html">entt::Registry</a>&lt; Entity &gt;::destroy </td>
<td>(</td>
<td class="paramtype">Type...&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys the entities that own he given components, if any. </p>
<p>Convenient shortcut to destroy a set of entities at once.<br />
Syntactic sugar for the following snippet:</p>
<div class="fragment"><div class="line"><span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> entity: registry.view&lt;Component...&gt;(Type{}...)) {</div><div class="line"> registry.destroy(entity);</div><div class="line">}</div></div><!-- fragment --><dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Component</td><td>Types of components to use to search for the entities. </td></tr>
<tr><td class="paramname">Type</td><td>Type of view to use or empty to use a standard view. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00515">515</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -964,7 +1105,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A temporary sink object. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00949">949</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01002">1002</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1009,7 +1150,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A temporary sink object. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00978">978</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01031">1031</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1051,7 +1192,7 @@ template&lt;typename... Component&gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01316">1316</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01373">1373</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1102,7 +1243,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01148">1148</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01204">1204</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1133,16 +1274,16 @@ template&lt;typename Component &gt; </div>
</table>
</div><div class="memdoc">
<p>Checks whether the pool for the given component is empty. </p>
<p>Checks whether the pool of the given component is empty. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Component</td><td>Type of component in which one is interested. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the pool for the given component is empty, false otherwise. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>True if the pool of the given component is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00239">239</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00251">251</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1174,7 +1315,7 @@ template&lt;typename Entity&gt; </div>
<p>Checks if there exists at least an entity still in use. </p>
<dl class="section return"><dt>Returns</dt><dd>True if at least an entity is still in use, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00247">247</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00259">259</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1217,7 +1358,7 @@ template&lt;typename Entity&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the identifier is valid, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00335">335</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00347">347</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1259,7 +1400,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the tag. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00637">637</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00690">690</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1301,7 +1442,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the tag. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00655">655</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00708">708</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1350,7 +1491,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the component owned by the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00674">674</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00727">727</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1399,7 +1540,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the component owned by the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00695">695</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00748">748</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1448,7 +1589,7 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>References to the components owned by the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00715">715</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00768">768</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1497,7 +1638,7 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>References to the components owned by the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00735">735</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00788">788</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1537,7 +1678,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the tag already has an owner, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00571">571</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00624">624</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1595,7 +1736,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the entity owns the tag, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00598">598</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00651">651</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1644,12 +1785,12 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the entity has all the components, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00615">615</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00668">668</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="ae3592a627bf35b12d51ddd0876ca6896"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3592a627bf35b12d51ddd0876ca6896">&#9670;&nbsp;</a></span>move()</h2>
<a id="a459073e0dfdb4f21519792717f688173"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a459073e0dfdb4f21519792717f688173">&#9670;&nbsp;</a></span>move()</h2>
<div class="memitem">
<div class="memproto">
@@ -1694,7 +1835,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00804">804</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00857">857</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1796,7 +1937,7 @@ template&lt;typename Entity&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the entity is an orphan, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01175">1175</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01231">1231</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1845,7 +1986,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01209">1209</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01265">1265</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1887,7 +2028,7 @@ template&lt;typename... Component&gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01272">1272</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01329">1329</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1929,7 +2070,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of components of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00266">266</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00278">278</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -1971,7 +2112,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of components of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00285">285</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00297">297</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2010,7 +2151,7 @@ template&lt;typename Tag &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00534">534</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00587">587</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2058,7 +2199,7 @@ template&lt;typename Component &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00557">557</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00610">610</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2119,7 +2260,7 @@ template&lt;typename Tag , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the tag. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00758">758</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00811">811</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2181,7 +2322,7 @@ template&lt;typename Component , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the newly created component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00783">783</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00836">836</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2213,7 +2354,7 @@ template&lt;typename Component &gt; </div>
</table>
</div><div class="memdoc">
<p>Increases the capacity of the pool for a given component. </p>
<p>Increases the capacity of the pool for the given component. </p>
<p>If the new capacity is greater than the current capacity, new storage is allocated, otherwise the method does nothing.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
@@ -2228,7 +2369,7 @@ template&lt;typename Component &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00207">207</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00208">208</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2267,7 +2408,7 @@ template&lt;typename Entity&gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00220">220</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00221">221</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2316,7 +2457,7 @@ template&lt;typename Component &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01080">1080</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01135">1135</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2356,7 +2497,7 @@ template&lt;typename Component &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01101">1101</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01156">1156</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2388,12 +2529,12 @@ template&lt;typename Entity&gt; </div>
<p>Resets a whole registry. </p>
<p>Destroys all the entities. After a call to <code>reset</code>, all the entities still in use are recycled with a new version number. In case entity identifers are stored around, the <code>valid</code> member function can be used to know if they are still valid. </p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01121">1121</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01176">1176</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a925e91c4f1904d5104a0c5e9e9f70223"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a925e91c4f1904d5104a0c5e9e9f70223">&#9670;&nbsp;</a></span>restore()</h2>
<a id="a37b755b43c7067658d2b4129baa403cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37b755b43c7067658d2b4129baa403cf">&#9670;&nbsp;</a></span>restore()</h2>
<div class="memitem">
<div class="memproto">
@@ -2423,7 +2564,7 @@ template&lt;typename Entity&gt; </div>
<dl class="section warning"><dt>Warning</dt><dd>The loader returned by this function requires that the registry be empty. In case it isn't, all the data will be automatically deleted before to return.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A temporary object to use to load snasphosts. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01458">1458</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01555">1555</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2463,7 +2604,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of existing components of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00185">185</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00186">186</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2495,12 +2636,12 @@ template&lt;typename Entity&gt; </div>
<p>Returns the number of entities still in use. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of entities still in use. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00193">193</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00194">194</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a69bdf0c5645f2049e8dee9e0c4de53ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69bdf0c5645f2049e8dee9e0c4de53ca">&#9670;&nbsp;</a></span>snapshot()</h2>
<a id="a00a0b4949a4cc0cb87e88cc6d1171a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00a0b4949a4cc0cb87e88cc6d1171a9d">&#9670;&nbsp;</a></span>snapshot()</h2>
<div class="memitem">
<div class="memproto">
@@ -2529,19 +2670,19 @@ template&lt;typename Entity&gt; </div>
It can be used to save and restore its internal state or to keep two or more instances of this class in sync, as an example in a client-server architecture.</p>
<dl class="section return"><dt>Returns</dt><dd>A temporary object to use to take snasphosts. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01429">1429</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01526">1526</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="af97db8232b2b26604adb5f10ded70f11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af97db8232b2b26604adb5f10ded70f11">&#9670;&nbsp;</a></span>sort() <span class="overload">[1/2]</span></h2>
<a id="acb72e05f3128b6604b438707eabdfa4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb72e05f3128b6604b438707eabdfa4a">&#9670;&nbsp;</a></span>sort() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity&gt; </div>
<div class="memtemplate">
template&lt;typename Component , typename Compare , typename Sort = StdSort&gt; </div>
template&lt;typename Component , typename Compare , typename Sort = StdSort, typename... Args&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
@@ -2556,7 +2697,13 @@ template&lt;typename Component , typename Compare , typename Sort = StdSort&gt;
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Sort&#160;</td>
<td class="paramname"><em>sort</em> = <code>Sort{}</code>&#160;</td>
<td class="paramname"><em>sort</em> = <code>Sort{}</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Args &amp;&amp;...&#160;</td>
<td class="paramname"><em>args</em>&#160;</td>
</tr>
<tr>
<td></td>
@@ -2573,7 +2720,7 @@ template&lt;typename Component , typename Compare , typename Sort = StdSort&gt;
<p>Sorts the pool of entities for the given component. </p>
<p>The order of the elements in a pool is highly affected by assignments of components to entities and deletions. Components are arranged to maximize the performance during iterations and users should not make any assumption on the order.<br />
This function can be used to impose an order to the elements in the pool for the given component. The order is kept valid until a component of the given type is assigned or removed from an entity.</p>
This function can be used to impose an order to the elements in the pool of the given component. The order is kept valid until a component of the given type is assigned or removed from an entity.</p>
<p>The comparison function object must return <code>true</code> if the first element is <em>less</em> than the second one, <code>false</code> otherwise. The signature of the comparison function should be equivalent to the following:</p>
<div class="fragment"><div class="line">bool(<span class="keyword">const</span> Component &amp;, <span class="keyword">const</span> Component &amp;)</div></div><!-- fragment --><p>Moreover, the comparison function object shall induce a <em>strict weak ordering</em> on the values.</p>
<p>The sort function oject must offer a member function template <code>operator()</code> that accepts three arguments:</p>
@@ -2588,6 +2735,7 @@ template&lt;typename Component , typename Compare , typename Sort = StdSort&gt;
<tr><td class="paramname">Component</td><td>Type of components to sort. </td></tr>
<tr><td class="paramname">Compare</td><td>Type of comparison function object. </td></tr>
<tr><td class="paramname">Sort</td><td>Type of sort function object. </td></tr>
<tr><td class="paramname">Args</td><td>Types of arguments to forward to the sort function object. </td></tr>
</table>
</dd>
</dl>
@@ -2595,11 +2743,12 @@ template&lt;typename Component , typename Compare , typename Sort = StdSort&gt;
<table class="params">
<tr><td class="paramname">compare</td><td>A valid comparison function object. </td></tr>
<tr><td class="paramname">sort</td><td>A valid sort function object. </td></tr>
<tr><td class="paramname">args</td><td>Arguments to forward to the sort function object, if any. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01023">1023</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01078">1078</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2648,7 +2797,7 @@ template&lt;typename To , typename From &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01059">1059</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01114">1114</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2691,7 +2840,7 @@ template&lt;typename Tag &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Runtime numeric identifier of the given type of tag. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00158">158</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00159">159</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2733,7 +2882,7 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Runtime numeric identifier of the given type of component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00175">175</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00176">176</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2772,7 +2921,7 @@ template&lt;typename Entity&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the identifier is valid, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00313">313</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00325">325</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
@@ -2811,12 +2960,12 @@ template&lt;typename Entity&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Version stored along with the given entity identifier. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00346">346</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l00358">358</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="aed83d4c8f80ae647ee73f2a8440fa09d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed83d4c8f80ae647ee73f2a8440fa09d">&#9670;&nbsp;</a></span>view() <span class="overload">[1/3]</span></h2>
<h2 class="memtitle"><span class="permalink"><a href="#aed83d4c8f80ae647ee73f2a8440fa09d">&#9670;&nbsp;</a></span>view() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -2859,7 +3008,9 @@ template&lt;typename... Component&gt; </div>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Component</td><td>Type of components used to construct the view. </td></tr>
@@ -2868,12 +3019,12 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly created standard view. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01251">1251</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01308">1308</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="abb1eb5f1a2ec31d14b5b98271ff78f1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb1eb5f1a2ec31d14b5b98271ff78f1e">&#9670;&nbsp;</a></span>view() <span class="overload">[2/3]</span></h2>
<h2 class="memtitle"><span class="permalink"><a href="#abb1eb5f1a2ec31d14b5b98271ff78f1e">&#9670;&nbsp;</a></span>view() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -2918,7 +3069,9 @@ template&lt;typename... Component&gt; </div>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Component</td><td>Types of components used to construct the view. </td></tr>
@@ -2927,12 +3080,12 @@ template&lt;typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly created persistent view. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01385">1385</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01443">1443</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="aedc2a2344c5d13a0483608d48189a92a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedc2a2344c5d13a0483608d48189a92a">&#9670;&nbsp;</a></span>view() <span class="overload">[3/3]</span></h2>
<h2 class="memtitle"><span class="permalink"><a href="#aedc2a2344c5d13a0483608d48189a92a">&#9670;&nbsp;</a></span>view() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -2970,7 +3123,9 @@ template&lt;typename Component &gt; </div>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Component</td><td>Type of component used to construct the view. </td></tr>
@@ -2979,7 +3134,79 @@ template&lt;typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly created raw view. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01414">1414</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01473">1473</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
<a id="a4a157973e57670b5df3eedc8d137de7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a157973e57670b5df3eedc8d137de7e">&#9670;&nbsp;</a></span>view() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity&gt; </div>
<div class="memtemplate">
template&lt;typename It &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html">RuntimeView</a>&lt;Entity&gt; <a class="el" href="classentt_1_1Registry.html">entt::Registry</a>&lt; Entity &gt;::view </td>
<td>(</td>
<td class="paramtype">It&#160;</td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">It&#160;</td>
<td class="paramname"><em>last</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a runtime view for the given components. </p>
<p>This kind of views are created on the fly and share with the registry its internal data structures.<br />
Users should throw away the view after use. Fortunately, creating and destroying a view is an incredibly cheap operation because they do not require any type of initialization.<br />
As a rule of thumb, storing a view should never be an option.</p>
<p>Runtime views are well suited when users want to construct a view from some external inputs and don't know at compile-time what are the required components.<br />
This is particularly well suited to plugin systems and mods in general.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classentt_1_1View.html" title="Multi component view. ">View</a> </dd>
<dd>
<a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" title="Single component view specialization. ">View&lt;Entity, Component&gt;</a> </dd>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">It</td><td>Type of forward iterator. </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">first</td><td>An iterator to the first element of the range of components. </td></tr>
<tr><td class="paramname">last</td><td>An iterator past the last element of the range of components. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly created runtime view. </dd></dl>
<p class="definition">Definition at line <a class="el" href="registry_8hpp_source.html#l01505">1505</a> of file <a class="el" href="registry_8hpp_source.html">registry.hpp</a>.</p>
</div>
</div>
+2 -2
View File
@@ -103,7 +103,7 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a737a5c2e623d30f372ba4876fe3d0fd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereferences a handle to obtain the managed resource. <a href="#a737a5c2e623d30f372ba4876fe3d0fd3">More...</a><br /></td></tr>
<tr class="separator:a737a5c2e623d30f372ba4876fe3d0fd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55727b34cb2bcbff11a680bae2fd793e"><td class="memItemLeft" align="right" valign="top">const Resource *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1ResourceHandle.html#a55727b34cb2bcbff11a680bae2fd793e">operator-&gt;</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a55727b34cb2bcbff11a680bae2fd793e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the managed resource from a handle . <a href="#a55727b34cb2bcbff11a680bae2fd793e">More...</a><br /></td></tr>
<tr class="memdesc:a55727b34cb2bcbff11a680bae2fd793e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the managed resource from a handle. <a href="#a55727b34cb2bcbff11a680bae2fd793e">More...</a><br /></td></tr>
<tr class="separator:a55727b34cb2bcbff11a680bae2fd793e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4da18e304419e8d070fbc095236b4403"><td class="memItemLeft" align="right" valign="top"><a id="a4da18e304419e8d070fbc095236b4403"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1ResourceHandle.html#a4da18e304419e8d070fbc095236b4403">operator bool</a> () const</td></tr>
@@ -259,7 +259,7 @@ template&lt;typename Resource &gt; </div>
</table>
</div><div class="memdoc">
<p>Gets a pointer to the managed resource from a handle . </p>
<p>Gets a pointer to the managed resource from a handle. </p>
<dl class="section warning"><dt>Warning</dt><dd>The behavior is undefined if the handle doesn't contain a resource.<br />
An assertion will abort the execution at runtime in debug mode if the handle is empty.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the managed resource or <code>nullptr</code> if the handle contains no resource at all. </dd></dl>
+96
View File
@@ -0,0 +1,96 @@
<!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: Member List</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
&#160;<span id="projectnumber">2.6.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="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="classentt_1_1RuntimeView.html">RuntimeView</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">entt::RuntimeView&lt; Entity &gt; Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#af1fb74dd84e6ffd0f8626b8f0f55af91">begin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a8b424a07dd1fdca3a11103dbc6ad76ac">begin</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a838fbbbceba139250db0dd186de86506">cbegin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a111c068457853eb5c55845e68fd7b8a6">cend</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a903cb93104fba0816f71f8851c6ff162">contains</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#aa67ccd106835ddc0cc8c10bbdbcdd4e4">each</a>(Func func) const</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#ab08f06a99381e857657b2875e23c90a4">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#af8040215c3db60033388328ddff9a5d8">end</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c">end</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a200646cfe88496da691aab5f61c0fa69">Registry&lt; Entity &gt;</a> class</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a1532f09ceaac574965c9190554c74f55">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html#a64ed96d1933ffff0e76f96a0cb38428e">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView&lt; Entity &gt;</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
+540
View File
@@ -0,0 +1,540 @@
<!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: entt::RuntimeView&lt; Entity &gt; Class Template Reference</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
&#160;<span id="projectnumber">2.6.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="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="classentt_1_1RuntimeView.html">RuntimeView</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classentt_1_1RuntimeView-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">entt::RuntimeView&lt; Entity &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Runtime view.
<a href="classentt_1_1RuntimeView.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="view_8hpp_source.html">view.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ad5b5d664d388179dc164814e6268a774"><td class="memItemLeft" align="right" valign="top"><a id="ad5b5d664d388179dc164814e6268a774"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entity_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">view_type::entity_type</a></td></tr>
<tr class="memdesc:ad5b5d664d388179dc164814e6268a774"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
<tr class="separator:ad5b5d664d388179dc164814e6268a774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ed96d1933ffff0e76f96a0cb38428e"><td class="memItemLeft" align="right" valign="top"><a id="a64ed96d1933ffff0e76f96a0cb38428e"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a64ed96d1933ffff0e76f96a0cb38428e">size_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">view_type::size_type</a></td></tr>
<tr class="memdesc:a64ed96d1933ffff0e76f96a0cb38428e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:a64ed96d1933ffff0e76f96a0cb38428e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59c6645fb86e079986d04887aa7c74e1"><td class="memItemLeft" align="right" valign="top"><a id="a59c6645fb86e079986d04887aa7c74e1"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">iterator_type</a> = Iterator</td></tr>
<tr class="memdesc:a59c6645fb86e079986d04887aa7c74e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:a59c6645fb86e079986d04887aa7c74e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf976983924a5e0194a19a9b98fdc249"><td class="memItemLeft" align="right" valign="top"><a id="acf976983924a5e0194a19a9b98fdc249"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a> = Iterator</td></tr>
<tr class="memdesc:acf976983924a5e0194a19a9b98fdc249"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:acf976983924a5e0194a19a9b98fdc249"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1532f09ceaac574965c9190554c74f55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#a64ed96d1933ffff0e76f96a0cb38428e">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a1532f09ceaac574965c9190554c74f55">size</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a1532f09ceaac574965c9190554c74f55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Estimates the number of entities that have the given components. <a href="#a1532f09ceaac574965c9190554c74f55">More...</a><br /></td></tr>
<tr class="separator:a1532f09ceaac574965c9190554c74f55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab08f06a99381e857657b2875e23c90a4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#ab08f06a99381e857657b2875e23c90a4">empty</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ab08f06a99381e857657b2875e23c90a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the view is definitely empty. <a href="#ab08f06a99381e857657b2875e23c90a4">More...</a><br /></td></tr>
<tr class="separator:ab08f06a99381e857657b2875e23c90a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a838fbbbceba139250db0dd186de86506"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a838fbbbceba139250db0dd186de86506">cbegin</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a838fbbbceba139250db0dd186de86506"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the first entity that has the given components. <a href="#a838fbbbceba139250db0dd186de86506">More...</a><br /></td></tr>
<tr class="separator:a838fbbbceba139250db0dd186de86506"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1fb74dd84e6ffd0f8626b8f0f55af91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#af1fb74dd84e6ffd0f8626b8f0f55af91">begin</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:af1fb74dd84e6ffd0f8626b8f0f55af91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the first entity that has the given components. <a href="#af1fb74dd84e6ffd0f8626b8f0f55af91">More...</a><br /></td></tr>
<tr class="separator:af1fb74dd84e6ffd0f8626b8f0f55af91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b424a07dd1fdca3a11103dbc6ad76ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a8b424a07dd1fdca3a11103dbc6ad76ac">begin</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a8b424a07dd1fdca3a11103dbc6ad76ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the first entity that has the given components. <a href="#a8b424a07dd1fdca3a11103dbc6ad76ac">More...</a><br /></td></tr>
<tr class="separator:a8b424a07dd1fdca3a11103dbc6ad76ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a111c068457853eb5c55845e68fd7b8a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a111c068457853eb5c55845e68fd7b8a6">cend</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a111c068457853eb5c55845e68fd7b8a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator that is past the last entity that has the given components. <a href="#a111c068457853eb5c55845e68fd7b8a6">More...</a><br /></td></tr>
<tr class="separator:a111c068457853eb5c55845e68fd7b8a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8040215c3db60033388328ddff9a5d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#af8040215c3db60033388328ddff9a5d8">end</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:af8040215c3db60033388328ddff9a5d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator that is past the last entity that has the given components. <a href="#af8040215c3db60033388328ddff9a5d8">More...</a><br /></td></tr>
<tr class="separator:af8040215c3db60033388328ddff9a5d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc2af975c32c247e0c333d4e49c0208c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:afc2af975c32c247e0c333d4e49c0208c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator that is past the last entity that has the given components. <a href="#afc2af975c32c247e0c333d4e49c0208c">More...</a><br /></td></tr>
<tr class="separator:afc2af975c32c247e0c333d4e49c0208c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903cb93104fba0816f71f8851c6ff162"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a903cb93104fba0816f71f8851c6ff162">contains</a> (const <a class="el" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a903cb93104fba0816f71f8851c6ff162"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a view contains an entity. <a href="#a903cb93104fba0816f71f8851c6ff162">More...</a><br /></td></tr>
<tr class="separator:a903cb93104fba0816f71f8851c6ff162"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa67ccd106835ddc0cc8c10bbdbcdd4e4"><td class="memTemplParams" colspan="2">template&lt;typename Func &gt; </td></tr>
<tr class="memitem:aa67ccd106835ddc0cc8c10bbdbcdd4e4"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#aa67ccd106835ddc0cc8c10bbdbcdd4e4">each</a> (Func func) const</td></tr>
<tr class="memdesc:aa67ccd106835ddc0cc8c10bbdbcdd4e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterates entities and applies the given function object to them. <a href="#aa67ccd106835ddc0cc8c10bbdbcdd4e4">More...</a><br /></td></tr>
<tr class="separator:aa67ccd106835ddc0cc8c10bbdbcdd4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a200646cfe88496da691aab5f61c0fa69"><td class="memItemLeft" align="right" valign="top"><a id="a200646cfe88496da691aab5f61c0fa69"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1RuntimeView.html#a200646cfe88496da691aab5f61c0fa69">Registry&lt; Entity &gt;</a></td></tr>
<tr class="memdesc:a200646cfe88496da691aab5f61c0fa69"><td class="mdescLeft">&#160;</td><td class="mdescRight">A registry is allowed to create views. <br /></td></tr>
<tr class="separator:a200646cfe88496da691aab5f61c0fa69"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Entity&gt;<br />
class entt::RuntimeView&lt; Entity &gt;</h3>
<p>Runtime view. </p>
<p>Runtime views iterate over those entities that have at least all the given components in their bags. During initialization, a runtime view looks at the number of entities available for each component and picks up a reference to the smallest set of candidate entities in order to get a performance boost when iterate.<br />
Order of elements during iterations are highly dependent on the order of the underlying data structures. See <a class="el" href="classentt_1_1SparseSet.html" title="Sparse set. ">SparseSet</a> and its specializations for more details.</p>
<p><b>Important</b> </p>
<p>Iterators aren't invalidated if:</p>
<ul>
<li>New instances of the given components are created and assigned to entities.</li>
<li>The entity currently pointed is modified (as an example, if one of the given components is removed from the entity to which the iterator points).</li>
</ul>
<p>In all the other cases, modifying the pools of the given components in any way invalidates all the iterators and using them results in undefined behavior.</p>
<dl class="section note"><dt>Note</dt><dd>Views share references to the underlying data structures with the <a class="el" href="classentt_1_1Registry.html" title="Fast and reliable entity-component system. ">Registry</a> that generated them. Therefore any change to the entities and to the components made by means of the registry are immediately reflected by views, unless a pool wasn't missing when the view was built (in this case, the view won't have a valid reference and won't be updated accordingly).</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Lifetime of a view must overcome the one of the registry that generated it. In any other case, attempting to use a view results in undefined behavior.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classentt_1_1View.html" title="Multi component view. ">View</a> </dd>
<dd>
<a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" title="Single component view specialization. ">View&lt;Entity, Component&gt;</a> </dd>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>A valid entity type (see <a class="el" href="structentt_1_1entt__traits.html" title="Entity traits. ">entt_traits</a> for more details). </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01595">1595</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af1fb74dd84e6ffd0f8626b8f0f55af91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1fb74dd84e6ffd0f8626b8f0f55af91">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator to the first entity that has the given components. </p>
<p>The returned iterator points to the first entity that has the given components. If the view is empty, the returned iterator will be equal to <code><a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c" title="Returns an iterator that is past the last entity that has the given components. ">end()</a></code>.</p>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01769">1769</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a8b424a07dd1fdca3a11103dbc6ad76ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b424a07dd1fdca3a11103dbc6ad76ac">&#9670;&nbsp;</a></span>begin() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">iterator_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator to the first entity that has the given components. </p>
<p>The returned iterator points to the first entity that has the given components. If the view is empty, the returned iterator will be equal to <code><a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c" title="Returns an iterator that is past the last entity that has the given components. ">end()</a></code>.</p>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01787">1787</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a838fbbbceba139250db0dd186de86506"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a838fbbbceba139250db0dd186de86506">&#9670;&nbsp;</a></span>cbegin()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::cbegin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator to the first entity that has the given components. </p>
<p>The returned iterator points to the first entity that has the given components. If the view is empty, the returned iterator will be equal to <code><a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c" title="Returns an iterator that is past the last entity that has the given components. ">end()</a></code>.</p>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01743">1743</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a111c068457853eb5c55845e68fd7b8a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a111c068457853eb5c55845e68fd7b8a6">&#9670;&nbsp;</a></span>cend()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::cend </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator that is past the last entity that has the given components. </p>
<p>The returned iterator points to the entity following the last entity that has the given components. Attempting to dereference the returned iterator results in undefined behavior.</p>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01806">1806</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a903cb93104fba0816f71f8851c6ff162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a903cb93104fba0816f71f8851c6ff162">&#9670;&nbsp;</a></span>contains()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::contains </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entity_type</a>&#160;</td>
<td class="paramname"><em>entity</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if a view contains an entity. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">entity</td><td>A valid entity identifier. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the view contains the given entity, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01860">1860</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="aa67ccd106835ddc0cc8c10bbdbcdd4e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa67ccd106835ddc0cc8c10bbdbcdd4e4">&#9670;&nbsp;</a></span>each()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<div class="memtemplate">
template&lt;typename Func &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::each </td>
<td>(</td>
<td class="paramtype">Func&#160;</td>
<td class="paramname"><em>func</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Iterates entities and applies the given function object to them. </p>
<p>The function object is invoked for each entity. It is provided only with the entity itself. To get the components, users can use the registry with which the view was built.<br />
The signature of the function should be equivalent to the following:</p>
<div class="fragment"><div class="line">void(<span class="keyword">const</span> <a class="code" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entity_type</a>);</div></div><!-- fragment --><dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Func</td><td>Type of the function object to invoke. </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">func</td><td>A valid function object. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01882">1882</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="ab08f06a99381e857657b2875e23c90a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab08f06a99381e857657b2875e23c90a4">&#9670;&nbsp;</a></span>empty()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::empty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if the view is definitely empty. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the view is definitely empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01725">1725</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="af8040215c3db60033388328ddff9a5d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8040215c3db60033388328ddff9a5d8">&#9670;&nbsp;</a></span>end() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">const_iterator_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator that is past the last entity that has the given components. </p>
<p>The returned iterator points to the entity following the last entity that has the given components. Attempting to dereference the returned iterator results in undefined behavior.</p>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01832">1832</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="afc2af975c32c247e0c333d4e49c0208c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc2af975c32c247e0c333d4e49c0208c">&#9670;&nbsp;</a></span>end() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">iterator_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator that is past the last entity that has the given components. </p>
<p>The returned iterator points to the entity following the last entity that has the given components. Attempting to dereference the returned iterator results in undefined behavior.</p>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01851">1851</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a1532f09ceaac574965c9190554c74f55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1532f09ceaac574965c9190554c74f55">&#9670;&nbsp;</a></span>size()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1RuntimeView.html#a64ed96d1933ffff0e76f96a0cb38428e">size_type</a> <a class="el" href="classentt_1_1RuntimeView.html">entt::RuntimeView</a>&lt; Entity &gt;::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Estimates the number of entities that have the given components. </p>
<dl class="section return"><dt>Returns</dt><dd>Estimated number of entities that have the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01717">1717</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/entt/entity/<a class="el" href="view_8hpp_source.html">view.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
+8 -8
View File
@@ -147,7 +147,7 @@ class entt::Scheduler&lt; Delta &gt;</h3>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00045">45</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00044">44</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af2494e025703d03a87117d6e897c87db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2494e025703d03a87117d6e897c87db">&#9670;&nbsp;</a></span>abort()</h2>
@@ -185,7 +185,7 @@ template&lt;typename Delta &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00301">301</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00291">291</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -235,7 +235,7 @@ template&lt;typename Proc , typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An opaque object to use to concatenate processes. </dd></dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00198">198</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00188">188</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -294,7 +294,7 @@ template&lt;typename Func &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An opaque object to use to concatenate processes. </dd></dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00259">259</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00249">249</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -326,7 +326,7 @@ template&lt;typename Delta &gt; </div>
<p>Discards all scheduled processes. </p>
<p>Processes aren't aborted. They are discarded along with their children and never executed again. </p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00168">168</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00158">158</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -358,7 +358,7 @@ template&lt;typename Delta &gt; </div>
<p>Returns true if at least a process is currently scheduled. </p>
<dl class="section return"><dt>Returns</dt><dd>True if there are scheduled processes, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00158">158</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00148">148</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -452,7 +452,7 @@ template&lt;typename Delta &gt; </div>
<p>Number of processes currently scheduled. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of processes currently scheduled. </dd></dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00150">150</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00140">140</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -503,7 +503,7 @@ template&lt;typename Delta &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00275">275</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="scheduler_8hpp_source.html#l00265">265</a> of file <a class="el" href="scheduler_8hpp_source.html">scheduler.hpp</a>.</p>
</div>
</div>
@@ -76,7 +76,7 @@ $(function() {
<tr><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aad306ac41adf5562740f5528bed80014">instance_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#acd0e64abe3b6d879a27ced38fe50aa4b">operator==</a>(const SigH &amp;other) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a5d3aaec10dba146d75672e3dc81a4274">publish</a>(Args... args) const</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aa525ade53e40ebc5fbee9c8704d555ce">sink</a>()</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a20b7fde8e36650f0e4cd31bd54ac1fc7">sink</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#afe3b68f9dc0a2bfe92081c256d0108b7">sink_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a5f0c4724d805b4ecdd30045a13ed93ec">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a7635c4c773fee73faf6eddda2d4abb87">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="entry"></td></tr>
@@ -119,9 +119,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a6b35b22faefe41acd8c1426a1bdcd149"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a6b35b22faefe41acd8c1426a1bdcd149">empty</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a6b35b22faefe41acd8c1426a1bdcd149"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns false if at least a listener is connected to the signal. <a href="#a6b35b22faefe41acd8c1426a1bdcd149">More...</a><br /></td></tr>
<tr class="separator:a6b35b22faefe41acd8c1426a1bdcd149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa525ade53e40ebc5fbee9c8704d555ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#afe3b68f9dc0a2bfe92081c256d0108b7">sink_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aa525ade53e40ebc5fbee9c8704d555ce">sink</a> ()</td></tr>
<tr class="memdesc:aa525ade53e40ebc5fbee9c8704d555ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a sink object for the given signal. <a href="#aa525ade53e40ebc5fbee9c8704d555ce">More...</a><br /></td></tr>
<tr class="separator:aa525ade53e40ebc5fbee9c8704d555ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20b7fde8e36650f0e4cd31bd54ac1fc7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#afe3b68f9dc0a2bfe92081c256d0108b7">sink_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a20b7fde8e36650f0e4cd31bd54ac1fc7">sink</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a20b7fde8e36650f0e4cd31bd54ac1fc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a sink object for the given signal. <a href="#a20b7fde8e36650f0e4cd31bd54ac1fc7">More...</a><br /></td></tr>
<tr class="separator:a20b7fde8e36650f0e4cd31bd54ac1fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d3aaec10dba146d75672e3dc81a4274"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a5d3aaec10dba146d75672e3dc81a4274">publish</a> (Args... args) const</td></tr>
<tr class="memdesc:a5d3aaec10dba146d75672e3dc81a4274"><td class="mdescLeft">&#160;</td><td class="mdescRight">Triggers a signal. <a href="#a5d3aaec10dba146d75672e3dc81a4274">More...</a><br /></td></tr>
<tr class="separator:a5d3aaec10dba146d75672e3dc81a4274"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -344,8 +344,8 @@ template&lt;typename Ret , typename... Args, typename Collector &gt; </div>
</div>
</div>
<a id="aa525ade53e40ebc5fbee9c8704d555ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa525ade53e40ebc5fbee9c8704d555ce">&#9670;&nbsp;</a></span>sink()</h2>
<a id="a20b7fde8e36650f0e4cd31bd54ac1fc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20b7fde8e36650f0e4cd31bd54ac1fc7">&#9670;&nbsp;</a></span>sink()</h2>
<div class="memitem">
<div class="memproto">
+1 -1
View File
@@ -79,7 +79,7 @@ class entt::SparseSet&lt;... &gt;</h3>
<p>Sparse set. </p>
<p>Primary template isn't defined on purpose. All the specializations give a compile-time error, but for a few reasonable cases. </p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00028">28</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00029">29</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>src/entt/entity/<a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a></li>
</ul>
@@ -72,28 +72,30 @@ $(function() {
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a6f177729ba483b37119881db872b7736">begin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aef10db6199e31f72c14c4be9347b0822">begin</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af38e9a34f90809eae7b2d51882cc2302">cbegin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae5994b196eca429c708722ba4b720208">cend</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a947d3fd0440167f469331a31b1d8d782">const_iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#acf06fa56b6b0880d546dd3bc0ddc087f">construct</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aded5c64ff04ee1a78e7e238208923d58">construct</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">entt::SparseSet&lt; Entity &gt;::construct</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a3da83139d2ef41982399948a94383c0b">data</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae763b848ccde63e554f5b3f04b9dcdea">destroy</a>(const entity_type entity) override</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a62f5ebeb316c3d52877c6eca45c652ce">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aa04fe0d91fc40c8982cdfada8664e9b1">end</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a43b4c3d129ab2b6559154f8db037bfd5">end</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#afe382e2d5c8769fb3d924e1a357cf9b0">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">extent</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">fast</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a00ef6f3c6da43a1ef864a5252bc9b0a6">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ab0a6f42129ec08ab607545712e67ce92">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">has</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a7ff4726f5e0ae6698cb8e3f039289b52">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aa700bb907a18470dce144f84822c67ae">operator=</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a52a81e838ae87413116ab9165ab9ba86">operator=</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ad161a395ca3979154a333520662c7737">pos_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">capacity</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af38e9a34f90809eae7b2d51882cc2302">cbegin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae5994b196eca429c708722ba4b720208">cend</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a947d3fd0440167f469331a31b1d8d782">const_iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#acf06fa56b6b0880d546dd3bc0ddc087f">construct</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aded5c64ff04ee1a78e7e238208923d58">construct</a>(const entity_type entity, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">entt::SparseSet&lt; Entity &gt;::construct</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a3da83139d2ef41982399948a94383c0b">data</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae763b848ccde63e554f5b3f04b9dcdea">destroy</a>(const entity_type entity) override</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a62f5ebeb316c3d52877c6eca45c652ce">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aa04fe0d91fc40c8982cdfada8664e9b1">end</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a43b4c3d129ab2b6559154f8db037bfd5">end</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#afe382e2d5c8769fb3d924e1a357cf9b0">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">extent</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">fast</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a00ef6f3c6da43a1ef864a5252bc9b0a6">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ab0a6f42129ec08ab607545712e67ce92">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">has</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a7ff4726f5e0ae6698cb8e3f039289b52">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aa700bb907a18470dce144f84822c67ae">operator=</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a52a81e838ae87413116ab9165ab9ba86">operator=</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a073eb76e982c1031ef0b69118764faab">operator[]</a>(const size_type pos) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a6cd7bd35b86f34191bbfe73ff922b91e">operator[]</a>(const size_type pos) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#acbad98597d305c221c90eabd67b169bc">raw</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a8bc3ff7eb8a371ad64cf16f85116946b">raw</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a9b7168661765b86a7c24500a03115197">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
@@ -101,11 +103,11 @@ $(function() {
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a605545f8f99a7bb1f92d1dfc3ed438f3">respect</a>(const SparseSet&lt; Entity &gt; &amp;other) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6dc502e9af33ac00af110e5eb8414bc1">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a27a88e2bb0822de41131741d9ffcded5">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a0bb1bb7e7660c279558e94efd917b7db">sort</a>(Compare compare, Sort sort=Sort{})</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a8d2f225354c91f10b427e02dc211d24f">sort</a>(Compare compare, Sort sort=Sort{}, Args &amp;&amp;... args)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a80cd93fb003c8edd8583fb679464a36e">SparseSet</a>() ENTT_NOEXCEPT=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a52d68a9763bed211729df965cb7ab859">SparseSet</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a11cbb29701b5a1b1a6e4b77d19d29cec">SparseSet</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">swap</a>(const pos_type lhs, const pos_type rhs) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">swap</a>(const size_type lhs, const size_type rhs) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7a0a9d11f6b89102468b45ed83651bc8">~SparseSet</a>() ENTT_NOEXCEPT=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
@@ -104,10 +104,6 @@ using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cla
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#afe382e2d5c8769fb3d924e1a357cf9b0">entity_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">underlying_type::entity_type</a></td></tr>
<tr class="memdesc:afe382e2d5c8769fb3d924e1a357cf9b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
<tr class="separator:afe382e2d5c8769fb3d924e1a357cf9b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad161a395ca3979154a333520662c7737"><td class="memItemLeft" align="right" valign="top"><a id="ad161a395ca3979154a333520662c7737"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ad161a395ca3979154a333520662c7737">pos_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">underlying_type::pos_type</a></td></tr>
<tr class="memdesc:ad161a395ca3979154a333520662c7737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Entity dependent position type. <br /></td></tr>
<tr class="separator:ad161a395ca3979154a333520662c7737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27a88e2bb0822de41131741d9ffcded5"><td class="memItemLeft" align="right" valign="top"><a id="a27a88e2bb0822de41131741d9ffcded5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a27a88e2bb0822de41131741d9ffcded5">size_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">underlying_type::size_type</a></td></tr>
<tr class="memdesc:a27a88e2bb0822de41131741d9ffcded5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
@@ -125,10 +121,6 @@ using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cla
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> = Entity</td></tr>
<tr class="memdesc:a7d36e852257a965a9a0ed3fb636433e2 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
<tr class="separator:a7d36e852257a965a9a0ed3fb636433e2 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c218a69cf339371251ffa5580d7aa0 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a id="a20c218a69cf339371251ffa5580d7aa0"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> = <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a></td></tr>
<tr class="memdesc:a20c218a69cf339371251ffa5580d7aa0 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Entity dependent position type. <br /></td></tr>
<tr class="separator:a20c218a69cf339371251ffa5580d7aa0 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81c48dcee7a1104ee82794613ee7ed2 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a id="ab81c48dcee7a1104ee82794613ee7ed2"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> = std::size_t</td></tr>
<tr class="memdesc:ab81c48dcee7a1104ee82794613ee7ed2 inherit pub_types_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
@@ -189,6 +181,12 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a43b4c3d129ab2b6559154f8db037bfd5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a43b4c3d129ab2b6559154f8db037bfd5">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a43b4c3d129ab2b6559154f8db037bfd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the end. <a href="#a43b4c3d129ab2b6559154f8db037bfd5">More...</a><br /></td></tr>
<tr class="separator:a43b4c3d129ab2b6559154f8db037bfd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a073eb76e982c1031ef0b69118764faab"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a073eb76e982c1031ef0b69118764faab">operator[]</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> pos) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a073eb76e982c1031ef0b69118764faab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#a073eb76e982c1031ef0b69118764faab">More...</a><br /></td></tr>
<tr class="separator:a073eb76e982c1031ef0b69118764faab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cd7bd35b86f34191bbfe73ff922b91e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a6cd7bd35b86f34191bbfe73ff922b91e">operator[]</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> pos) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a6cd7bd35b86f34191bbfe73ff922b91e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#a6cd7bd35b86f34191bbfe73ff922b91e">More...</a><br /></td></tr>
<tr class="separator:a6cd7bd35b86f34191bbfe73ff922b91e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ef6f3c6da43a1ef864a5252bc9b0a6"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a00ef6f3c6da43a1ef864a5252bc9b0a6">get</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a00ef6f3c6da43a1ef864a5252bc9b0a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the object associated to an entity. <a href="#a00ef6f3c6da43a1ef864a5252bc9b0a6">More...</a><br /></td></tr>
<tr class="separator:a00ef6f3c6da43a1ef864a5252bc9b0a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -206,10 +204,10 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:ae763b848ccde63e554f5b3f04b9dcdea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae763b848ccde63e554f5b3f04b9dcdea">destroy</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) override</td></tr>
<tr class="memdesc:ae763b848ccde63e554f5b3f04b9dcdea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes an entity from a sparse set and destroies its object. <a href="#ae763b848ccde63e554f5b3f04b9dcdea">More...</a><br /></td></tr>
<tr class="separator:ae763b848ccde63e554f5b3f04b9dcdea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bb1bb7e7660c279558e94efd917b7db"><td class="memTemplParams" colspan="2">template&lt;typename Compare , typename Sort = StdSort&gt; </td></tr>
<tr class="memitem:a0bb1bb7e7660c279558e94efd917b7db"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a0bb1bb7e7660c279558e94efd917b7db">sort</a> (Compare compare, Sort sort=Sort{})</td></tr>
<tr class="memdesc:a0bb1bb7e7660c279558e94efd917b7db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort components according to the given comparison function. <a href="#a0bb1bb7e7660c279558e94efd917b7db">More...</a><br /></td></tr>
<tr class="separator:a0bb1bb7e7660c279558e94efd917b7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d2f225354c91f10b427e02dc211d24f"><td class="memTemplParams" colspan="2">template&lt;typename Compare , typename Sort = StdSort, typename... Args&gt; </td></tr>
<tr class="memitem:a8d2f225354c91f10b427e02dc211d24f"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a8d2f225354c91f10b427e02dc211d24f">sort</a> (Compare compare, Sort sort=Sort{}, Args &amp;&amp;... args)</td></tr>
<tr class="memdesc:a8d2f225354c91f10b427e02dc211d24f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort components according to the given comparison function. <a href="#a8d2f225354c91f10b427e02dc211d24f">More...</a><br /></td></tr>
<tr class="separator:a8d2f225354c91f10b427e02dc211d24f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a605545f8f99a7bb1f92d1dfc3ed438f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a605545f8f99a7bb1f92d1dfc3ed438f3">respect</a> (const <a class="el" href="classentt_1_1SparseSet.html">SparseSet</a>&lt; Entity &gt; &amp;other) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a605545f8f99a7bb1f92d1dfc3ed438f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort components according to the order of the entities in another sparse set. <a href="#a605545f8f99a7bb1f92d1dfc3ed438f3">More...</a><br /></td></tr>
<tr class="separator:a605545f8f99a7bb1f92d1dfc3ed438f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -243,6 +241,9 @@ virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c
<tr class="memitem:a19fd8be1b2cad2a4ca01c88225b0a379 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a19fd8be1b2cad2a4ca01c88225b0a379">reserve</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> cap)</td></tr>
<tr class="memdesc:a19fd8be1b2cad2a4ca01c88225b0a379 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increases the capacity of a sparse set. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a19fd8be1b2cad2a4ca01c88225b0a379">More...</a><br /></td></tr>
<tr class="separator:a19fd8be1b2cad2a4ca01c88225b0a379 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affd4ddc4bc12517d84772a40b0d992d5 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">capacity</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:affd4ddc4bc12517d84772a40b0d992d5 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of elements that a sparse set has currently allocated space for. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">More...</a><br /></td></tr>
<tr class="separator:affd4ddc4bc12517d84772a40b0d992d5 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab314d3642b6a5b90bbcb170ba83b7978 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">extent</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ab314d3642b6a5b90bbcb170ba83b7978 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the extent of a sparse set. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">More...</a><br /></td></tr>
<tr class="separator:ab314d3642b6a5b90bbcb170ba83b7978 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -273,21 +274,24 @@ virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c
<tr class="memitem:a14720d48f6d553a06813379ee6d7092f inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a14720d48f6d553a06813379ee6d7092f">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a14720d48f6d553a06813379ee6d7092f inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the end. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a14720d48f6d553a06813379ee6d7092f">More...</a><br /></td></tr>
<tr class="separator:a14720d48f6d553a06813379ee6d7092f inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de3b3dc887e30616c37dd1dbc3de46b inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a2de3b3dc887e30616c37dd1dbc3de46b">operator[]</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> pos) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a2de3b3dc887e30616c37dd1dbc3de46b inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a2de3b3dc887e30616c37dd1dbc3de46b">More...</a><br /></td></tr>
<tr class="separator:a2de3b3dc887e30616c37dd1dbc3de46b inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a824d6f4789f0c03a7f18802d9dc46582 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">has</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a824d6f4789f0c03a7f18802d9dc46582 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a sparse set contains an entity. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">More...</a><br /></td></tr>
<tr class="separator:a824d6f4789f0c03a7f18802d9dc46582 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa76df55ad01a2c5d4e407fc3a72ccd90 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">fast</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aa76df55ad01a2c5d4e407fc3a72ccd90 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a sparse set contains an entity (unsafe). <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">More...</a><br /></td></tr>
<tr class="separator:aa76df55ad01a2c5d4e407fc3a72ccd90 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15ae580507381985e2bf3e4098d71f6c inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a15ae580507381985e2bf3e4098d71f6c">get</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a15ae580507381985e2bf3e4098d71f6c inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of an entity in a sparse set. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a15ae580507381985e2bf3e4098d71f6c">More...</a><br /></td></tr>
<tr class="separator:a15ae580507381985e2bf3e4098d71f6c inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7893474e3b47da7c2568a0dc4ab4bcf inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa7893474e3b47da7c2568a0dc4ab4bcf">get</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aa7893474e3b47da7c2568a0dc4ab4bcf inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of an entity in a sparse set. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa7893474e3b47da7c2568a0dc4ab4bcf">More...</a><br /></td></tr>
<tr class="separator:aa7893474e3b47da7c2568a0dc4ab4bcf inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47dad39fa63ac4be07dcd9234c8a57c7 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">construct</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity)</td></tr>
<tr class="memdesc:a47dad39fa63ac4be07dcd9234c8a57c7 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns an entity to a sparse set. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">More...</a><br /></td></tr>
<tr class="separator:a47dad39fa63ac4be07dcd9234c8a57c7 inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a271e5e6736388ca8bf350187da2a0d8f inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">swap</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> lhs, const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> rhs) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a271e5e6736388ca8bf350187da2a0d8f inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swaps the position of two entities in the internal packed array. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">More...</a><br /></td></tr>
<tr class="separator:a271e5e6736388ca8bf350187da2a0d8f inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9db01fbfd9f1b8afa4a6f43d42390e inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">swap</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> lhs, const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> rhs) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ace9db01fbfd9f1b8afa4a6f43d42390e inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swaps the position of two entities in the internal packed array. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">More...</a><br /></td></tr>
<tr class="separator:ace9db01fbfd9f1b8afa4a6f43d42390e inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17422401f952b58be5113ff88e302c0e inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a17422401f952b58be5113ff88e302c0e">respect</a> (const <a class="el" href="classentt_1_1SparseSet.html">SparseSet</a>&lt; Entity &gt; &amp;other) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a17422401f952b58be5113ff88e302c0e inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort entities according to their order in another sparse set. <a href="classentt_1_1SparseSet_3_01Entity_01_4.html#a17422401f952b58be5113ff88e302c0e">More...</a><br /></td></tr>
<tr class="separator:a17422401f952b58be5113ff88e302c0e inherit pub_methods_classentt_1_1SparseSet_3_01Entity_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -310,7 +314,7 @@ Internal data structures arrange elements to maximize performance. Because of th
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00501">501</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00573">573</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a6f177729ba483b37119881db872b7736"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f177729ba483b37119881db872b7736">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
@@ -342,7 +346,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to either <code>sort</code> or <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00661">661</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00785">785</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -376,7 +380,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to either <code>sort</code> or <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00677">677</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00801">801</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -410,7 +414,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to either <code>sort</code> or <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00645">645</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00768">768</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -444,7 +448,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to either <code>sort</code> or <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00695">695</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00820">820</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -506,7 +510,7 @@ template&lt;typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The object associated to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00789">789</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00932">932</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -568,7 +572,7 @@ template&lt;typename... Args&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The object associated to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00817">817</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00960">960</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -610,7 +614,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<p>Reimplemented from <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7bd15b00eb2ce0e52d3d957673b4dd97">entt::SparseSet&lt; Entity &gt;</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00834">834</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00977">977</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -644,7 +648,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to either <code>sort</code> or <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00713">713</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00838">838</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -678,7 +682,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to either <code>sort</code> or <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last instance of the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00731">731</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00856">856</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -719,7 +723,7 @@ template&lt;typename Entity , typename Type &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The object associated to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00747">747</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00890">890</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -760,7 +764,7 @@ template&lt;typename Entity , typename Type &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The object associated to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00763">763</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00906">906</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -824,6 +828,84 @@ template&lt;typename Entity , typename Type &gt; </div>
<p>Default move assignment operator. </p>
<dl class="section return"><dt>Returns</dt><dd>This sparse set. </dd></dl>
</div>
</div>
<a id="a073eb76e982c1031ef0b69118764faab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a073eb76e982c1031ef0b69118764faab">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a>&amp; <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity, Type &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00865">865</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="a6cd7bd35b86f34191bbfe73ff922b91e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cd7bd35b86f34191bbfe73ff922b91e">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af7db79dfb4e031a63fa526d4f7d54915">object_type</a>&amp; <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity, Type &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00874">874</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="acbad98597d305c221c90eabd67b169bc"></a>
@@ -856,7 +938,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order, even though either <code>sort</code> or <code>respect</code> has been previously invoked. Internal data structures arrange elements to maximize performance. Accessing them directly gives a performance boost but less guarantees. Use <code>begin</code> and <code>end</code> if you want to iterate the sparse set in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of objects. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00610">610</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00733">733</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -890,7 +972,7 @@ template&lt;typename Entity , typename Type &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order, even though either <code>sort</code> or <code>respect</code> has been previously invoked. Internal data structures arrange elements to maximize performance. Accessing them directly gives a performance boost but less guarantees. Use <code>begin</code> and <code>end</code> if you want to iterate the sparse set in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of objects. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00629">629</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00752">752</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -929,7 +1011,7 @@ template&lt;typename Entity , typename Type &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00590">590</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00713">713</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -971,19 +1053,19 @@ template&lt;typename Entity , typename Type &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00930">930</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l01075">1075</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="a0bb1bb7e7660c279558e94efd917b7db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bb1bb7e7660c279558e94efd917b7db">&#9670;&nbsp;</a></span>sort()</h2>
<a id="a8d2f225354c91f10b427e02dc211d24f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d2f225354c91f10b427e02dc211d24f">&#9670;&nbsp;</a></span>sort()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename Type &gt; </div>
<div class="memtemplate">
template&lt;typename Compare , typename Sort = StdSort&gt; </div>
template&lt;typename Compare , typename Sort = StdSort, typename... Args&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
@@ -998,7 +1080,13 @@ template&lt;typename Compare , typename Sort = StdSort&gt; </div>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Sort&#160;</td>
<td class="paramname"><em>sort</em> = <code>Sort{}</code>&#160;</td>
<td class="paramname"><em>sort</em> = <code>Sort{}</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Args &amp;&amp;...&#160;</td>
<td class="paramname"><em>args</em>&#160;</td>
</tr>
<tr>
<td></td>
@@ -1029,6 +1117,7 @@ template&lt;typename Compare , typename Sort = StdSort&gt; </div>
<table class="tparams">
<tr><td class="paramname">Compare</td><td>Type of comparison function object. </td></tr>
<tr><td class="paramname">Sort</td><td>Type of sort function object. </td></tr>
<tr><td class="paramname">Args</td><td>Types of arguments to forward to the sort function object. </td></tr>
</table>
</dd>
</dl>
@@ -1036,11 +1125,12 @@ template&lt;typename Compare , typename Sort = StdSort&gt; </div>
<table class="params">
<tr><td class="paramname">compare</td><td>A valid comparison function object. </td></tr>
<tr><td class="paramname">sort</td><td>A valid sort function object. </td></tr>
<tr><td class="paramname">args</td><td>Arguments to forward to the sort function object, if any. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00883">883</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l01028">1028</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -72,34 +72,35 @@ $(function() {
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aebd9c479dc54907cf42a4423f34edeb2">begin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6b33b62684d62255ca53a371cfbe1d28">begin</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ba1127cc520b39c2d147da99000866f">cbegin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aaec7e4e14421c38084ef57b13d40a15d">cend</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">const_iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">construct</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a3da83139d2ef41982399948a94383c0b">data</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7bd15b00eb2ce0e52d3d957673b4dd97">destroy</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a62f5ebeb316c3d52877c6eca45c652ce">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a956957bcafba7391d1008110596d5714">end</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a14720d48f6d553a06813379ee6d7092f">end</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">extent</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">fast</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a15ae580507381985e2bf3e4098d71f6c">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">has</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a34ffc79377cef381ef5af2e75d61cf4d">operator=</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a24ddfc9e45d7b70639124fe7c2800384">operator=</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a19fd8be1b2cad2a4ca01c88225b0a379">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ad1c62c65aeb0112e688f05d8f641cdab">reset</a>()</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a17422401f952b58be5113ff88e302c0e">respect</a>(const SparseSet&lt; Entity &gt; &amp;other) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6dc502e9af33ac00af110e5eb8414bc1">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ac21f0c7137814008016648e166061426">SparseSet</a>() ENTT_NOEXCEPT=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa4ad5318f2be78e8e4336bdf4b012905">SparseSet</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#acdfceb557303dee515fe906a13ac759e">SparseSet</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">swap</a>(const pos_type lhs, const pos_type rhs) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7a0a9d11f6b89102468b45ed83651bc8">~SparseSet</a>() ENTT_NOEXCEPT=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">capacity</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ba1127cc520b39c2d147da99000866f">cbegin</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aaec7e4e14421c38084ef57b13d40a15d">cend</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">const_iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">construct</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a3da83139d2ef41982399948a94383c0b">data</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7bd15b00eb2ce0e52d3d957673b4dd97">destroy</a>(const entity_type entity)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a62f5ebeb316c3d52877c6eca45c652ce">empty</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a956957bcafba7391d1008110596d5714">end</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a14720d48f6d553a06813379ee6d7092f">end</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">extent</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">fast</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa7893474e3b47da7c2568a0dc4ab4bcf">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">has</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a34ffc79377cef381ef5af2e75d61cf4d">operator=</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a24ddfc9e45d7b70639124fe7c2800384">operator=</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a2de3b3dc887e30616c37dd1dbc3de46b">operator[]</a>(const size_type pos) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a19fd8be1b2cad2a4ca01c88225b0a379">reserve</a>(const size_type cap)</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ad1c62c65aeb0112e688f05d8f641cdab">reset</a>()</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a17422401f952b58be5113ff88e302c0e">respect</a>(const SparseSet&lt; Entity &gt; &amp;other) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6dc502e9af33ac00af110e5eb8414bc1">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ac21f0c7137814008016648e166061426">SparseSet</a>() ENTT_NOEXCEPT=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa4ad5318f2be78e8e4336bdf4b012905">SparseSet</a>(const SparseSet &amp;)=delete</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#acdfceb557303dee515fe906a13ac759e">SparseSet</a>(SparseSet &amp;&amp;)=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">swap</a>(const size_type lhs, const size_type rhs) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7a0a9d11f6b89102468b45ed83651bc8">~SparseSet</a>() ENTT_NOEXCEPT=default</td><td class="entry"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">entt::SparseSet&lt; Entity &gt;</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
+109 -36
View File
@@ -92,10 +92,6 @@ Public Types</h2></td></tr>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> = Entity</td></tr>
<tr class="memdesc:a7d36e852257a965a9a0ed3fb636433e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
<tr class="separator:a7d36e852257a965a9a0ed3fb636433e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c218a69cf339371251ffa5580d7aa0"><td class="memItemLeft" align="right" valign="top"><a id="a20c218a69cf339371251ffa5580d7aa0"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> = <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a></td></tr>
<tr class="memdesc:a20c218a69cf339371251ffa5580d7aa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Entity dependent position type. <br /></td></tr>
<tr class="separator:a20c218a69cf339371251ffa5580d7aa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81c48dcee7a1104ee82794613ee7ed2"><td class="memItemLeft" align="right" valign="top"><a id="ab81c48dcee7a1104ee82794613ee7ed2"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> = std::size_t</td></tr>
<tr class="memdesc:ab81c48dcee7a1104ee82794613ee7ed2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
@@ -136,6 +132,9 @@ virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c
<tr class="memitem:a19fd8be1b2cad2a4ca01c88225b0a379"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a19fd8be1b2cad2a4ca01c88225b0a379">reserve</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> cap)</td></tr>
<tr class="memdesc:a19fd8be1b2cad2a4ca01c88225b0a379"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increases the capacity of a sparse set. <a href="#a19fd8be1b2cad2a4ca01c88225b0a379">More...</a><br /></td></tr>
<tr class="separator:a19fd8be1b2cad2a4ca01c88225b0a379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affd4ddc4bc12517d84772a40b0d992d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">capacity</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:affd4ddc4bc12517d84772a40b0d992d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of elements that a sparse set has currently allocated space for. <a href="#affd4ddc4bc12517d84772a40b0d992d5">More...</a><br /></td></tr>
<tr class="separator:affd4ddc4bc12517d84772a40b0d992d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab314d3642b6a5b90bbcb170ba83b7978"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab314d3642b6a5b90bbcb170ba83b7978">extent</a> () const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ab314d3642b6a5b90bbcb170ba83b7978"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the extent of a sparse set. <a href="#ab314d3642b6a5b90bbcb170ba83b7978">More...</a><br /></td></tr>
<tr class="separator:ab314d3642b6a5b90bbcb170ba83b7978"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -166,24 +165,27 @@ virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c
<tr class="memitem:a14720d48f6d553a06813379ee6d7092f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a14720d48f6d553a06813379ee6d7092f">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a14720d48f6d553a06813379ee6d7092f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the end. <a href="#a14720d48f6d553a06813379ee6d7092f">More...</a><br /></td></tr>
<tr class="separator:a14720d48f6d553a06813379ee6d7092f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de3b3dc887e30616c37dd1dbc3de46b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a2de3b3dc887e30616c37dd1dbc3de46b">operator[]</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> pos) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a2de3b3dc887e30616c37dd1dbc3de46b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#a2de3b3dc887e30616c37dd1dbc3de46b">More...</a><br /></td></tr>
<tr class="separator:a2de3b3dc887e30616c37dd1dbc3de46b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a824d6f4789f0c03a7f18802d9dc46582"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a824d6f4789f0c03a7f18802d9dc46582">has</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a824d6f4789f0c03a7f18802d9dc46582"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a sparse set contains an entity. <a href="#a824d6f4789f0c03a7f18802d9dc46582">More...</a><br /></td></tr>
<tr class="separator:a824d6f4789f0c03a7f18802d9dc46582"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa76df55ad01a2c5d4e407fc3a72ccd90"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa76df55ad01a2c5d4e407fc3a72ccd90">fast</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aa76df55ad01a2c5d4e407fc3a72ccd90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a sparse set contains an entity (unsafe). <a href="#aa76df55ad01a2c5d4e407fc3a72ccd90">More...</a><br /></td></tr>
<tr class="separator:aa76df55ad01a2c5d4e407fc3a72ccd90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15ae580507381985e2bf3e4098d71f6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a15ae580507381985e2bf3e4098d71f6c">get</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a15ae580507381985e2bf3e4098d71f6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of an entity in a sparse set. <a href="#a15ae580507381985e2bf3e4098d71f6c">More...</a><br /></td></tr>
<tr class="separator:a15ae580507381985e2bf3e4098d71f6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7893474e3b47da7c2568a0dc4ab4bcf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa7893474e3b47da7c2568a0dc4ab4bcf">get</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:aa7893474e3b47da7c2568a0dc4ab4bcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of an entity in a sparse set. <a href="#aa7893474e3b47da7c2568a0dc4ab4bcf">More...</a><br /></td></tr>
<tr class="separator:aa7893474e3b47da7c2568a0dc4ab4bcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47dad39fa63ac4be07dcd9234c8a57c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">construct</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity)</td></tr>
<tr class="memdesc:a47dad39fa63ac4be07dcd9234c8a57c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns an entity to a sparse set. <a href="#a47dad39fa63ac4be07dcd9234c8a57c7">More...</a><br /></td></tr>
<tr class="separator:a47dad39fa63ac4be07dcd9234c8a57c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd15b00eb2ce0e52d3d957673b4dd97"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7bd15b00eb2ce0e52d3d957673b4dd97">destroy</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a> entity)</td></tr>
<tr class="memdesc:a7bd15b00eb2ce0e52d3d957673b4dd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes an entity from a sparse set. <a href="#a7bd15b00eb2ce0e52d3d957673b4dd97">More...</a><br /></td></tr>
<tr class="separator:a7bd15b00eb2ce0e52d3d957673b4dd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a271e5e6736388ca8bf350187da2a0d8f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">swap</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> lhs, const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> rhs) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a271e5e6736388ca8bf350187da2a0d8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swaps the position of two entities in the internal packed array. <a href="#a271e5e6736388ca8bf350187da2a0d8f">More...</a><br /></td></tr>
<tr class="separator:a271e5e6736388ca8bf350187da2a0d8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9db01fbfd9f1b8afa4a6f43d42390e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">swap</a> (const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> lhs, const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> rhs) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:ace9db01fbfd9f1b8afa4a6f43d42390e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swaps the position of two entities in the internal packed array. <a href="#ace9db01fbfd9f1b8afa4a6f43d42390e">More...</a><br /></td></tr>
<tr class="separator:ace9db01fbfd9f1b8afa4a6f43d42390e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17422401f952b58be5113ff88e302c0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a17422401f952b58be5113ff88e302c0e">respect</a> (const <a class="el" href="classentt_1_1SparseSet.html">SparseSet</a>&lt; Entity &gt; &amp;other) ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a17422401f952b58be5113ff88e302c0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sort entities according to their order in another sparse set. <a href="#a17422401f952b58be5113ff88e302c0e">More...</a><br /></td></tr>
<tr class="separator:a17422401f952b58be5113ff88e302c0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -211,7 +213,7 @@ Internal data structures arrange elements to maximize performance. Because of th
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00059">59</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00060">60</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aebd9c479dc54907cf42a4423f34edeb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebd9c479dc54907cf42a4423f34edeb2">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
@@ -243,7 +245,7 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity of the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00233">233</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00296">296</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -277,7 +279,39 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity of the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00249">249</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00312">312</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="affd4ddc4bc12517d84772a40b0d992d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affd4ddc4bc12517d84772a40b0d992d5">&#9670;&nbsp;</a></span>capacity()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity &gt;::capacity </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of elements that a sparse set has currently allocated space for. </p>
<dl class="section return"><dt>Returns</dt><dd>Capacity of the sparse set. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00208">208</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -311,7 +345,7 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity of the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00217">217</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00279">279</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -345,7 +379,7 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last entity of the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00266">266</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00329">329</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -385,7 +419,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00367">367</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00439">439</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -419,7 +453,7 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order, even though <code>respect</code> has been previously invoked. Internal data structures arrange elements to maximize performance. Accessing them directly gives a performance boost but less guarantees. Use <code>begin</code> and <code>end</code> if you want to iterate the sparse set in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00201">201</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00263">263</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -461,7 +495,7 @@ template&lt;typename Entity &gt; </div>
<p>Reimplemented in <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae763b848ccde63e554f5b3f04b9dcdea">entt::SparseSet&lt; Entity, Type &gt;</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00391">391</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00463">463</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -493,7 +527,7 @@ template&lt;typename Entity &gt; </div>
<p>Checks whether a sparse set is empty. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the sparse set is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00182">182</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00244">244</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -527,7 +561,7 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last entity of the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00283">283</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00346">346</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -561,7 +595,7 @@ template&lt;typename Entity &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed by a call to <code>respect</code>.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the element following the last entity of the internal packed array. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00300">300</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00363">363</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -594,7 +628,7 @@ template&lt;typename Entity &gt; </div>
<p>The extent of a sparse set is also the size of the internal sparse array. There is no guarantee that the internal packed array has the same size. Usually the size of the internal sparse array is equal or greater than the one of the internal packed array.</p>
<dl class="section return"><dt>Returns</dt><dd>Extent of the sparse set. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00160">160</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00222">222</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -637,12 +671,12 @@ template&lt;typename Entity &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the sparse set contains the entity, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00332">332</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00404">404</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="a15ae580507381985e2bf3e4098d71f6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15ae580507381985e2bf3e4098d71f6c">&#9670;&nbsp;</a></span>get()</h2>
<a id="aa7893474e3b47da7c2568a0dc4ab4bcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7893474e3b47da7c2568a0dc4ab4bcf">&#9670;&nbsp;</a></span>get()</h2>
<div class="memitem">
<div class="memproto">
@@ -653,7 +687,7 @@ template&lt;typename Entity &gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a> <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity &gt;::get </td>
<td class="memname"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a> <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity &gt;::get </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a>&#160;</td>
<td class="paramname"><em>entity</em></td><td>)</td>
@@ -678,7 +712,7 @@ template&lt;typename Entity &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The position of the entity in the sparse set. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00351">351</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00423">423</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -717,7 +751,7 @@ template&lt;typename Entity &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the sparse set contains the entity, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00309">309</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00381">381</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -781,6 +815,45 @@ template&lt;typename Entity &gt; </div>
<p>Default move assignment operator. </p>
<dl class="section return"><dt>Returns</dt><dd>This sparse set. </dd></dl>
</div>
</div>
<a id="a2de3b3dc887e30616c37dd1dbc3de46b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2de3b3dc887e30616c37dd1dbc3de46b">&#9670;&nbsp;</a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entity_type</a>&amp; <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00372">372</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="a19fd8be1b2cad2a4ca01c88225b0a379"></a>
@@ -818,7 +891,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00146">146</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00199">199</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -860,7 +933,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00445">445</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00517">517</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
@@ -893,12 +966,12 @@ template&lt;typename Entity &gt; </div>
<p>The number of elements is also the size of the internal packed array. There is no guarantee that the internal sparse array has the same size. Usually the size of the internal sparse array is equal or greater than the one of the internal packed array.</p>
<dl class="section return"><dt>Returns</dt><dd>Number of elements. </dd></dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00174">174</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00236">236</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
<a id="a271e5e6736388ca8bf350187da2a0d8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a271e5e6736388ca8bf350187da2a0d8f">&#9670;&nbsp;</a></span>swap()</h2>
<a id="ace9db01fbfd9f1b8afa4a6f43d42390e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace9db01fbfd9f1b8afa4a6f43d42390e">&#9670;&nbsp;</a></span>swap()</h2>
<div class="memitem">
<div class="memproto">
@@ -911,13 +984,13 @@ template&lt;typename Entity &gt; </div>
<tr>
<td class="memname">void <a class="el" href="classentt_1_1SparseSet.html">entt::SparseSet</a>&lt; Entity &gt;::swap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a>&#160;</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">pos_type</a>&#160;</td>
<td class="paramtype">const <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">size_type</a>&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
@@ -945,7 +1018,7 @@ template&lt;typename Entity &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00417">417</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="sparse__set_8hpp_source.html#l00489">489</a> of file <a class="el" href="sparse__set_8hpp_source.html">sparse_set.hpp</a>.</p>
</div>
</div>
+27 -25
View File
@@ -81,14 +81,6 @@ $(function() {
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a738fb04a466b1f858a1eb5d7bc8fd668"><td class="memItemLeft" align="right" valign="top"><a id="a738fb04a466b1f858a1eb5d7bc8fd668"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View.html#a738fb04a466b1f858a1eb5d7bc8fd668">iterator_type</a> = Iterator</td></tr>
<tr class="memdesc:a738fb04a466b1f858a1eb5d7bc8fd668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:a738fb04a466b1f858a1eb5d7bc8fd668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81b76e0389ffeb60195a3391c4c5ce3a"><td class="memItemLeft" align="right" valign="top"><a id="a81b76e0389ffeb60195a3391c4c5ce3a"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View.html#a81b76e0389ffeb60195a3391c4c5ce3a">const_iterator_type</a> = Iterator</td></tr>
<tr class="memdesc:a81b76e0389ffeb60195a3391c4c5ce3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a81b76e0389ffeb60195a3391c4c5ce3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61be0e712de89d1eb275e14bbc59174e"><td class="memItemLeft" align="right" valign="top"><a id="a61be0e712de89d1eb275e14bbc59174e"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View.html#a61be0e712de89d1eb275e14bbc59174e">entity_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">view_type::entity_type</a></td></tr>
<tr class="memdesc:a61be0e712de89d1eb275e14bbc59174e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
@@ -97,6 +89,14 @@ using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cla
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View.html#ab3f86ec55935bbbb00077bbe07f15c4b">size_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">view_type::size_type</a></td></tr>
<tr class="memdesc:ab3f86ec55935bbbb00077bbe07f15c4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:ab3f86ec55935bbbb00077bbe07f15c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a738fb04a466b1f858a1eb5d7bc8fd668"><td class="memItemLeft" align="right" valign="top"><a id="a738fb04a466b1f858a1eb5d7bc8fd668"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View.html#a738fb04a466b1f858a1eb5d7bc8fd668">iterator_type</a> = Iterator</td></tr>
<tr class="memdesc:a738fb04a466b1f858a1eb5d7bc8fd668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:a738fb04a466b1f858a1eb5d7bc8fd668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81b76e0389ffeb60195a3391c4c5ce3a"><td class="memItemLeft" align="right" valign="top"><a id="a81b76e0389ffeb60195a3391c4c5ce3a"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View.html#a81b76e0389ffeb60195a3391c4c5ce3a">const_iterator_type</a> = Iterator</td></tr>
<tr class="memdesc:a81b76e0389ffeb60195a3391c4c5ce3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a81b76e0389ffeb60195a3391c4c5ce3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@@ -179,7 +179,9 @@ class entt::View&lt; Entity, Component &gt;</h3>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>A valid entity type (see <a class="el" href="structentt_1_1entt__traits.html" title="Entity traits. ">entt_traits</a> for more details). </td></tr>
@@ -188,7 +190,7 @@ class entt::View&lt; Entity, Component &gt;</h3>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00453">453</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00466">466</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a7c59406241bd142289a0d618a33f98d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c59406241bd142289a0d618a33f98d3">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
@@ -220,7 +222,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00669">669</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00681">681</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -254,7 +256,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00687">687</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00699">699</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -288,7 +290,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00650">650</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00662">662</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -322,7 +324,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00706">706</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00718">718</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -361,7 +363,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the view contains the given entity, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00754">754</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00766">766</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -409,7 +411,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00869">869</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00882">882</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -457,7 +459,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00893">893</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00906">906</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -489,7 +491,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<p>Checks if the view is definitely empty. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the view is definitely empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00632">632</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00644">644</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -523,7 +525,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00726">726</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00738">738</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -557,7 +559,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00745">745</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00757">757</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -607,7 +609,7 @@ template&lt;typename Comp &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The component assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00777">777</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00790">790</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -657,7 +659,7 @@ template&lt;typename Comp &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The component assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00800">800</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00813">813</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -707,7 +709,7 @@ template&lt;typename... Comp&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The components assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00823">823</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00836">836</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -757,7 +759,7 @@ template&lt;typename... Comp&gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The components assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00847">847</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00860">860</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -789,7 +791,7 @@ template&lt;typename Entity , typename... Component&gt; </div>
<p>Estimates the number of entities that have the given components. </p>
<dl class="section return"><dt>Returns</dt><dd>Estimated number of entities that have the given components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00624">624</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00636">636</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -86,12 +86,13 @@ $(function() {
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a51d497700a0322a130022eea97643d0f">get</a>(const entity_type entity) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a269fac4009da89c9743202b16dcd6d87">get</a>(const entity_type entity) ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a791a1288db896fda8e77acad396aa513">iterator_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a67bdaf39828b8055069d51825192541d">raw</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a07d8b7d15b93f9988f6b4fbf514a356a">raw</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a8bdfb1fbdd4340131be9c70bf02671b5">raw_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a200646cfe88496da691aab5f61c0fa69">Registry&lt; Entity &gt;</a> class</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a2244b847c1e148f901ea3b83ec2d6703">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#afa754b0f10b28dbdb2149b5b8d0fdf73">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a6094dd00422b07f0a9523699b9bf77aa">operator[]</a>(const size_type pos) const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a67bdaf39828b8055069d51825192541d">raw</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a07d8b7d15b93f9988f6b4fbf514a356a">raw</a>() ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a8bdfb1fbdd4340131be9c70bf02671b5">raw_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a200646cfe88496da691aab5f61c0fa69">Registry&lt; Entity &gt;</a> class</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a2244b847c1e148f901ea3b83ec2d6703">size</a>() const ENTT_NOEXCEPT</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#afa754b0f10b28dbdb2149b5b8d0fdf73">size_type</a> typedef</td><td class="entry"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">entt::View&lt; Entity, Component &gt;</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
@@ -80,14 +80,10 @@ $(function() {
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a791a1288db896fda8e77acad396aa513"><td class="memItemLeft" align="right" valign="top"><a id="a791a1288db896fda8e77acad396aa513"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a791a1288db896fda8e77acad396aa513">iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">view_type::iterator_type</a></td></tr>
<tr class="memdesc:a791a1288db896fda8e77acad396aa513"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:a791a1288db896fda8e77acad396aa513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79316bcf7c15b52712689653fff419c3"><td class="memItemLeft" align="right" valign="top"><a id="a79316bcf7c15b52712689653fff419c3"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a79316bcf7c15b52712689653fff419c3">const_iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">view_type::const_iterator_type</a></td></tr>
<tr class="memdesc:a79316bcf7c15b52712689653fff419c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a79316bcf7c15b52712689653fff419c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bdfb1fbdd4340131be9c70bf02671b5"><td class="memItemLeft" align="right" valign="top"><a id="a8bdfb1fbdd4340131be9c70bf02671b5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a8bdfb1fbdd4340131be9c70bf02671b5">raw_type</a> = typename pool_type::object_type</td></tr>
<tr class="memdesc:a8bdfb1fbdd4340131be9c70bf02671b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of component iterated by the view. <br /></td></tr>
<tr class="separator:a8bdfb1fbdd4340131be9c70bf02671b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75fc64bf381a3003d8acf03ed66728f2"><td class="memItemLeft" align="right" valign="top"><a id="a75fc64bf381a3003d8acf03ed66728f2"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a75fc64bf381a3003d8acf03ed66728f2">entity_type</a> = typename pool_type::entity_type</td></tr>
<tr class="memdesc:a75fc64bf381a3003d8acf03ed66728f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying entity identifier. <br /></td></tr>
@@ -96,10 +92,14 @@ using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cla
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#afa754b0f10b28dbdb2149b5b8d0fdf73">size_type</a> = typename pool_type::size_type</td></tr>
<tr class="memdesc:afa754b0f10b28dbdb2149b5b8d0fdf73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:afa754b0f10b28dbdb2149b5b8d0fdf73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bdfb1fbdd4340131be9c70bf02671b5"><td class="memItemLeft" align="right" valign="top"><a id="a8bdfb1fbdd4340131be9c70bf02671b5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a8bdfb1fbdd4340131be9c70bf02671b5">raw_type</a> = typename pool_type::object_type</td></tr>
<tr class="memdesc:a8bdfb1fbdd4340131be9c70bf02671b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of component iterated by the view. <br /></td></tr>
<tr class="separator:a8bdfb1fbdd4340131be9c70bf02671b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a791a1288db896fda8e77acad396aa513"><td class="memItemLeft" align="right" valign="top"><a id="a791a1288db896fda8e77acad396aa513"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a791a1288db896fda8e77acad396aa513">iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">view_type::iterator_type</a></td></tr>
<tr class="memdesc:a791a1288db896fda8e77acad396aa513"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input iterator type. <br /></td></tr>
<tr class="separator:a791a1288db896fda8e77acad396aa513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79316bcf7c15b52712689653fff419c3"><td class="memItemLeft" align="right" valign="top"><a id="a79316bcf7c15b52712689653fff419c3"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a79316bcf7c15b52712689653fff419c3">const_iterator_type</a> = typename <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">view_type::const_iterator_type</a></td></tr>
<tr class="memdesc:a79316bcf7c15b52712689653fff419c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant input iterator type. <br /></td></tr>
<tr class="separator:a79316bcf7c15b52712689653fff419c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@@ -136,6 +136,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a34bca7c2c996fe26e150c0a7a2dbb69d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a791a1288db896fda8e77acad396aa513">iterator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a34bca7c2c996fe26e150c0a7a2dbb69d">end</a> () ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a34bca7c2c996fe26e150c0a7a2dbb69d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator that is past the last entity that has the given component. <a href="#a34bca7c2c996fe26e150c0a7a2dbb69d">More...</a><br /></td></tr>
<tr class="separator:a34bca7c2c996fe26e150c0a7a2dbb69d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6094dd00422b07f0a9523699b9bf77aa"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a75fc64bf381a3003d8acf03ed66728f2">entity_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a6094dd00422b07f0a9523699b9bf77aa">operator[]</a> (const <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#afa754b0f10b28dbdb2149b5b8d0fdf73">size_type</a> pos) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:a6094dd00422b07f0a9523699b9bf77aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the element at the given position. <a href="#a6094dd00422b07f0a9523699b9bf77aa">More...</a><br /></td></tr>
<tr class="separator:a6094dd00422b07f0a9523699b9bf77aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbc407e2fecdbcf97c129ade5db185e8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#abbc407e2fecdbcf97c129ade5db185e8">contains</a> (const <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a75fc64bf381a3003d8acf03ed66728f2">entity_type</a> entity) const ENTT_NOEXCEPT</td></tr>
<tr class="memdesc:abbc407e2fecdbcf97c129ade5db185e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a view contains an entity. <a href="#abbc407e2fecdbcf97c129ade5db185e8">More...</a><br /></td></tr>
<tr class="separator:abbc407e2fecdbcf97c129ade5db185e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -181,7 +184,9 @@ class entt::View&lt; Entity, Component &gt;</h3>
<dd>
<a class="el" href="classentt_1_1PersistentView.html" title="Persistent view. ">PersistentView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a></dd></dl>
<a class="el" href="classentt_1_1RawView.html" title="Raw view. ">RawView</a> </dd>
<dd>
<a class="el" href="classentt_1_1RuntimeView.html" title="Runtime view. ">RuntimeView</a></dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>A valid entity type (see <a class="el" href="structentt_1_1entt__traits.html" title="Entity traits. ">entt_traits</a> for more details). </td></tr>
@@ -190,7 +195,7 @@ class entt::View&lt; Entity, Component &gt;</h3>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00942">942</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00956">956</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a7c59406241bd142289a0d618a33f98d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c59406241bd142289a0d618a33f98d3">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
@@ -222,7 +227,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01061">1061</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01075">1075</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -256,7 +261,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01079">1079</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01093">1093</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -290,7 +295,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the first entity that has the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01043">1043</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01057">1057</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -324,7 +329,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01098">1098</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01112">1112</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -363,7 +368,7 @@ template&lt;typename Entity , typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the view contains the given entity, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01145">1145</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01168">1168</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -397,7 +402,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the entities. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of entities. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01025">1025</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01039">1039</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -445,7 +450,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01204">1204</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01227">1227</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -493,7 +498,7 @@ template&lt;typename Func &gt; </div>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01226">1226</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01249">1249</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -525,7 +530,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<p>Checks whether the view is empty. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the view is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00977">977</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00991">991</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -559,7 +564,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01117">1117</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01131">1131</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -593,7 +598,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>Input iterators stay true to the order imposed to the underlying data structures.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An iterator to the entity following the last entity that has the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01136">1136</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01150">1150</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -635,7 +640,7 @@ template&lt;typename Entity , typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The component assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01164">1164</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01187">1187</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -677,7 +682,46 @@ template&lt;typename Entity , typename Component &gt; </div>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The component assigned to the entity. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01184">1184</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01207">1207</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
<a id="a6094dd00422b07f0a9523699b9bf77aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6094dd00422b07f0a9523699b9bf77aa">&#9670;&nbsp;</a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Entity , typename Component &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a75fc64bf381a3003d8acf03ed66728f2">entity_type</a>&amp; <a class="el" href="classentt_1_1View.html">entt::View</a>&lt; Entity, Component &gt;::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#afa754b0f10b28dbdb2149b5b8d0fdf73">size_type</a>&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the element at the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Position of the element to return. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the requested element. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01159">1159</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -711,7 +755,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the components. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00993">993</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01007">1007</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -745,7 +789,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<dl class="section note"><dt>Note</dt><dd>There are no guarantees on the order of the components. Use <code>begin</code> and <code>end</code> if you want to iterate the view in the expected order.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the array of components. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01009">1009</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l01023">1023</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
@@ -777,7 +821,7 @@ template&lt;typename Entity , typename Component &gt; </div>
<p>Returns the number of entities that have the given component. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of entities that have the given component. </dd></dl>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00969">969</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="view_8hpp_source.html#l00983">983</a> of file <a class="el" href="view_8hpp_source.html">view.hpp</a>.</p>
</div>
</div>
+25 -22
View File
@@ -63,38 +63,41 @@ $(function() {
<div class="title">Class Index</div> </div>
</div><!--header-->
<div class="contents">
<div class="qindex"><a class="qindex" href="#letter_a">a</a>&#160;|&#160;<a class="qindex" href="#letter_b">b</a>&#160;|&#160;<a class="qindex" href="#letter_c">c</a>&#160;|&#160;<a class="qindex" href="#letter_d">d</a>&#160;|&#160;<a class="qindex" href="#letter_e">e</a>&#160;|&#160;<a class="qindex" href="#letter_f">f</a>&#160;|&#160;<a class="qindex" href="#letter_h">h</a>&#160;|&#160;<a class="qindex" href="#letter_i">i</a>&#160;|&#160;<a class="qindex" href="#letter_p">p</a>&#160;|&#160;<a class="qindex" href="#letter_r">r</a>&#160;|&#160;<a class="qindex" href="#letter_s">s</a>&#160;|&#160;<a class="qindex" href="#letter_t">t</a>&#160;|&#160;<a class="qindex" href="#letter_v">v</a></div>
<div class="qindex"><a class="qindex" href="#letter_a">a</a>&#160;|&#160;<a class="qindex" href="#letter_b">b</a>&#160;|&#160;<a class="qindex" href="#letter_c">c</a>&#160;|&#160;<a class="qindex" href="#letter_d">d</a>&#160;|&#160;<a class="qindex" href="#letter_e">e</a>&#160;|&#160;<a class="qindex" href="#letter_f">f</a>&#160;|&#160;<a class="qindex" href="#letter_h">h</a>&#160;|&#160;<a class="qindex" href="#letter_i">i</a>&#160;|&#160;<a class="qindex" href="#letter_m">m</a>&#160;|&#160;<a class="qindex" href="#letter_p">p</a>&#160;|&#160;<a class="qindex" href="#letter_r">r</a>&#160;|&#160;<a class="qindex" href="#letter_s">s</a>&#160;|&#160;<a class="qindex" href="#letter_t">t</a>&#160;|&#160;<a class="qindex" href="#letter_v">v</a></div>
<table class="classindex">
<tr><td rowspan="2" valign="bottom"><a name="letter_a"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;a&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Dispatcher.html">Dispatcher</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_i"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;i&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Registry.html">Registry</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SparseSet.html">SparseSet</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_e"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;e&#160;&#160;</div></td></tr></table>
</td><td rowspan="2" valign="bottom"><a name="letter_e"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;e&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="structentt_1_1InsertionSort.html">InsertionSort</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Registry.html">Registry</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SparseSet.html">SparseSet</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_m"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;m&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1ResourceCache.html">ResourceCache</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html">SparseSet&lt; Entity &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1Actor.html">Actor</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1InsertionSort.html">InsertionSort</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1ResourceHandle.html">ResourceHandle</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">SparseSet&lt; Entity, Type &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1Actor.html">Actor</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Emitter.html">Emitter</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1ResourceHandle.html">ResourceHandle</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html">SparseSet&lt; Entity, Type &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_b"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;b&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Emitter.html">Emitter</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_p"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;p&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1ResourceLoader.html">ResourceLoader</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1StdSort.html">StdSort</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1entt__traits.html">entt_traits</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_s"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;s&#160;&#160;</div></td></tr></table>
</td><td rowspan="2" valign="bottom"><a name="letter_t"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;t&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="structentt_1_1entt__traits.html">entt_traits</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1Monostate.html">Monostate</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1ResourceLoader.html">ResourceLoader</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1StdSort.html">StdSort</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint16__t_01_4.html">entt_traits&lt; std::uint16_t &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_p"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;p&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1RuntimeView.html">RuntimeView</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_t"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;t&#160;&#160;</div></td></tr></table>
</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1break__t.html">break_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint32__t_01_4.html">entt_traits&lt; std::uint32_t &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_s"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;s&#160;&#160;</div></td></tr></table>
</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1break__t.html">break_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint16__t_01_4.html">entt_traits&lt; std::uint16_t &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1persistent__t.html">persistent_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_c"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;c&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint32__t_01_4.html">entt_traits&lt; std::uint32_t &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1PersistentView.html">PersistentView</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Scheduler.html">Scheduler</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1tag__t.html">tag_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint64__t_01_4.html">entt_traits&lt; std::uint64_t &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Process.html">Process</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1ServiceLocator.html">ServiceLocator</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_v"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;v&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint64__t_01_4.html">entt_traits&lt; std::uint64_t &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1persistent__t.html">persistent_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1tag__t.html">tag_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_f"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;f&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1PersistentView.html">PersistentView</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Scheduler.html">Scheduler</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_v"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;v&#160;&#160;</div></td></tr></table>
</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1Emitter_1_1Connection.html">Emitter::Connection</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_f"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;f&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="structentt_1_1ProcessAdaptor.html">ProcessAdaptor</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SigH.html">SigH</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1ContinuousLoader.html">ContinuousLoader</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Prototype.html">Prototype</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">SigH&lt; Ret(Args...), Collector &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1View.html">View</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="structentt_1_1Emitter_1_1Connection.html">Emitter::Connection</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Process.html">Process</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1ServiceLocator.html">ServiceLocator</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1ContinuousLoader.html">ContinuousLoader</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Family.html">Family</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1ProcessAdaptor.html">ProcessAdaptor</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SigH.html">SigH</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1View.html">View</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_d"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;d&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Family.html">Family</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;r&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Sink.html">Sink</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">View&lt; Entity, Component &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_h"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;h&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html">Sink&lt; Ret(Args...)&gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1Delegate.html">Delegate</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structentt_1_1raw__t.html">raw_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Snapshot.html">Snapshot</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">Delegate&lt; Ret(Args...)&gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1HashedString.html">HashedString</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1RawView.html">RawView</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SnapshotLoader.html">SnapshotLoader</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
</td><td rowspan="2" valign="bottom"><a name="letter_h"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;h&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Prototype.html">Prototype</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html">SigH&lt; Ret(Args...), Collector &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html">View&lt; Entity, Component &gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;r&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="classentt_1_1Sink.html">Sink</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1Delegate.html">Delegate</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1HashedString.html">HashedString</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html">Sink&lt; Ret(Args...)&gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html">Delegate&lt; Ret(Args...)&gt;</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td rowspan="2" valign="bottom"><a name="letter_i"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;i&#160;&#160;</div></td></tr></table>
</td><td valign="top"><a class="el" href="structentt_1_1raw__t.html">raw_t</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1Snapshot.html">Snapshot</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
<tr><td valign="top"><a class="el" href="classentt_1_1Dispatcher.html">Dispatcher</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1RawView.html">RawView</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classentt_1_1SnapshotLoader.html">SnapshotLoader</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td></tr>
<tr><td></td><td valign="top"><a class="el" href="classentt_1_1Identifier.html">Identifier</a> (<a class="el" href="namespaceentt.html">entt</a>)&#160;&#160;&#160;</td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td></tr>
</table>
<div class="qindex"><a class="qindex" href="#letter_a">a</a>&#160;|&#160;<a class="qindex" href="#letter_b">b</a>&#160;|&#160;<a class="qindex" href="#letter_c">c</a>&#160;|&#160;<a class="qindex" href="#letter_d">d</a>&#160;|&#160;<a class="qindex" href="#letter_e">e</a>&#160;|&#160;<a class="qindex" href="#letter_f">f</a>&#160;|&#160;<a class="qindex" href="#letter_h">h</a>&#160;|&#160;<a class="qindex" href="#letter_i">i</a>&#160;|&#160;<a class="qindex" href="#letter_p">p</a>&#160;|&#160;<a class="qindex" href="#letter_r">r</a>&#160;|&#160;<a class="qindex" href="#letter_s">s</a>&#160;|&#160;<a class="qindex" href="#letter_t">t</a>&#160;|&#160;<a class="qindex" href="#letter_v">v</a></div>
<div class="qindex"><a class="qindex" href="#letter_a">a</a>&#160;|&#160;<a class="qindex" href="#letter_b">b</a>&#160;|&#160;<a class="qindex" href="#letter_c">c</a>&#160;|&#160;<a class="qindex" href="#letter_d">d</a>&#160;|&#160;<a class="qindex" href="#letter_e">e</a>&#160;|&#160;<a class="qindex" href="#letter_f">f</a>&#160;|&#160;<a class="qindex" href="#letter_h">h</a>&#160;|&#160;<a class="qindex" href="#letter_i">i</a>&#160;|&#160;<a class="qindex" href="#letter_m">m</a>&#160;|&#160;<a class="qindex" href="#letter_p">p</a>&#160;|&#160;<a class="qindex" href="#letter_r">r</a>&#160;|&#160;<a class="qindex" href="#letter_s">s</a>&#160;|&#160;<a class="qindex" href="#letter_t">t</a>&#160;|&#160;<a class="qindex" href="#letter_v">v</a></div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
+1 -1
View File
@@ -67,7 +67,7 @@ $(function() {
<div class="title">config.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ENTT_CONFIG_CONFIG_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define ENTT_CONFIG_CONFIG_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#ifndef ENTT_NOEXCEPT</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#define ENTT_NOEXCEPT noexcept</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#endif // ENTT_CONFIG_CONFIG_H</span></div></div><!-- fragment --></div><!-- contents -->
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef ENTT_CONFIG_CONFIG_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define ENTT_CONFIG_CONFIG_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#ifndef ENTT_NOEXCEPT</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#define ENTT_NOEXCEPT noexcept</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#endif // ENTT_NOEXCEPT</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#ifndef ENTT_HS_SUFFIX</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#define ENTT_HS_SUFFIX _hs</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#endif // ENTT_HS_SUFFIX</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#endif // ENTT_CONFIG_CONFIG_H</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -67,7 +67,7 @@ $(function() {
<div class="title">entt.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#include &quot;core/algorithm.hpp&quot;</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &quot;core/family.hpp&quot;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;core/hashed_string.hpp&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;core/ident.hpp&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;entity/actor.hpp&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &quot;entity/entt_traits.hpp&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &quot;entity/helper.hpp&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;entity/prototype.hpp&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;entity/registry.hpp&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;entity/snapshot.hpp&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;entity/sparse_set.hpp&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;entity/utility.hpp&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;entity/view.hpp&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;locator/locator.hpp&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;process/process.hpp&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;process/scheduler.hpp&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;resource/cache.hpp&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;resource/handle.hpp&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;resource/loader.hpp&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;signal/delegate.hpp&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;signal/dispatcher.hpp&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;signal/emitter.hpp&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;signal/sigh.hpp&quot;</span></div></div><!-- fragment --></div><!-- contents -->
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#include &quot;core/algorithm.hpp&quot;</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &quot;core/family.hpp&quot;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;core/hashed_string.hpp&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;core/ident.hpp&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;core/monostate.hpp&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &quot;entity/actor.hpp&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &quot;entity/entity.hpp&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;entity/entt_traits.hpp&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;entity/helper.hpp&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;entity/prototype.hpp&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;entity/registry.hpp&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;entity/snapshot.hpp&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;entity/sparse_set.hpp&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;entity/utility.hpp&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;entity/view.hpp&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;locator/locator.hpp&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;process/process.hpp&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;process/scheduler.hpp&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;resource/cache.hpp&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;resource/handle.hpp&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;resource/loader.hpp&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;signal/delegate.hpp&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;signal/dispatcher.hpp&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;signal/emitter.hpp&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;signal/sigh.hpp&quot;</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
File diff suppressed because one or more lines are too long
+12 -10
View File
@@ -74,16 +74,18 @@ $(function() {
<tr id="row_0_0_1_1_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="family_8hpp_source.html"><span class="icondoc"></span></a><b>family.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_1_2_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="hashed__string_8hpp_source.html"><span class="icondoc"></span></a><b>hashed_string.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_1_3_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="ident_8hpp_source.html"><span class="icondoc"></span></a><b>ident.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_0_2_" class="arrow" onclick="toggleFolder('0_0_2_')">&#9660;</span><span id="img_0_0_2_" class="iconfopen" onclick="toggleFolder('0_0_2_')">&#160;</span><a class="el" href="dir_e3a7bb56c55e5c2286e2fe96e197d4f5.html" target="_self">entity</a></td><td class="desc"></td></tr>
<tr id="row_0_0_2_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="actor_8hpp_source.html"><span class="icondoc"></span></a><b>actor.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_1_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="entt__traits_8hpp_source.html"><span class="icondoc"></span></a><b>entt_traits.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_2_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="helper_8hpp_source.html"><span class="icondoc"></span></a><b>helper.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_3_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="prototype_8hpp_source.html"><span class="icondoc"></span></a><b>prototype.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_4_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="registry_8hpp_source.html"><span class="icondoc"></span></a><b>registry.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_5_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="snapshot_8hpp_source.html"><span class="icondoc"></span></a><b>snapshot.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_6_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="sparse__set_8hpp_source.html"><span class="icondoc"></span></a><b>sparse_set.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_7_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="utility_8hpp_source.html"><span class="icondoc"></span></a><b>utility.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_8_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="view_8hpp_source.html"><span class="icondoc"></span></a><b>view.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_1_4_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="monostate_8hpp_source.html"><span class="icondoc"></span></a><b>monostate.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_0_2_" class="arrow" onclick="toggleFolder('0_0_2_')">&#9660;</span><span id="img_0_0_2_" class="iconfopen" onclick="toggleFolder('0_0_2_')">&#160;</span><a class="el" href="dir_e3a7bb56c55e5c2286e2fe96e197d4f5.html" target="_self">entity</a></td><td class="desc"></td></tr>
<tr id="row_0_0_2_0_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="actor_8hpp_source.html"><span class="icondoc"></span></a><b>actor.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_1_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="entity_8hpp_source.html"><span class="icondoc"></span></a><b>entity.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_2_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="entt__traits_8hpp_source.html"><span class="icondoc"></span></a><b>entt_traits.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_3_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="helper_8hpp_source.html"><span class="icondoc"></span></a><b>helper.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_4_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="prototype_8hpp_source.html"><span class="icondoc"></span></a><b>prototype.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_5_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="registry_8hpp_source.html"><span class="icondoc"></span></a><b>registry.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_6_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="snapshot_8hpp_source.html"><span class="icondoc"></span></a><b>snapshot.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_7_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="sparse__set_8hpp_source.html"><span class="icondoc"></span></a><b>sparse_set.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_8_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="utility_8hpp_source.html"><span class="icondoc"></span></a><b>utility.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_2_9_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="view_8hpp_source.html"><span class="icondoc"></span></a><b>view.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_3_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_0_3_" class="arrow" onclick="toggleFolder('0_0_3_')">&#9660;</span><span id="img_0_0_3_" class="iconfopen" onclick="toggleFolder('0_0_3_')">&#160;</span><a class="el" href="dir_b64489a1e8130d5ebf6d86d282f500f0.html" target="_self">locator</a></td><td class="desc"></td></tr>
<tr id="row_0_0_3_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="locator_8hpp_source.html"><span class="icondoc"></span></a><b>locator.hpp</b></td><td class="desc"></td></tr>
<tr id="row_0_0_4_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_0_4_" class="arrow" onclick="toggleFolder('0_0_4_')">&#9660;</span><span id="img_0_0_4_" class="iconfopen" onclick="toggleFolder('0_0_4_')">&#160;</span><a class="el" href="dir_721f6154dba3c88bcdead5f446bce319.html" target="_self">process</a></td><td class="desc"></td></tr>
+2 -1
View File
@@ -65,7 +65,8 @@ $(function() {
<li>begin()
: <a class="el" href="classentt_1_1PersistentView.html#af1469f9dd45ebc68729e88e741c465a4">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a564cc60d60b8d80aefca967eea79031f">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6b33b62684d62255ca53a371cfbe1d28">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#af1fb74dd84e6ffd0f8626b8f0f55af91">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aebd9c479dc54907cf42a4423f34edeb2">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aef10db6199e31f72c14c4be9347b0822">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a7c59406241bd142289a0d618a33f98d3">entt::View&lt; Entity, Component &gt;</a>
</li>
+10 -5
View File
@@ -63,11 +63,13 @@ $(function() {
<h3><a id="index_c"></a>- c -</h3><ul>
<li>capacity()
: <a class="el" href="classentt_1_1Registry.html#aefe4ec26db45257de26da19147a9e3f3">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a38e5391f9c1b4a8ea814f0abcf7a3323">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">entt::SparseSet&lt; Entity &gt;</a>
</li>
<li>cbegin()
: <a class="el" href="classentt_1_1PersistentView.html#a5a6d810548ae9959047cc1a6249c5aff">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a2550b7ceee635d59bac8eddce6523cf3">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a838fbbbceba139250db0dd186de86506">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ba1127cc520b39c2d147da99000866f">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af38e9a34f90809eae7b2d51882cc2302">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a2cefabdbdd85098f9ac789a47fcc930a">entt::View&lt; Entity, Component &gt;</a>
@@ -75,6 +77,7 @@ $(function() {
<li>cend()
: <a class="el" href="classentt_1_1PersistentView.html#a8ae9798901deacb27827f23b9ab51fe2">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#aedfe14bbc1b65afecc549cc65354575f">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a111c068457853eb5c55845e68fd7b8a6">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aaec7e4e14421c38084ef57b13d40a15d">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae5994b196eca429c708722ba4b720208">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#ab57c0ac7a0bb1487f525757a07a6bd71">entt::View&lt; Entity, Component &gt;</a>
@@ -103,18 +106,19 @@ $(function() {
, <a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html#a1b37a003e4d4edc19f95b1924ef18323">entt::Sink&lt; Ret(Args...)&gt;</a>
</li>
<li>Connection()
: <a class="el" href="structentt_1_1Emitter_1_1Connection.html#a1ccd273683a9fb65a7a4d0c9bf7d0543">entt::Emitter&lt; Derived &gt;::Connection&lt; Event &gt;</a>
: <a class="el" href="structentt_1_1Emitter_1_1Connection.html#a1091537202d401609a73f0ee3fcc9ea6">entt::Emitter&lt; Derived &gt;::Connection&lt; Event &gt;</a>
</li>
<li>const_iterator_type
: <a class="el" href="classentt_1_1PersistentView.html#a260bd2740fb90caf984ce62c26bb887b">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a947d3fd0440167f469331a31b1d8d782">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a81b76e0389ffeb60195a3391c4c5ce3a">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>construct()
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aded5c64ff04ee1a78e7e238208923d58">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#acf06fa56b6b0880d546dd3bc0ddc087f">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>construction()
: <a class="el" href="classentt_1_1Registry.html#a6f6b29268ba11a8526fa3f9d3bdb58e5">entt::Registry&lt; Entity &gt;</a>
@@ -123,14 +127,15 @@ $(function() {
: <a class="el" href="classentt_1_1PersistentView.html#af98a61a6ac04e08b6b46e4163ad3d415">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a67a9d1a75fa1f8e29091f1127c0f3a70">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#aa133ec347db1ee8fab5d757b8b24a185">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a903cb93104fba0816f71f8851c6ff162">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#abbc407e2fecdbcf97c129ade5db185e8">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>ContinuousLoader()
: <a class="el" href="classentt_1_1ContinuousLoader.html#a26ccd96f9ee4219ad7e3d1b8138ade37">entt::ContinuousLoader&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1ContinuousLoader.html#a4ba9abb1659a78f2ba4e12f86da68402">entt::ContinuousLoader&lt; Entity &gt;</a>
</li>
<li>create()
: <a class="el" href="classentt_1_1Prototype.html#a5a659d7582d8fb52c5be59b0a319e2ec">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a10de276e8fc78fe205907c808ddb8d9a">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a433ac3fc8ea49347f691dd4ad1ccb58b">entt::Registry&lt; Entity &gt;</a>
</li>
<li>current()
: <a class="el" href="classentt_1_1Registry.html#a9e79305f5a066bdc2b272181a08b17ac">entt::Registry&lt; Entity &gt;</a>
+7 -2
View File
@@ -79,7 +79,7 @@ $(function() {
: <a class="el" href="classentt_1_1Process.html#aaa304f69a0344fffd3a53daa922284ad">entt::Process&lt; Derived, Delta &gt;</a>
</li>
<li>destroy()
: <a class="el" href="classentt_1_1Registry.html#a197afcc6da68df6eb87575284232a3ff">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a140dfdb699d360b7c0e066ae298aab5e">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7bd15b00eb2ce0e52d3d957673b4dd97">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae763b848ccde63e554f5b3f04b9dcdea">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
@@ -89,7 +89,12 @@ $(function() {
, <a class="el" href="classentt_1_1SnapshotLoader.html#a094ec796643b2c7422533c24e80963f3">entt::SnapshotLoader&lt; Entity &gt;</a>
</li>
<li>destruction()
: <a class="el" href="classentt_1_1Registry.html#aaa38dca5bb6875370d50a923cf52fcfb">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a89df80b61b83bc3c4c3ed6d9324aa8b4">entt::Registry&lt; Entity &gt;</a>
</li>
<li>difference_type
: <a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint16__t_01_4.html#ac16a602de26d43d316b497cb11b7c6b2">entt::entt_traits&lt; std::uint16_t &gt;</a>
, <a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint32__t_01_4.html#a9809b457e16f4a071a91530b23c930d6">entt::entt_traits&lt; std::uint32_t &gt;</a>
, <a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint64__t_01_4.html#afba2f77f80b0bf89a208f6876ab67271">entt::entt_traits&lt; std::uint64_t &gt;</a>
</li>
<li>discard()
: <a class="el" href="classentt_1_1Registry.html#a9289a7c5d8bed1ba59948311f8fcd3f4">entt::Registry&lt; Entity &gt;</a>
+8 -3
View File
@@ -66,6 +66,7 @@ $(function() {
: <a class="el" href="classentt_1_1PersistentView.html#abaf27560862f9b514695e61fa6a8c6e6">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a2f88d86e1ad74bb558df47e7507612b1">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a1d7547f6d8503265480d235fe48dfb1d">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#aa67ccd106835ddc0cc8c10bbdbcdd4e4">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#a85eea1ef9655368de8da355019fbeaa0">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>Emitter
@@ -73,11 +74,13 @@ $(function() {
, <a class="el" href="classentt_1_1Emitter.html#a69aedf4db58a11af9eb6c36859e951c8">entt::Emitter&lt; Derived &gt;</a>
</li>
<li>empty()
: <a class="el" href="classentt_1_1Emitter.html#a4c54c5f15827be561e2912f7e91d1a6f">entt::Emitter&lt; Derived &gt;</a>
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#ab776848ee5ece9b92740d8a2ad0b84a8">entt::Delegate&lt; Ret(Args...)&gt;</a>
, <a class="el" href="classentt_1_1Emitter.html#a4c54c5f15827be561e2912f7e91d1a6f">entt::Emitter&lt; Derived &gt;</a>
, <a class="el" href="classentt_1_1PersistentView.html#a25cf198e023b229190aa6d62852f4d10">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#abf0001549a9555166c532405bd3b647d">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a57193f01b75256867ba34342cd46ec13">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a8735df0baab2fea088e6946e2811e29b">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a03f2f3c02e84ec7f5825fe415c3f1cdb">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#ab08f06a99381e857657b2875e23c90a4">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#aba0da7c946d76561a8694ecf7c5b29e3">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="structentt_1_1ServiceLocator.html#afb0038914d828b6b3483484cc906ec44">entt::ServiceLocator&lt; Service &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a6b35b22faefe41acd8c1426a1bdcd149">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
@@ -85,8 +88,9 @@ $(function() {
, <a class="el" href="classentt_1_1View.html#aee65a80863abccbe3117e60b22695dc4">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>end()
: <a class="el" href="classentt_1_1PersistentView.html#a470ef6edb944f127e26f7e3398cbded1">entt::PersistentView&lt; Entity, Component &gt;</a>
: <a class="el" href="classentt_1_1PersistentView.html#a0e614f77f05085e951e761d8ca967a84">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#ad7ad0559b9b4a440813e1752b0814bb4">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a956957bcafba7391d1008110596d5714">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aa04fe0d91fc40c8982cdfada8664e9b1">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#af0cbc67f83e47cb4cbb3a1a26d7cd263">entt::View&lt; Entity, Component &gt;</a>
@@ -122,6 +126,7 @@ $(function() {
, <a class="el" href="classentt_1_1Prototype.html#ab4542df6834170b6f0d96828d094269d">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a544ee87b4a856cfa5c49ea4581c85a35">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#afe382e2d5c8769fb3d924e1a357cf9b0">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a61be0e712de89d1eb275e14bbc59174e">entt::View&lt; Entity, Component &gt;</a>
+2 -1
View File
@@ -65,7 +65,8 @@ $(function() {
<li>begin()
: <a class="el" href="classentt_1_1PersistentView.html#af1469f9dd45ebc68729e88e741c465a4">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a564cc60d60b8d80aefca967eea79031f">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6b33b62684d62255ca53a371cfbe1d28">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#af1fb74dd84e6ffd0f8626b8f0f55af91">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aebd9c479dc54907cf42a4423f34edeb2">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aef10db6199e31f72c14c4be9347b0822">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a7c59406241bd142289a0d618a33f98d3">entt::View&lt; Entity, Component &gt;</a>
</li>
+8 -4
View File
@@ -63,11 +63,13 @@ $(function() {
<h3><a id="index_c"></a>- c -</h3><ul>
<li>capacity()
: <a class="el" href="classentt_1_1Registry.html#aefe4ec26db45257de26da19147a9e3f3">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a38e5391f9c1b4a8ea814f0abcf7a3323">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#affd4ddc4bc12517d84772a40b0d992d5">entt::SparseSet&lt; Entity &gt;</a>
</li>
<li>cbegin()
: <a class="el" href="classentt_1_1PersistentView.html#a5a6d810548ae9959047cc1a6249c5aff">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a2550b7ceee635d59bac8eddce6523cf3">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a838fbbbceba139250db0dd186de86506">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ba1127cc520b39c2d147da99000866f">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#af38e9a34f90809eae7b2d51882cc2302">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a2cefabdbdd85098f9ac789a47fcc930a">entt::View&lt; Entity, Component &gt;</a>
@@ -75,6 +77,7 @@ $(function() {
<li>cend()
: <a class="el" href="classentt_1_1PersistentView.html#a8ae9798901deacb27827f23b9ab51fe2">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#aedfe14bbc1b65afecc549cc65354575f">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a111c068457853eb5c55845e68fd7b8a6">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aaec7e4e14421c38084ef57b13d40a15d">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae5994b196eca429c708722ba4b720208">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#ab57c0ac7a0bb1487f525757a07a6bd71">entt::View&lt; Entity, Component &gt;</a>
@@ -101,7 +104,7 @@ $(function() {
</li>
<li>construct()
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a47dad39fa63ac4be07dcd9234c8a57c7">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#acf06fa56b6b0880d546dd3bc0ddc087f">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aded5c64ff04ee1a78e7e238208923d58">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>construction()
: <a class="el" href="classentt_1_1Registry.html#af43b25946f4cbdec633df25317edc020">entt::Registry&lt; Entity &gt;</a>
@@ -110,14 +113,15 @@ $(function() {
: <a class="el" href="classentt_1_1PersistentView.html#af98a61a6ac04e08b6b46e4163ad3d415">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a67a9d1a75fa1f8e29091f1127c0f3a70">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#aa133ec347db1ee8fab5d757b8b24a185">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a903cb93104fba0816f71f8851c6ff162">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#abbc407e2fecdbcf97c129ade5db185e8">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>ContinuousLoader()
: <a class="el" href="classentt_1_1ContinuousLoader.html#a26ccd96f9ee4219ad7e3d1b8138ade37">entt::ContinuousLoader&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1ContinuousLoader.html#a4d7cdac6b296eedb3dffd7ad0f182e3a">entt::ContinuousLoader&lt; Entity &gt;</a>
</li>
<li>create()
: <a class="el" href="classentt_1_1Prototype.html#a434b43ae5f761093a0c9e74da0802523">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a10de276e8fc78fe205907c808ddb8d9a">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a433ac3fc8ea49347f691dd4ad1ccb58b">entt::Registry&lt; Entity &gt;</a>
</li>
<li>current()
: <a class="el" href="classentt_1_1Registry.html#a9e79305f5a066bdc2b272181a08b17ac">entt::Registry&lt; Entity &gt;</a>
+2 -2
View File
@@ -76,7 +76,7 @@ $(function() {
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a57a011f4b42c3358ee5219f63997e00b">entt::Delegate&lt; Ret(Args...)&gt;</a>
</li>
<li>destroy()
: <a class="el" href="classentt_1_1Registry.html#a197afcc6da68df6eb87575284232a3ff">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a140dfdb699d360b7c0e066ae298aab5e">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7bd15b00eb2ce0e52d3d957673b4dd97">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ae763b848ccde63e554f5b3f04b9dcdea">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
@@ -93,7 +93,7 @@ $(function() {
, <a class="el" href="classentt_1_1ResourceCache.html#a771ee2c8c203eb018731e7914afbe5fa">entt::ResourceCache&lt; Resource &gt;</a>
</li>
<li>disconnect()
: <a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html#af537cc1833d4c5dbc5216f7c70440539">entt::Sink&lt; Ret(Args...)&gt;</a>
: <a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html#a3ecbd44accc33e5eb2d9e1920c347f5a">entt::Sink&lt; Ret(Args...)&gt;</a>
</li>
</ul>
</div><!-- contents -->
+9 -5
View File
@@ -66,17 +66,20 @@ $(function() {
: <a class="el" href="classentt_1_1PersistentView.html#abaf27560862f9b514695e61fa6a8c6e6">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a2f88d86e1ad74bb558df47e7507612b1">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a1d7547f6d8503265480d235fe48dfb1d">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#aa67ccd106835ddc0cc8c10bbdbcdd4e4">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#a85eea1ef9655368de8da355019fbeaa0">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>Emitter()
: <a class="el" href="classentt_1_1Emitter.html#a69aedf4db58a11af9eb6c36859e951c8">entt::Emitter&lt; Derived &gt;</a>
</li>
<li>empty()
: <a class="el" href="classentt_1_1Emitter.html#a4c54c5f15827be561e2912f7e91d1a6f">entt::Emitter&lt; Derived &gt;</a>
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#ab776848ee5ece9b92740d8a2ad0b84a8">entt::Delegate&lt; Ret(Args...)&gt;</a>
, <a class="el" href="classentt_1_1Emitter.html#a4c54c5f15827be561e2912f7e91d1a6f">entt::Emitter&lt; Derived &gt;</a>
, <a class="el" href="classentt_1_1PersistentView.html#a25cf198e023b229190aa6d62852f4d10">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#abf0001549a9555166c532405bd3b647d">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a57193f01b75256867ba34342cd46ec13">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a03f2f3c02e84ec7f5825fe415c3f1cdb">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#ab08f06a99381e857657b2875e23c90a4">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#aba0da7c946d76561a8694ecf7c5b29e3">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="structentt_1_1ServiceLocator.html#afb0038914d828b6b3483484cc906ec44">entt::ServiceLocator&lt; Service &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a6b35b22faefe41acd8c1426a1bdcd149">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
@@ -84,11 +87,12 @@ $(function() {
, <a class="el" href="classentt_1_1View.html#aee65a80863abccbe3117e60b22695dc4">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>end()
: <a class="el" href="classentt_1_1PersistentView.html#a470ef6edb944f127e26f7e3398cbded1">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#ad7ad0559b9b4a440813e1752b0814bb4">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a14720d48f6d553a06813379ee6d7092f">entt::SparseSet&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1PersistentView.html#a0e614f77f05085e951e761d8ca967a84">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a8ebfe24e5a5e428b429f470755d0a1f7">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#afc2af975c32c247e0c333d4e49c0208c">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a956957bcafba7391d1008110596d5714">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a43b4c3d129ab2b6559154f8db037bfd5">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#af0cbc67f83e47cb4cbb3a1a26d7cd263">entt::View&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1View.html#a34bca7c2c996fe26e150c0a7a2dbb69d">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>enqueue()
: <a class="el" href="classentt_1_1Dispatcher.html#a431743aa289ce022f7ee87cd7fb3eedf">entt::Dispatcher</a>
+5 -4
View File
@@ -64,14 +64,15 @@ $(function() {
<h3><a id="index_g"></a>- g -</h3><ul>
<li>get()
: <a class="el" href="structentt_1_1Actor.html#ae6a07d30d0aca366d5b1eb3e839e36bc">entt::Actor&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Identifier.html#aed05b85b75f2b0646e007f156e43ca6a">entt::Identifier&lt; Types &gt;</a>
, <a class="el" href="classentt_1_1PersistentView.html#a51452939486c5e98036b60838f69a32d">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Prototype.html#a35fcf29a4c01caa611cffa9f73cbe535">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Prototype.html#ae52596223d2a61e52c41979b1e76d68f">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a2079fb67093feb86b75e9dede6bb6c4d">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceHandle.html#a32e791c4556d040273643ca5f42755a9">entt::ResourceHandle&lt; Resource &gt;</a>
, <a class="el" href="structentt_1_1ServiceLocator.html#a87a0d27f2ce4ac8a94229e32853503ca">entt::ServiceLocator&lt; Service &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a15ae580507381985e2bf3e4098d71f6c">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a00ef6f3c6da43a1ef864a5252bc9b0a6">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a9fb10d57d05afa48c0f25ea0b475c81f">entt::View&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa7893474e3b47da7c2568a0dc4ab4bcf">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ab0a6f42129ec08ab607545712e67ce92">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#ac5b199f031c48da2393eb56fea35b83e">entt::View&lt; Entity, Component &gt;</a>
</li>
</ul>
</div><!-- contents -->
+1 -1
View File
@@ -66,7 +66,7 @@ $(function() {
: <a class="el" href="classentt_1_1ContinuousLoader.html#a63d6f733d8651a19b7ea882f3615455c">entt::ContinuousLoader&lt; Entity &gt;</a>
</li>
<li>move()
: <a class="el" href="classentt_1_1Registry.html#ae3592a627bf35b12d51ddd0876ca6896">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a459073e0dfdb4f21519792717f688173">entt::Registry&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+20 -8
View File
@@ -80,11 +80,14 @@ $(function() {
<li>operator hash_type()
: <a class="el" href="classentt_1_1HashedString.html#a47843deb0d550b5a6e1129a9b913d85f">entt::HashedString</a>
</li>
<li>operator Type()
: <a class="el" href="structentt_1_1Monostate.html#ae16dec68153e1cf761d8c2379c4e3e8c">entt::Monostate&lt; hash_type &gt;</a>
</li>
<li>operator()()
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a3259f295bc4ea1da8307d1be65c83d6a">entt::Delegate&lt; Ret(Args...)&gt;</a>
, <a class="el" href="structentt_1_1InsertionSort.html#a53f94456eb885d9a02344b33b39f8815">entt::InsertionSort</a>
, <a class="el" href="classentt_1_1Prototype.html#ac7cb69aad2015e94f3a0a9ad42b82f1b">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="structentt_1_1StdSort.html#a9a7a40458a3999618dd95d70de024331">entt::StdSort</a>
, <a class="el" href="structentt_1_1StdSort.html#a3363910b5a138b20f96d8a967a7bbd8b">entt::StdSort</a>
</li>
<li>operator*()
: <a class="el" href="classentt_1_1ResourceHandle.html#a737a5c2e623d30f372ba4876fe3d0fd3">entt::ResourceHandle&lt; Resource &gt;</a>
@@ -96,21 +99,30 @@ $(function() {
: <a class="el" href="structentt_1_1Actor.html#af65a5bd2973d27a9adb1a62b746111fe">entt::Actor&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ContinuousLoader.html#add60e853e8b948f8f3c9f5c73207cb2a">entt::ContinuousLoader&lt; Entity &gt;</a>
, <a class="el" href="structentt_1_1Emitter_1_1Connection.html#aa1dba0de2aaa8426f4b42e6c52aa80ea">entt::Emitter&lt; Derived &gt;::Connection&lt; Event &gt;</a>
, <a class="el" href="classentt_1_1Emitter.html#ace3403fe310953f720dbddff016fe715">entt::Emitter&lt; Derived &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#ade7432a219317a6912553feb2971188b">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#abe56c919c4a2606f87d7d8351261a0e8">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1Emitter.html#a8d06e737c14bf6be779135529424ca64">entt::Emitter&lt; Derived &gt;</a>
, <a class="el" href="structentt_1_1Monostate.html#a9e94509f038e4a634ce776cdc23548cf">entt::Monostate&lt; hash_type &gt;</a>
, <a class="el" href="classentt_1_1Prototype.html#a9faf0b8878925090431a9e6acaed06c5">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a6ff250745f1774984a9524d63855f26d">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a18ddc0a0bae71d8124d775d9ddebc550">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1ResourceHandle.html#a017670d5037cf65ea0b81b5c094004ac">entt::ResourceHandle&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a929ec57792af25f0552f25ad445c7731">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a66fa731504da02dfaa607e1c3f153120">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1Snapshot.html#a3375f7d701d086fc21e04e6077c954fc">entt::Snapshot&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SnapshotLoader.html#ad1f8a300b9c5ccf0598cd90ab0e0062f">entt::SnapshotLoader&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a24ddfc9e45d7b70639124fe7c2800384">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a52a81e838ae87413116ab9165ab9ba86">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1SnapshotLoader.html#a69ed990a8a614e5a1cb90960c216784b">entt::SnapshotLoader&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a34ffc79377cef381ef5af2e75d61cf4d">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#aa700bb907a18470dce144f84822c67ae">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>operator==()
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a7fd87003864d2a56baa7d2c8a9317509">entt::Delegate&lt; Ret(Args...)&gt;</a>
, <a class="el" href="classentt_1_1HashedString.html#aa5ca9b72d2fa65f2a4796a4ffae00c11">entt::HashedString</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#acd0e64abe3b6d879a27ced38fe50aa4b">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
</li>
<li>operator[]()
: <a class="el" href="classentt_1_1PersistentView.html#a7edc6f5cbd49d978469d9384b9aca6b3">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#ac85aa3a824640eeeb45f9d1eaaaeea8d">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a2de3b3dc887e30616c37dd1dbc3de46b">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a073eb76e982c1031ef0b69118764faab">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a6094dd00422b07f0a9523699b9bf77aa">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>orphan()
: <a class="el" href="classentt_1_1Registry.html#a3b4a5341ac0ef79fd2477753e857a9cb">entt::Registry&lt; Entity &gt;</a>
</li>
+1 -1
View File
@@ -75,7 +75,7 @@ $(function() {
: <a class="el" href="structentt_1_1ProcessAdaptor.html#a16a0964a81c537fe16b937696e47358b">entt::ProcessAdaptor&lt; Func, Delta &gt;</a>
</li>
<li>Prototype()
: <a class="el" href="classentt_1_1Prototype.html#aa6033be234aad4d287d740c40db17fec">entt::Prototype&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Prototype.html#ad4900c4a27f506b5d2b9db54aba9d224">entt::Prototype&lt; Entity &gt;</a>
</li>
<li>publish()
: <a class="el" href="classentt_1_1Emitter.html#ab5141fd9793f53ef83af47c8c8a74b0e">entt::Emitter&lt; Derived &gt;</a>
+1 -1
View File
@@ -113,7 +113,7 @@ $(function() {
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a605545f8f99a7bb1f92d1dfc3ed438f3">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>restore()
: <a class="el" href="classentt_1_1Registry.html#a925e91c4f1904d5104a0c5e9e9f70223">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a37b755b43c7067658d2b4129baa403cf">entt::Registry&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+8 -7
View File
@@ -77,41 +77,42 @@ $(function() {
</li>
<li>sink()
: <a class="el" href="classentt_1_1Dispatcher.html#a091aa6ab261f34eee355c2b7180f709b">entt::Dispatcher</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aa525ade53e40ebc5fbee9c8704d555ce">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a20b7fde8e36650f0e4cd31bd54ac1fc7">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
</li>
<li>size()
: <a class="el" href="classentt_1_1PersistentView.html#ad6b816b2acc684733d79ac680005f8da">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a56cd44cbd4cf15fcaacdcfd9e2b0f710">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a88d7621801898d0a551cfd98b29a7cd0">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a1fb9767a303a85f09497751a7d70623f">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a1532f09ceaac574965c9190554c74f55">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a59aea2fac213df785278870474a3abb5">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a5f0c4724d805b4ecdd30045a13ed93ec">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6dc502e9af33ac00af110e5eb8414bc1">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#a2244b847c1e148f901ea3b83ec2d6703">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>snapshot()
: <a class="el" href="classentt_1_1Registry.html#a69bdf0c5645f2049e8dee9e0c4de53ca">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a00a0b4949a4cc0cb87e88cc6d1171a9d">entt::Registry&lt; Entity &gt;</a>
</li>
<li>Snapshot()
: <a class="el" href="classentt_1_1Snapshot.html#a80f9a56ce8667a5d9947cdaac686fd8d">entt::Snapshot&lt; Entity &gt;</a>
</li>
<li>SnapshotLoader()
: <a class="el" href="classentt_1_1SnapshotLoader.html#ad20cadc8bb3699629cb3ae54bf07b39a">entt::SnapshotLoader&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1SnapshotLoader.html#a7cc32b25447bf6d13ac36a814e446f4c">entt::SnapshotLoader&lt; Entity &gt;</a>
</li>
<li>sort()
: <a class="el" href="classentt_1_1PersistentView.html#accde3d4b4a904e79c832f6b05f324b05">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#af97db8232b2b26604adb5f10ded70f11">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a0bb1bb7e7660c279558e94efd917b7db">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#acb72e05f3128b6604b438707eabdfa4a">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a8d2f225354c91f10b427e02dc211d24f">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>SparseSet()
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa4ad5318f2be78e8e4336bdf4b012905">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a80cd93fb003c8edd8583fb679464a36e">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a11cbb29701b5a1b1a6e4b77d19d29cec">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>succeed()
: <a class="el" href="classentt_1_1Process.html#ae90a29bf2afabf6a14aec0e1d3809a0f">entt::Process&lt; Derived, Delta &gt;</a>
</li>
<li>swap()
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">entt::SparseSet&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">entt::SparseSet&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+1 -1
View File
@@ -69,7 +69,7 @@ $(function() {
: <a class="el" href="classentt_1_1Registry.html#ad7467ac1c8a7657062b1b4386dded54e">entt::Registry&lt; Entity &gt;</a>
</li>
<li>view()
: <a class="el" href="classentt_1_1Registry.html#abb1eb5f1a2ec31d14b5b98271ff78f1e">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#aedc2a2344c5d13a0483608d48189a92a">entt::Registry&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+5 -4
View File
@@ -64,14 +64,15 @@ $(function() {
<h3><a id="index_g"></a>- g -</h3><ul>
<li>get()
: <a class="el" href="structentt_1_1Actor.html#ae6a07d30d0aca366d5b1eb3e839e36bc">entt::Actor&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Identifier.html#aed05b85b75f2b0646e007f156e43ca6a">entt::Identifier&lt; Types &gt;</a>
, <a class="el" href="classentt_1_1PersistentView.html#a51452939486c5e98036b60838f69a32d">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Prototype.html#a35fcf29a4c01caa611cffa9f73cbe535">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Prototype.html#ae52596223d2a61e52c41979b1e76d68f">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a2079fb67093feb86b75e9dede6bb6c4d">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceHandle.html#a32e791c4556d040273643ca5f42755a9">entt::ResourceHandle&lt; Resource &gt;</a>
, <a class="el" href="structentt_1_1ServiceLocator.html#a87a0d27f2ce4ac8a94229e32853503ca">entt::ServiceLocator&lt; Service &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a15ae580507381985e2bf3e4098d71f6c">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a00ef6f3c6da43a1ef864a5252bc9b0a6">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a9fb10d57d05afa48c0f25ea0b475c81f">entt::View&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa7893474e3b47da7c2568a0dc4ab4bcf">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ab0a6f42129ec08ab607545712e67ce92">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#ac5b199f031c48da2393eb56fea35b83e">entt::View&lt; Entity, Component &gt;</a>
</li>
</ul>
</div><!-- contents -->
+4
View File
@@ -62,12 +62,16 @@ $(function() {
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
<h3><a id="index_i"></a>- i -</h3><ul>
<li>identifier_type
: <a class="el" href="classentt_1_1Identifier.html#a80c4fd9773928949e788790fac671169">entt::Identifier&lt; Types &gt;</a>
</li>
<li>instance_type
: <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aad306ac41adf5562740f5528bed80014">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
</li>
<li>iterator_type
: <a class="el" href="classentt_1_1PersistentView.html#ae563ed31a62fd9f33f93767f0ecdfff5">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#ab34740dea79327742888e84ba5c14328">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a7ff4726f5e0ae6698cb8e3f039289b52">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a738fb04a466b1f858a1eb5d7bc8fd668">entt::View&lt; Entity, Component &gt;</a>
+1 -1
View File
@@ -66,7 +66,7 @@ $(function() {
: <a class="el" href="classentt_1_1ContinuousLoader.html#a63d6f733d8651a19b7ea882f3615455c">entt::ContinuousLoader&lt; Entity &gt;</a>
</li>
<li>move()
: <a class="el" href="classentt_1_1Registry.html#ae3592a627bf35b12d51ddd0876ca6896">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a459073e0dfdb4f21519792717f688173">entt::Registry&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+16 -4
View File
@@ -83,11 +83,14 @@ $(function() {
<li>operator hash_type()
: <a class="el" href="classentt_1_1HashedString.html#a47843deb0d550b5a6e1129a9b913d85f">entt::HashedString</a>
</li>
<li>operator Type()
: <a class="el" href="structentt_1_1Monostate.html#ae16dec68153e1cf761d8c2379c4e3e8c">entt::Monostate&lt; hash_type &gt;</a>
</li>
<li>operator()()
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a3259f295bc4ea1da8307d1be65c83d6a">entt::Delegate&lt; Ret(Args...)&gt;</a>
, <a class="el" href="structentt_1_1InsertionSort.html#a53f94456eb885d9a02344b33b39f8815">entt::InsertionSort</a>
, <a class="el" href="classentt_1_1Prototype.html#ac7cb69aad2015e94f3a0a9ad42b82f1b">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="structentt_1_1StdSort.html#a9a7a40458a3999618dd95d70de024331">entt::StdSort</a>
, <a class="el" href="structentt_1_1StdSort.html#a3363910b5a138b20f96d8a967a7bbd8b">entt::StdSort</a>
</li>
<li>operator*()
: <a class="el" href="classentt_1_1ResourceHandle.html#a737a5c2e623d30f372ba4876fe3d0fd3">entt::ResourceHandle&lt; Resource &gt;</a>
@@ -100,13 +103,15 @@ $(function() {
, <a class="el" href="classentt_1_1ContinuousLoader.html#add60e853e8b948f8f3c9f5c73207cb2a">entt::ContinuousLoader&lt; Entity &gt;</a>
, <a class="el" href="structentt_1_1Emitter_1_1Connection.html#aa1dba0de2aaa8426f4b42e6c52aa80ea">entt::Emitter&lt; Derived &gt;::Connection&lt; Event &gt;</a>
, <a class="el" href="classentt_1_1Emitter.html#ace3403fe310953f720dbddff016fe715">entt::Emitter&lt; Derived &gt;</a>
, <a class="el" href="structentt_1_1Monostate.html#a9e94509f038e4a634ce776cdc23548cf">entt::Monostate&lt; hash_type &gt;</a>
, <a class="el" href="classentt_1_1Prototype.html#a65529171240b1b7c348445c7ba4f319e">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a6ff250745f1774984a9524d63855f26d">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#abe56c919c4a2606f87d7d8351261a0e8">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1ResourceHandle.html#a017670d5037cf65ea0b81b5c094004ac">entt::ResourceHandle&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a929ec57792af25f0552f25ad445c7731">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1ResourceHandle.html#a5c6a854be6eca84bd76d8e05f05f657b">entt::ResourceHandle&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a66fa731504da02dfaa607e1c3f153120">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1Snapshot.html#a3375f7d701d086fc21e04e6077c954fc">entt::Snapshot&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SnapshotLoader.html#ad1f8a300b9c5ccf0598cd90ab0e0062f">entt::SnapshotLoader&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a34ffc79377cef381ef5af2e75d61cf4d">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a24ddfc9e45d7b70639124fe7c2800384">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a52a81e838ae87413116ab9165ab9ba86">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>operator==()
@@ -114,6 +119,13 @@ $(function() {
, <a class="el" href="classentt_1_1HashedString.html#aa5ca9b72d2fa65f2a4796a4ffae00c11">entt::HashedString</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#acd0e64abe3b6d879a27ced38fe50aa4b">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
</li>
<li>operator[]()
: <a class="el" href="classentt_1_1PersistentView.html#a7edc6f5cbd49d978469d9384b9aca6b3">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a6a8855ebc61f5ea5f4c676173e92cfcc">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a2de3b3dc887e30616c37dd1dbc3de46b">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a073eb76e982c1031ef0b69118764faab">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html#a6094dd00422b07f0a9523699b9bf77aa">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>orphan()
: <a class="el" href="classentt_1_1Registry.html#a3b4a5341ac0ef79fd2477753e857a9cb">entt::Registry&lt; Entity &gt;</a>
</li>
+1 -5
View File
@@ -68,10 +68,6 @@ $(function() {
<li>paused()
: <a class="el" href="classentt_1_1Process.html#a3e320da0927d9ac83dc829d0aee8a310">entt::Process&lt; Derived, Delta &gt;</a>
</li>
<li>pos_type
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ad161a395ca3979154a333520662c7737">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>prepare()
: <a class="el" href="classentt_1_1Registry.html#ac05c9ccc5fe57df386d8104578fc9675">entt::Registry&lt; Entity &gt;</a>
</li>
@@ -79,7 +75,7 @@ $(function() {
: <a class="el" href="structentt_1_1ProcessAdaptor.html#a16a0964a81c537fe16b937696e47358b">entt::ProcessAdaptor&lt; Func, Delta &gt;</a>
</li>
<li>Prototype()
: <a class="el" href="classentt_1_1Prototype.html#aa6033be234aad4d287d740c40db17fec">entt::Prototype&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Prototype.html#ad4900c4a27f506b5d2b9db54aba9d224">entt::Prototype&lt; Entity &gt;</a>
</li>
<li>publish()
: <a class="el" href="classentt_1_1Emitter.html#ab5141fd9793f53ef83af47c8c8a74b0e">entt::Emitter&lt; Derived &gt;</a>
+7 -6
View File
@@ -84,6 +84,7 @@ $(function() {
<li>Registry&lt; Entity &gt;
: <a class="el" href="classentt_1_1PersistentView.html#a200646cfe88496da691aab5f61c0fa69">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a200646cfe88496da691aab5f61c0fa69">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a200646cfe88496da691aab5f61c0fa69">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Snapshot.html#a200646cfe88496da691aab5f61c0fa69">entt::Snapshot&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SnapshotLoader.html#a200646cfe88496da691aab5f61c0fa69">entt::SnapshotLoader&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#a200646cfe88496da691aab5f61c0fa69">entt::View&lt; Entity, Component &gt;</a>
@@ -100,10 +101,10 @@ $(function() {
</li>
<li>remove()
: <a class="el" href="structentt_1_1Actor.html#a4c805918eeb0f01c86529a3c9b4e9b13">entt::Actor&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a957bcbdbf082f9767e5474a73be6ece4">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a113ff63724bdb90344984d5dd16995f2">entt::Registry&lt; Entity &gt;</a>
</li>
<li>replace()
: <a class="el" href="classentt_1_1Registry.html#a2482e363a9b4ff9b6a4a0e1385c7b6e1">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a39b071aa110b8ea38fb71ca471d371b5">entt::Registry&lt; Entity &gt;</a>
</li>
<li>reserve()
: <a class="el" href="classentt_1_1Registry.html#a6d57a57e13ca236a215e332b94852147">entt::Registry&lt; Entity &gt;</a>
@@ -112,7 +113,7 @@ $(function() {
</li>
<li>reset()
: <a class="el" href="classentt_1_1Delegate_3_01Ret_07Args_8_8_8_08_4.html#a77c5b9a98a0636391955de940dad0b4f">entt::Delegate&lt; Ret(Args...)&gt;</a>
, <a class="el" href="classentt_1_1Registry.html#af406e83980abc792905ff4a0626b3d02">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a613333e0a4acb227d08938ccc594e064">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="structentt_1_1ServiceLocator.html#ac52892a5692c15c8b230a5020adb0847">entt::ServiceLocator&lt; Service &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ad1c62c65aeb0112e688f05d8f641cdab">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a3b138c121f11592a3f9e9f2fc2bb67fe">entt::SparseSet&lt; Entity, Type &gt;</a>
@@ -121,21 +122,21 @@ $(function() {
: <a class="el" href="classentt_1_1ResourceCache.html#a4936da93a62827d8c5fc04ac444e5456">entt::ResourceCache&lt; Resource &gt;</a>
</li>
<li>ResourceCache()
: <a class="el" href="classentt_1_1ResourceCache.html#a4dbd37c3c1a703b684b6122a59a0b3a7">entt::ResourceCache&lt; Resource &gt;</a>
: <a class="el" href="classentt_1_1ResourceCache.html#aaeb4613b842a5d0861585e024af0a41d">entt::ResourceCache&lt; Resource &gt;</a>
</li>
<li>ResourceCache&lt; Resource &gt;
: <a class="el" href="classentt_1_1ResourceHandle.html#a302c9d1bd54cf8e7e958d5e505773b23">entt::ResourceHandle&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1ResourceLoader.html#a302c9d1bd54cf8e7e958d5e505773b23">entt::ResourceLoader&lt; Loader, Resource &gt;</a>
</li>
<li>ResourceHandle()
: <a class="el" href="classentt_1_1ResourceHandle.html#a4d5c929ea7f0bd8860d7188aa6fb76a8">entt::ResourceHandle&lt; Resource &gt;</a>
: <a class="el" href="classentt_1_1ResourceHandle.html#a7b267f802e92b57dcc750f824fd5e3df">entt::ResourceHandle&lt; Resource &gt;</a>
</li>
<li>respect()
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a17422401f952b58be5113ff88e302c0e">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a605545f8f99a7bb1f92d1dfc3ed438f3">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>restore()
: <a class="el" href="classentt_1_1Registry.html#a925e91c4f1904d5104a0c5e9e9f70223">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a37b755b43c7067658d2b4129baa403cf">entt::Registry&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+1
View File
@@ -66,6 +66,7 @@ $(function() {
<li>Registry&lt; Entity &gt;
: <a class="el" href="classentt_1_1PersistentView.html#a200646cfe88496da691aab5f61c0fa69">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a200646cfe88496da691aab5f61c0fa69">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a200646cfe88496da691aab5f61c0fa69">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Snapshot.html#a200646cfe88496da691aab5f61c0fa69">entt::Snapshot&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SnapshotLoader.html#a200646cfe88496da691aab5f61c0fa69">entt::SnapshotLoader&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1View.html#a200646cfe88496da691aab5f61c0fa69">entt::View&lt; Entity, Component &gt;</a>
+9 -7
View File
@@ -83,7 +83,7 @@ $(function() {
</li>
<li>sink()
: <a class="el" href="classentt_1_1Dispatcher.html#a091aa6ab261f34eee355c2b7180f709b">entt::Dispatcher</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aa525ade53e40ebc5fbee9c8704d555ce">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a20b7fde8e36650f0e4cd31bd54ac1fc7">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
</li>
<li>sink_type
: <a class="el" href="classentt_1_1Dispatcher.html#a3b34b8591cdd82022dba3c542054fe68">entt::Dispatcher</a>
@@ -95,6 +95,7 @@ $(function() {
, <a class="el" href="classentt_1_1RawView.html#a56cd44cbd4cf15fcaacdcfd9e2b0f710">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a88d7621801898d0a551cfd98b29a7cd0">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a1fb9767a303a85f09497751a7d70623f">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a1532f09ceaac574965c9190554c74f55">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a59aea2fac213df785278870474a3abb5">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a5f0c4724d805b4ecdd30045a13ed93ec">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a6dc502e9af33ac00af110e5eb8414bc1">entt::SparseSet&lt; Entity &gt;</a>
@@ -106,6 +107,7 @@ $(function() {
, <a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a439daf6009e24ae40b1d7689c60ead48">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a64ed96d1933ffff0e76f96a0cb38428e">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a2d76dbf324cf960ac8f2fc6d87d40eba">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a7635c4c773fee73faf6eddda2d4abb87">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">entt::SparseSet&lt; Entity &gt;</a>
@@ -113,7 +115,7 @@ $(function() {
, <a class="el" href="classentt_1_1View.html#ab3f86ec55935bbbb00077bbe07f15c4b">entt::View&lt; Entity, Component &gt;</a>
</li>
<li>snapshot()
: <a class="el" href="classentt_1_1Registry.html#a69bdf0c5645f2049e8dee9e0c4de53ca">entt::Registry&lt; Entity &gt;</a>
: <a class="el" href="classentt_1_1Registry.html#a00a0b4949a4cc0cb87e88cc6d1171a9d">entt::Registry&lt; Entity &gt;</a>
</li>
<li>Snapshot()
: <a class="el" href="classentt_1_1Snapshot.html#a3682df1db11f032bfa9ead93c0cec479">entt::Snapshot&lt; Entity &gt;</a>
@@ -123,19 +125,19 @@ $(function() {
</li>
<li>sort()
: <a class="el" href="classentt_1_1PersistentView.html#accde3d4b4a904e79c832f6b05f324b05">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#af97db8232b2b26604adb5f10ded70f11">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a0bb1bb7e7660c279558e94efd917b7db">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#acb72e05f3128b6604b438707eabdfa4a">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a8d2f225354c91f10b427e02dc211d24f">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>SparseSet()
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aa4ad5318f2be78e8e4336bdf4b012905">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a11cbb29701b5a1b1a6e4b77d19d29cec">entt::SparseSet&lt; Entity, Type &gt;</a>
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#acdfceb557303dee515fe906a13ac759e">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a52d68a9763bed211729df965cb7ab859">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
<li>succeed()
: <a class="el" href="classentt_1_1Process.html#ae90a29bf2afabf6a14aec0e1d3809a0f">entt::Process&lt; Derived, Delta &gt;</a>
</li>
<li>swap
: <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a77dd7bf9e63e5457c080416f31bb232b">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a271e5e6736388ca8bf350187da2a0d8f">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ace9db01fbfd9f1b8afa4a6f43d42390e">entt::SparseSet&lt; Entity &gt;</a>
</li>
</ul>
</div><!-- contents -->
+12 -8
View File
@@ -71,6 +71,7 @@ $(function() {
<li>const_iterator_type
: <a class="el" href="classentt_1_1PersistentView.html#a260bd2740fb90caf984ce62c26bb887b">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a5fa9cd28fb18ccfe01fd0eb3ea6e3dc7">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#acf976983924a5e0194a19a9b98fdc249">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#aba42055f0c8a43cae63d443a17f6a5e2">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a947d3fd0440167f469331a31b1d8d782">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a81b76e0389ffeb60195a3391c4c5ce3a">entt::View&lt; Entity, Component &gt;</a>
@@ -82,6 +83,11 @@ $(function() {
<li>delta_type
: <a class="el" href="classentt_1_1Process.html#aaa304f69a0344fffd3a53daa922284ad">entt::Process&lt; Derived, Delta &gt;</a>
</li>
<li>difference_type
: <a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint16__t_01_4.html#ac16a602de26d43d316b497cb11b7c6b2">entt::entt_traits&lt; std::uint16_t &gt;</a>
, <a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint32__t_01_4.html#a9809b457e16f4a071a91530b23c930d6">entt::entt_traits&lt; std::uint32_t &gt;</a>
, <a class="el" href="structentt_1_1entt__traits_3_01std_1_1uint64__t_01_4.html#afba2f77f80b0bf89a208f6876ab67271">entt::entt_traits&lt; std::uint64_t &gt;</a>
</li>
</ul>
@@ -96,6 +102,7 @@ $(function() {
, <a class="el" href="classentt_1_1Prototype.html#ab4542df6834170b6f0d96828d094269d">entt::Prototype&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#a544ee87b4a856cfa5c49ea4581c85a35">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#ad5b5d664d388179dc164814e6268a774">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a7d36e852257a965a9a0ed3fb636433e2">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#afe382e2d5c8769fb3d924e1a357cf9b0">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a61be0e712de89d1eb275e14bbc59174e">entt::View&lt; Entity, Component &gt;</a>
@@ -118,12 +125,16 @@ $(function() {
<h3><a id="index_i"></a>- i -</h3><ul>
<li>identifier_type
: <a class="el" href="classentt_1_1Identifier.html#a80c4fd9773928949e788790fac671169">entt::Identifier&lt; Types &gt;</a>
</li>
<li>instance_type
: <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#aad306ac41adf5562740f5528bed80014">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
</li>
<li>iterator_type
: <a class="el" href="classentt_1_1PersistentView.html#ae563ed31a62fd9f33f93767f0ecdfff5">entt::PersistentView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RawView.html#ab34740dea79327742888e84ba5c14328">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a59c6645fb86e079986d04887aa7c74e1">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a1ad77aed1e49af60b61044c996969b9a">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#a7ff4726f5e0ae6698cb8e3f039289b52">entt::SparseSet&lt; Entity, Type &gt;</a>
, <a class="el" href="classentt_1_1View.html#a738fb04a466b1f858a1eb5d7bc8fd668">entt::View&lt; Entity, Component &gt;</a>
@@ -145,14 +156,6 @@ $(function() {
</ul>
<h3><a id="index_p"></a>- p -</h3><ul>
<li>pos_type
: <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#a20c218a69cf339371251ffa5580d7aa0">entt::SparseSet&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html#ad161a395ca3979154a333520662c7737">entt::SparseSet&lt; Entity, Type &gt;</a>
</li>
</ul>
<h3><a id="index_r"></a>- r -</h3><ul>
<li>raw_type
: <a class="el" href="classentt_1_1RawView.html#a6a6e2cd0387a63e153a18bd60a1283a3">entt::RawView&lt; Entity, Component &gt;</a>
@@ -183,6 +186,7 @@ $(function() {
, <a class="el" href="classentt_1_1RawView.html#afc530c9c64688b522ac643fdb5a0bb6e">entt::RawView&lt; Entity, Component &gt;</a>
, <a class="el" href="classentt_1_1Registry.html#a741ffda6e06838c5593ba97adc7658e2">entt::Registry&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1ResourceCache.html#a439daf6009e24ae40b1d7689c60ead48">entt::ResourceCache&lt; Resource &gt;</a>
, <a class="el" href="classentt_1_1RuntimeView.html#a64ed96d1933ffff0e76f96a0cb38428e">entt::RuntimeView&lt; Entity &gt;</a>
, <a class="el" href="classentt_1_1Scheduler.html#a2d76dbf324cf960ac8f2fc6d87d40eba">entt::Scheduler&lt; Delta &gt;</a>
, <a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html#a7635c4c773fee73faf6eddda2d4abb87">entt::SigH&lt; Ret(Args...), Collector &gt;</a>
, <a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html#ab81c48dcee7a1104ee82794613ee7ed2">entt::SparseSet&lt; Entity &gt;</a>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+33 -30
View File
@@ -84,36 +84,39 @@ This inheritance list is sorted roughly, but not completely, alphabetically:</di
<tr id="row_13_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_13_" class="arrow" onclick="toggleFolder('13_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>Func</b></td><td class="desc"></td></tr>
<tr id="row_13_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ProcessAdaptor.html" target="_self">entt::ProcessAdaptor&lt; Func, Delta &gt;</a></td><td class="desc">Adaptor for lambdas and functors to turn them into processes </td></tr>
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1HashedString.html" target="_self">entt::HashedString</a></td><td class="desc">Zero overhead resource identifier </td></tr>
<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1InsertionSort.html" target="_self">entt::InsertionSort</a></td><td class="desc">Function object for performing insertion sort </td></tr>
<tr id="row_16_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_16_" class="arrow" onclick="toggleFolder('16_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>Invoker</b></td><td class="desc"></td></tr>
<tr id="row_16_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html" target="_self">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="desc">Unmanaged signal handler definition </td></tr>
<tr id="row_17_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1persistent__t.html" target="_self">entt::persistent_t</a></td><td class="desc">Persistent view type used to disambiguate overloads </td></tr>
<tr id="row_18_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1PersistentView.html" target="_self">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="desc">Persistent view </td></tr>
<tr id="row_19_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Process.html" target="_self">entt::Process&lt; Derived, Delta &gt;</a></td><td class="desc">Base class for processes </td></tr>
<tr id="row_20_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_20_" class="arrow" onclick="toggleFolder('20_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Process.html" target="_self">entt::Process&lt; ProcessAdaptor&lt; Func, Delta &gt;, Delta &gt;</a></td><td class="desc"></td></tr>
<tr id="row_20_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ProcessAdaptor.html" target="_self">entt::ProcessAdaptor&lt; Func, Delta &gt;</a></td><td class="desc">Adaptor for lambdas and functors to turn them into processes </td></tr>
<tr id="row_21_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Prototype.html" target="_self">entt::Prototype&lt; Entity &gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Prototype.html" title="Prototype container for concepts. ">Prototype</a> container for <em>concepts</em> </td></tr>
<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1raw__t.html" target="_self">entt::raw_t</a></td><td class="desc">Raw view type used to disambiguate overloads </td></tr>
<tr id="row_23_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1RawView.html" target="_self">entt::RawView&lt; Entity, Component &gt;</a></td><td class="desc">Raw view </td></tr>
<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Registry.html" target="_self">entt::Registry&lt; Entity &gt;</a></td><td class="desc">Fast and reliable entity-component system </td></tr>
<tr id="row_25_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceCache.html" target="_self">entt::ResourceCache&lt; Resource &gt;</a></td><td class="desc">Simple cache for resources of a given type </td></tr>
<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceHandle.html" target="_self">entt::ResourceHandle&lt; Resource &gt;</a></td><td class="desc">Shared resource handle </td></tr>
<tr id="row_27_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceLoader.html" target="_self">entt::ResourceLoader&lt; Loader, Resource &gt;</a></td><td class="desc">Base class for resource loaders </td></tr>
<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Scheduler.html" target="_self">entt::Scheduler&lt; Delta &gt;</a></td><td class="desc">Cooperative scheduler for processes </td></tr>
<tr id="row_29_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ServiceLocator.html" target="_self">entt::ServiceLocator&lt; Service &gt;</a></td><td class="desc">Service locator, nothing more </td></tr>
<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH.html" target="_self">entt::SigH&lt; Function, Collector &gt;</a></td><td class="desc">Unmanaged signal handler declaration </td></tr>
<tr id="row_31_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH.html" target="_self">entt::SigH&lt; void(const Event &amp;)&gt;</a></td><td class="desc"></td></tr>
<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink.html" target="_self">entt::Sink&lt; Function &gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_33_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html" target="_self">entt::Sink&lt; Ret(Args...)&gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_34_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Snapshot.html" target="_self">entt::Snapshot&lt; Entity &gt;</a></td><td class="desc">Utility class to create snapshots from a registry </td></tr>
<tr id="row_35_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SnapshotLoader.html" target="_self">entt::SnapshotLoader&lt; Entity &gt;</a></td><td class="desc">Utility class to restore a snapshot as a whole </td></tr>
<tr id="row_36_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet.html" target="_self">entt::SparseSet&lt;... &gt;</a></td><td class="desc">Sparse set </td></tr>
<tr id="row_37_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_37_" class="arrow" onclick="toggleFolder('37_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html" target="_self">entt::SparseSet&lt; Entity &gt;</a></td><td class="desc">Basic sparse set implementation </td></tr>
<tr id="row_37_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html" target="_self">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="desc">Extended sparse set implementation </td></tr>
<tr id="row_38_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1StdSort.html" target="_self">entt::StdSort</a></td><td class="desc">Function object to wrap <code>std::sort</code> in a class type </td></tr>
<tr id="row_39_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1tag__t.html" target="_self">entt::tag_t</a></td><td class="desc">Tag class type used to disambiguate overloads </td></tr>
<tr id="row_40_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View.html" target="_self">entt::View&lt; Entity, Component &gt;</a></td><td class="desc">Multi component view </td></tr>
<tr id="row_41_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" target="_self">entt::View&lt; Entity, Component &gt;</a></td><td class="desc">Single component view specialization </td></tr>
<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Identifier.html" target="_self">entt::Identifier&lt; Types &gt;</a></td><td class="desc">Types identifiers </td></tr>
<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1InsertionSort.html" target="_self">entt::InsertionSort</a></td><td class="desc">Function object for performing insertion sort </td></tr>
<tr id="row_17_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_17_" class="arrow" onclick="toggleFolder('17_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>Invoker</b></td><td class="desc"></td></tr>
<tr id="row_17_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH_3_01Ret_07Args_8_8_8_08_00_01Collector_01_4.html" target="_self">entt::SigH&lt; Ret(Args...), Collector &gt;</a></td><td class="desc">Unmanaged signal handler definition </td></tr>
<tr id="row_18_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1Monostate.html" target="_self">entt::Monostate&lt; hash_type &gt;</a></td><td class="desc">Minimal implementation of the monostate pattern </td></tr>
<tr id="row_19_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1persistent__t.html" target="_self">entt::persistent_t</a></td><td class="desc">Persistent view type used to disambiguate overloads </td></tr>
<tr id="row_20_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1PersistentView.html" target="_self">entt::PersistentView&lt; Entity, Component &gt;</a></td><td class="desc">Persistent view </td></tr>
<tr id="row_21_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Process.html" target="_self">entt::Process&lt; Derived, Delta &gt;</a></td><td class="desc">Base class for processes </td></tr>
<tr id="row_22_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_22_" class="arrow" onclick="toggleFolder('22_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Process.html" target="_self">entt::Process&lt; ProcessAdaptor&lt; Func, Delta &gt;, Delta &gt;</a></td><td class="desc"></td></tr>
<tr id="row_22_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ProcessAdaptor.html" target="_self">entt::ProcessAdaptor&lt; Func, Delta &gt;</a></td><td class="desc">Adaptor for lambdas and functors to turn them into processes </td></tr>
<tr id="row_23_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Prototype.html" target="_self">entt::Prototype&lt; Entity &gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Prototype.html" title="Prototype container for concepts. ">Prototype</a> container for <em>concepts</em> </td></tr>
<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1raw__t.html" target="_self">entt::raw_t</a></td><td class="desc">Raw view type used to disambiguate overloads </td></tr>
<tr id="row_25_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1RawView.html" target="_self">entt::RawView&lt; Entity, Component &gt;</a></td><td class="desc">Raw view </td></tr>
<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Registry.html" target="_self">entt::Registry&lt; Entity &gt;</a></td><td class="desc">Fast and reliable entity-component system </td></tr>
<tr id="row_27_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceCache.html" target="_self">entt::ResourceCache&lt; Resource &gt;</a></td><td class="desc">Simple cache for resources of a given type </td></tr>
<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceHandle.html" target="_self">entt::ResourceHandle&lt; Resource &gt;</a></td><td class="desc">Shared resource handle </td></tr>
<tr id="row_29_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1ResourceLoader.html" target="_self">entt::ResourceLoader&lt; Loader, Resource &gt;</a></td><td class="desc">Base class for resource loaders </td></tr>
<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1RuntimeView.html" target="_self">entt::RuntimeView&lt; Entity &gt;</a></td><td class="desc">Runtime view </td></tr>
<tr id="row_31_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Scheduler.html" target="_self">entt::Scheduler&lt; Delta &gt;</a></td><td class="desc">Cooperative scheduler for processes </td></tr>
<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1ServiceLocator.html" target="_self">entt::ServiceLocator&lt; Service &gt;</a></td><td class="desc">Service locator, nothing more </td></tr>
<tr id="row_33_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH.html" target="_self">entt::SigH&lt; Function, Collector &gt;</a></td><td class="desc">Unmanaged signal handler declaration </td></tr>
<tr id="row_34_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SigH.html" target="_self">entt::SigH&lt; void(const Event &amp;)&gt;</a></td><td class="desc"></td></tr>
<tr id="row_35_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink.html" target="_self">entt::Sink&lt; Function &gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_36_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Sink_3_01Ret_07Args_8_8_8_08_4.html" target="_self">entt::Sink&lt; Ret(Args...)&gt;</a></td><td class="desc"><a class="el" href="classentt_1_1Sink.html" title="Sink implementation. ">Sink</a> implementation </td></tr>
<tr id="row_37_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1Snapshot.html" target="_self">entt::Snapshot&lt; Entity &gt;</a></td><td class="desc">Utility class to create snapshots from a registry </td></tr>
<tr id="row_38_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SnapshotLoader.html" target="_self">entt::SnapshotLoader&lt; Entity &gt;</a></td><td class="desc">Utility class to restore a snapshot as a whole </td></tr>
<tr id="row_39_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet.html" target="_self">entt::SparseSet&lt;... &gt;</a></td><td class="desc">Sparse set </td></tr>
<tr id="row_40_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_40_" class="arrow" onclick="toggleFolder('40_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_01_4.html" target="_self">entt::SparseSet&lt; Entity &gt;</a></td><td class="desc">Basic sparse set implementation </td></tr>
<tr id="row_40_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1SparseSet_3_01Entity_00_01Type_01_4.html" target="_self">entt::SparseSet&lt; Entity, Type &gt;</a></td><td class="desc">Extended sparse set implementation </td></tr>
<tr id="row_41_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1StdSort.html" target="_self">entt::StdSort</a></td><td class="desc">Function object to wrap <code>std::sort</code> in a class type </td></tr>
<tr id="row_42_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structentt_1_1tag__t.html" target="_self">entt::tag_t</a></td><td class="desc">Tag class type used to disambiguate overloads </td></tr>
<tr id="row_43_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View.html" target="_self">entt::View&lt; Entity, Component &gt;</a></td><td class="desc">Multi component view </td></tr>
<tr id="row_44_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classentt_1_1View_3_01Entity_00_01Component_01_4.html" target="_self">entt::View&lt; Entity, Component &gt;</a></td><td class="desc">Single component view specialization </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
File diff suppressed because one or more lines are too long
+129 -94
View File
@@ -99,6 +99,7 @@ Table of Contents</h1>
<li><a href="#dependency-function">Dependency function</a></li>
</ul>
</li>
<li><a href="#null-entity">Null entity</a></li>
</ul>
</li>
<li><a href="#view-to-persist-or-not-to-persist">View: to persist or not to persist?</a><ul>
@@ -109,16 +110,19 @@ Table of Contents</h1>
</li>
<li><a href="#persistent-view">Persistent View</a></li>
<li><a href="#raw-view">Raw View</a></li>
<li><a href="#runtime-view">Runtime View</a></li>
<li><a href="#give-me-everything">Give me everything</a></li>
</ul>
</li>
<li><a href="#side-notes">Side notes</a></li>
<li><a href="#iterations-what-is-allowed-and-what-is-not">Iterations: what is allowed and what is not</a></li>
<li><a href="#multithreading">Multithreading</a></li>
</ul>
</li>
<li><a href="#crash-course-core-functionalities">Crash Course: core functionalities</a><ul>
<li><a href="#compile-time-identifiers">Compile-time identifiers</a></li>
<li><a href="#runtime-identifiers">Runtime identifiers</a></li>
<li><a href="#hashed-strings">Hashed strings</a></li>
<li><a href="#monostate">Monostate</a></li>
</ul>
</li>
<li><a href="#crash-course-service-locator">Crash Course: service locator</a></li>
@@ -187,7 +191,7 @@ State of the art</h3>
Continue reading to know how the different parts of the project work or follow the link above to take a look at the API reference.</p>
<h2><a class="anchor" id="autotoc_md5"></a>
Code Example</h2>
<div class="fragment"><div class="line"><span class="preprocessor">#include &lt;entt/entt.hpp&gt;</span></div><div class="line"><span class="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"></div><div class="line"><span class="keyword">struct </span>Position {</div><div class="line"> <span class="keywordtype">float</span> x;</div><div class="line"> <span class="keywordtype">float</span> y;</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keyword">struct </span>Velocity {</div><div class="line"> <span class="keywordtype">float</span> dx;</div><div class="line"> <span class="keywordtype">float</span> dy;</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keywordtype">void</span> update(<a class="code" href="classentt_1_1Registry.html">entt::DefaultRegistry</a> &amp;registry) {</div><div class="line"> <span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;();</div><div class="line"></div><div class="line"> <span class="keywordflow">for</span>(<span class="keyword">auto</span> entity: view) {</div><div class="line"> <span class="comment">// gets only the components that are going to be used ...</span></div><div class="line"></div><div class="line"> <span class="keyword">auto</span> &amp;velocity = view.get&lt;Velocity&gt;(entity);</div><div class="line"></div><div class="line"> velocity.dx = 0.;</div><div class="line"> velocity.dy = 0.;</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">void</span> update(std::uint64_t dt, <a class="code" href="classentt_1_1Registry.html">entt::DefaultRegistry</a> &amp;registry) {</div><div class="line"> registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;().each([dt](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;position, <span class="keyword">auto</span> &amp;velocity) {</div><div class="line"> <span class="comment">// gets all the components of the view at once ...</span></div><div class="line"></div><div class="line"> position.x += velocity.dx * dt;</div><div class="line"> position.y += velocity.dy * dt;</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line"> });</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> main() {</div><div class="line"> <a class="code" href="classentt_1_1Registry.html">entt::DefaultRegistry</a> registry;</div><div class="line"> std::uint64_t dt = 16;</div><div class="line"></div><div class="line"> <span class="keywordflow">for</span>(<span class="keyword">auto</span> i = 0; i &lt; 10; ++i) {</div><div class="line"> <span class="keyword">auto</span> entity = registry.<a class="code" href="classentt_1_1Registry.html#a10de276e8fc78fe205907c808ddb8d9a">create</a>();</div><div class="line"> registry.<a class="code" href="classentt_1_1Registry.html#a93b5717af287a2b97e0ef9695c51ed58">assign</a>&lt;Position&gt;(entity, i * 1.f, i * 1.f);</div><div class="line"> <span class="keywordflow">if</span>(i % 2 == 0) { registry.<a class="code" href="classentt_1_1Registry.html#a93b5717af287a2b97e0ef9695c51ed58">assign</a>&lt;Velocity&gt;(entity, i * .1f, i * .1f); }</div><div class="line"> }</div><div class="line"></div><div class="line"> update(dt, registry);</div><div class="line"> update(registry);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><h2><a class="anchor" id="autotoc_md6"></a>
<div class="fragment"><div class="line"><span class="preprocessor">#include &lt;entt/entt.hpp&gt;</span></div><div class="line"><span class="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"></div><div class="line"><span class="keyword">struct </span>Position {</div><div class="line"> <span class="keywordtype">float</span> x;</div><div class="line"> <span class="keywordtype">float</span> y;</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keyword">struct </span>Velocity {</div><div class="line"> <span class="keywordtype">float</span> dx;</div><div class="line"> <span class="keywordtype">float</span> dy;</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keywordtype">void</span> update(<a class="code" href="classentt_1_1Registry.html">entt::DefaultRegistry</a> &amp;registry) {</div><div class="line"> <span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;();</div><div class="line"></div><div class="line"> <span class="keywordflow">for</span>(<span class="keyword">auto</span> entity: view) {</div><div class="line"> <span class="comment">// gets only the components that are going to be used ...</span></div><div class="line"></div><div class="line"> <span class="keyword">auto</span> &amp;velocity = view.get&lt;Velocity&gt;(entity);</div><div class="line"></div><div class="line"> velocity.dx = 0.;</div><div class="line"> velocity.dy = 0.;</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">void</span> update(std::uint64_t dt, <a class="code" href="classentt_1_1Registry.html">entt::DefaultRegistry</a> &amp;registry) {</div><div class="line"> registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;().each([dt](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;position, <span class="keyword">auto</span> &amp;velocity) {</div><div class="line"> <span class="comment">// gets all the components of the view at once ...</span></div><div class="line"></div><div class="line"> position.x += velocity.dx * dt;</div><div class="line"> position.y += velocity.dy * dt;</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line"> });</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> main() {</div><div class="line"> <a class="code" href="classentt_1_1Registry.html">entt::DefaultRegistry</a> registry;</div><div class="line"> std::uint64_t dt = 16;</div><div class="line"></div><div class="line"> <span class="keywordflow">for</span>(<span class="keyword">auto</span> i = 0; i &lt; 10; ++i) {</div><div class="line"> <span class="keyword">auto</span> entity = registry.<a class="code" href="classentt_1_1Registry.html#a433ac3fc8ea49347f691dd4ad1ccb58b">create</a>();</div><div class="line"> registry.<a class="code" href="classentt_1_1Registry.html#a93b5717af287a2b97e0ef9695c51ed58">assign</a>&lt;Position&gt;(entity, i * 1.f, i * 1.f);</div><div class="line"> <span class="keywordflow">if</span>(i % 2 == 0) { registry.<a class="code" href="classentt_1_1Registry.html#a93b5717af287a2b97e0ef9695c51ed58">assign</a>&lt;Velocity&gt;(entity, i * .1f, i * .1f); }</div><div class="line"> }</div><div class="line"></div><div class="line"> update(dt, registry);</div><div class="line"> update(registry);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><h2><a class="anchor" id="autotoc_md6"></a>
Motivation</h2>
<p>I started working on <code>EnTT</code> because of the wrong reason: my goal was to design an entity-component system that beated another well known open source solution in terms of performance and used (possibly) less memory in the average case.<br />
In the end, I did it, but it wasn't much satisfying. Actually it wasn't satisfying at all. The fastest and nothing more, fairly little indeed. When I realized it, I tried hard to keep intact the great performance of <code>EnTT</code> and to add all the features I wanted to see in <em>my own library</em> at the same time.</p>
@@ -204,34 +208,26 @@ Performance</h2>
<tr>
<td>Destroy 1M entities </td><td>0.0053s </td><td><b>0.0045s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, one component </td><td>0.0012s </td><td><b>1.9e-07s</b> </td></tr>
<td>1M entities, one component </td><td>0.0012s </td><td><b>1.9e-07s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, two components </td><td>0.0012s </td><td><b>3.8e-07s</b> </td></tr>
<td>1M entities, two components </td><td>0.0012s </td><td><b>3.8e-07s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, two components<br />
<td>1M entities, two components<br />
Half of the entities have all the components </td><td>0.0009s </td><td><b>3.8e-07s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, two components<br />
<td>1M entities, two components<br />
One of the entities has all the components </td><td>0.0008s </td><td><b>1.0e-06s</b> </td></tr>
<tr>
<td>Persistent view, 1M entities, two components </td><td>0.0012s </td><td><b>2.8e-07s</b> </td></tr>
<td>1M entities, five components </td><td>0.0010s </td><td><b>7.0e-07s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, five components </td><td>0.0010s </td><td><b>7.0e-07s</b> </td></tr>
<td>1M entities, ten components </td><td>0.0011s </td><td><b>1.2e-06s</b> </td></tr>
<tr>
<td>Persistent view, 1M entities, five components </td><td>0.0010s </td><td><b>2.8e-07s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, ten components </td><td>0.0011s </td><td><b>1.2e-06s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, ten components<br />
<td>1M entities, ten components<br />
Half of the entities have all the components </td><td>0.0010s </td><td><b>1.2e-06s</b> </td></tr>
<tr>
<td>Standard view, 1M entities, ten components<br />
<td>1M entities, ten components<br />
One of the entities has all the components </td><td>0.0008s </td><td><b>1.2e-06s</b> </td></tr>
<tr>
<td>Persistent view, 1M entities, ten components </td><td>0.0011s </td><td><b>3.0e-07s</b> </td></tr>
<tr>
<td>Raw view, 1M entities </td><td>- </td><td><b>2.2e-07s</b> </td></tr>
<tr>
<td>Sort 150k entities, one component<br />
Arrays are in reverse order </td><td>- </td><td><b>0.0036s</b> </td></tr>
<tr>
@@ -270,15 +266,15 @@ Library</h2>
<h2><a class="anchor" id="autotoc_md11"></a>
Documentation</h2>
<p>The documentation is based on <a href="http://www.stack.nl/~dimitri/doxygen/">doxygen</a>. To build it: </p><pre class="fragment">$ cd build
$ cmake ..
$ make docs
$ cmake .. -DBUILD_DOCS=ON
$ make
</pre><p>The API reference will be created in HTML format within the directory <code>build/docs/html</code>. To navigate it with your favorite browser: </p><pre class="fragment">$ cd build
$ your_favorite_browser docs/html/index.html
</pre><p>The API reference is also available <a href="https://skypjack.github.io/entt/">online</a> for the latest version.</p>
<h2><a class="anchor" id="autotoc_md12"></a>
Tests</h2>
<p>To compile and run the tests, <code>EnTT</code> requires <em>googletest</em>.<br />
<code>cmake</code> will download and compile the library before to compile anything else.</p>
<code>cmake</code> will download and compile the library before compiling anything else. In order to build without tests set CMake option <code>BUILD_TESTING=OFF</code>.</p>
<p>To build the most basic set of tests:</p>
<ul>
<li><code>$ cd build</code></li>
@@ -317,11 +313,10 @@ The Registry, the Entity and the Component</h2>
<code>Registry</code> is a class template that lets users decide what's the preferred type to represent an entity. Because <code>std::uint32_t</code> is large enough for almost all the cases, there exists also an alias named <code>DefaultRegistry</code> for <code>Registry&lt;std::uint32_t&gt;</code>.</p>
<p>Entities are represented by <em>entity identifiers</em>. An entity identifier is an opaque type that users should not inspect or modify in any way. It carries information about the entity itself and its version.</p>
<p>A registry can be used both to construct and destroy entities:</p>
<div class="fragment"><div class="line"><span class="comment">// constructs a naked entity with no components and returns its identifier</span></div><div class="line"><span class="keyword">auto</span> entity = registry.create();</div><div class="line"></div><div class="line"><span class="comment">// destroys an entity and all its components</span></div><div class="line">registry.destroy(entity);</div></div><!-- fragment --><p>When an entity is destroyed, the registry can freely reuse it internally with a slightly different identifier. In particular, the version of an entity is increased each and every time it's discarded.<br />
<div class="fragment"><div class="line"><span class="comment">// constructs a naked entity with no components and returns its identifier</span></div><div class="line"><span class="keyword">auto</span> entity = registry.create();</div><div class="line"></div><div class="line"><span class="comment">// destroys an entity and all its components</span></div><div class="line">registry.destroy(entity);</div></div><!-- fragment --><p>Entities can also be destroyed <em>by type</em>, that is by specifying the types of the tags or components that identify them:</p>
<div class="fragment"><div class="line"><span class="comment">// destroys the entity that owns the given tag, if any</span></div><div class="line">registry.destroy&lt;MyTag&gt;(<a class="code" href="structentt_1_1tag__t.html">entt::tag_t</a>{});</div><div class="line"></div><div class="line"><span class="comment">// destroys the entities that own the given components, if any</span></div><div class="line">registry.destroy&lt;AComponent, AnotherComponent&gt;();</div></div><!-- fragment --><p>When an entity is destroyed, the registry can freely reuse it internally with a slightly different identifier. In particular, the version of an entity is increased each and every time it's discarded.<br />
In case entity identifiers are stored around, the registry offers all the functionalities required to test them and get out of the them all the information they carry:</p>
<div class="fragment"><div class="line"><span class="comment">// returns true if the entity is still valid, false otherwise</span></div><div class="line"><span class="keywordtype">bool</span> b = registry.valid(entity);</div><div class="line"></div><div class="line"><span class="comment">// gets the version contained in the entity identifier</span></div><div class="line"><span class="keyword">auto</span> version = registry.version(entity);</div><div class="line"></div><div class="line"><span class="comment">// gets the actual version for the given entity</span></div><div class="line"><span class="keyword">auto</span> curr = registry.current(entity);</div></div><!-- fragment --><p>Finally, there is also a sort of <em>null identifier</em> made available to users. It's treated as if it were a <em>null pointer</em> that doesn't identify any entity. A registry will reject this identifier in all cases because it isn't considered valid.<br />
The rules that define a <em>null identifier</em> are a bit tricky to explain. However, being <code>Entity</code> the type of the entities (for example, <code>std::uint32_t</code>), users can easily construct a <em>null identifier</em> by flipping all the bits of the <em>zero</em>:</p>
<div class="fragment"><div class="line"><span class="keyword">using</span> Entity = std::uint32_t;</div><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> null = ~Entity{};</div></div><!-- fragment --><p>Components can be assigned to or removed from entities at any time with a few calls to member functions of the registry. As for the entities, the registry offers also a set of functionalities users can use to work with the components.</p>
<div class="fragment"><div class="line"><span class="comment">// returns true if the entity is still valid, false otherwise</span></div><div class="line"><span class="keywordtype">bool</span> b = registry.valid(entity);</div><div class="line"></div><div class="line"><span class="comment">// gets the version contained in the entity identifier</span></div><div class="line"><span class="keyword">auto</span> version = registry.version(entity);</div><div class="line"></div><div class="line"><span class="comment">// gets the actual version for the given entity</span></div><div class="line"><span class="keyword">auto</span> curr = registry.current(entity);</div></div><!-- fragment --><p>Components can be assigned to or removed from entities at any time with a few calls to member functions of the registry. As for the entities, the registry offers also a set of functionalities users can use to work with the components.</p>
<p>The <code>assign</code> member function template creates, initializes and assigns to an entity the given component. It accepts a variable number of arguments to construct the component itself if present:</p>
<div class="fragment"><div class="line">registry.assign&lt;Position&gt;(entity, 0., 0.);</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line">Velocity &amp;velocity = registry.assign&lt;Velocity&gt;(entity);</div><div class="line">velocity.dx = 0.;</div><div class="line">velocity.dy = 0.;</div></div><!-- fragment --><p>If an entity already has the given component, the <code>replace</code> member function template can be used to replace it:</p>
<div class="fragment"><div class="line">registry.replace&lt;Position&gt;(entity, 0., 0.);</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line">Velocity &amp;velocity = registry.replace&lt;Velocity&gt;(entity);</div><div class="line">velocity.dx = 0.;</div><div class="line">velocity.dy = 0.;</div></div><!-- fragment --><p>In case users want to assign a component to an entity, but it's unknown whether the entity already has it or not, <code>accommodate</code> does the work in a single call (there is a performance penalty to pay for this mainly due to the fact that it has to check if the entity already has the given component or not):</p>
@@ -379,7 +374,7 @@ Who let the tags out?</h4>
<div class="fragment"><div class="line">registry.construction&lt;MyTag&gt;(<a class="code" href="structentt_1_1tag__t.html">entt::tag_t</a>{}).connect&lt;&amp;MyFreeFunction&gt;();</div><div class="line">registry.destruction&lt;MyTag&gt;(<a class="code" href="structentt_1_1tag__t.html">entt::tag_t</a>{}).connect&lt;MyClass, &amp;MyClass::member&gt;(&amp;instance);</div></div><!-- fragment --><p>Listeners for tags and components are managed separately and do not influence each other in any case. Therefore, note that the greater the number of listeners for a type, the greater the performance hit when a tag of the given type is created or destroyed.</p>
<h3><a class="anchor" id="autotoc_md22"></a>
Runtime components</h3>
<p>Defining components at runtime is useful to support plugins and mods in general. However, it seems impossible with a tool designed around a bunch of templates. Indeed it's not that difficult.<br />
<p>Defining components at runtime is useful to support plugin systems and mods in general. However, it seems impossible with a tool designed around a bunch of templates. Indeed it's not that difficult.<br />
Of course, some features cannot be easily exported into a runtime environment. As an example, sorting a group of components defined at runtime isn't for free if compared to most of the other operations. However, the basic functionalities of an entity-component system such as <code>EnTT</code> fit the problem perfectly and can also be used to manage runtime components if required.<br />
All that is necessary to do it is to know the identifiers of the components. An identifier is nothing more than a number or similar that can be used at runtime to work with the type system.</p>
<p>In <code>EnTT</code>, identifiers are easily accessible:</p>
@@ -400,12 +395,12 @@ Sorting: is it possible?</h3>
<ul>
<li>Components can be sorted directly:</li>
</ul>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#af97db8232b2b26604adb5f10ded70f11">sort</a>&lt;Renderable&gt;([](<span class="keyword">const</span> <span class="keyword">auto</span> &amp;lhs, <span class="keyword">const</span> <span class="keyword">auto</span> &amp;rhs) {</div><div class="line"> <span class="keywordflow">return</span> lhs.z &lt; rhs.z;</div><div class="line"></div><div class="line">});</div></div><!-- fragment --><p>There exists also the possibility to use a custom sort function object, as long as it adheres to the requirements described in the inline documentation.<br />
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#acb72e05f3128b6604b438707eabdfa4a">sort</a>&lt;Renderable&gt;([](<span class="keyword">const</span> <span class="keyword">auto</span> &amp;lhs, <span class="keyword">const</span> <span class="keyword">auto</span> &amp;rhs) {</div><div class="line"> <span class="keywordflow">return</span> lhs.z &lt; rhs.z;</div><div class="line"></div><div class="line">});</div></div><!-- fragment --><p>There exists also the possibility to use a custom sort function object, as long as it adheres to the requirements described in the inline documentation.<br />
This is possible mainly because users can get much more with a custom sort function object if the pattern of usage is known. As an example, in case of an almost sorted pool, quick sort could be much, much slower than insertion sort.</p>
<ul>
<li>Components can be sorted according to the order imposed by another component:</li>
</ul>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#af97db8232b2b26604adb5f10ded70f11">sort</a>&lt;Movement, Physics&gt;();</div></div><!-- fragment --><p>In this case, instances of <code>Movement</code> are arranged in memory so that cache misses are minimized when the two components are iterated together.</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#acb72e05f3128b6604b438707eabdfa4a">sort</a>&lt;Movement, Physics&gt;();</div></div><!-- fragment --><p>In this case, instances of <code>Movement</code> are arranged in memory so that cache misses are minimized when the two components are iterated together.</p>
<h3><a class="anchor" id="autotoc_md25"></a>
Snapshot: complete vs continuous</h3>
<p>The <code>Registry</code> class offers basic support to serialization.<br />
@@ -414,7 +409,7 @@ Snapshot: complete vs continuous</h3>
Intuitively, the use cases are different. As an example, the first approach is suitable for local save/restore functionalities while the latter is suitable for creating client-server applications and for transferring somehow parts of the representation side to side.</p>
<p>To take a snapshot of the registry, use the <code>snapshot</code> member function. It returns a temporary object properly initialized to <em>save</em> the whole registry or parts of it.</p>
<p>Example of use:</p>
<div class="fragment"><div class="line">OutputArchive output;</div><div class="line"></div><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#a69bdf0c5645f2049e8dee9e0c4de53ca">snapshot</a>()</div><div class="line"> .entities(output)</div><div class="line"> .destroyed(output)</div><div class="line"> .component&lt;AComponent, AnotherComponent&gt;(output)</div><div class="line"> .tag&lt;MyTag&gt;(output);</div></div><!-- fragment --><p>It isn't necessary to invoke all these functions each and every time. What functions to use in which case mostly depends on the goal and there is not a golden rule to do that.</p>
<div class="fragment"><div class="line">OutputArchive output;</div><div class="line"></div><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#a00a0b4949a4cc0cb87e88cc6d1171a9d">snapshot</a>()</div><div class="line"> .entities(output)</div><div class="line"> .destroyed(output)</div><div class="line"> .component&lt;AComponent, AnotherComponent&gt;(output)</div><div class="line"> .tag&lt;MyTag&gt;(output);</div></div><!-- fragment --><p>It isn't necessary to invoke all these functions each and every time. What functions to use in which case mostly depends on the goal and there is not a golden rule to do that.</p>
<p>The <code>entities</code> member function asks the registry to serialize all the entities that are still in use along with their versions. On the other side, the <code>destroyed</code> member function tells to the registry to serialize the entities that have been destroyed and are no longer in use.<br />
These two functions can be used to save and restore the whole set of entities with the versions they had during serialization.</p>
<p>The <code>component</code> member function is a function template the aim of which is to store aside components. The presence of a template parameter list is a consequence of a couple of design choices from the past and in the present:</p>
@@ -424,7 +419,7 @@ Snapshot: complete vs continuous</h3>
</ul>
<p>There exists also another version of the <code>component</code> member function that accepts a range of entities to serialize. This version is a bit slower than the other one, mainly because it iterates the range of entities more than once for internal purposes. However, it can be used to filter out those entities that shouldn't be serialized for some reasons.<br />
As an example:</p>
<div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Serialize&gt;();</div><div class="line">OutputArchive output;</div><div class="line"></div><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#a69bdf0c5645f2049e8dee9e0c4de53ca">snapshot</a>()</div><div class="line"> .component&lt;AComponent, AnotherComponent&gt;(output, view.cbegin(), view.cend());</div></div><!-- fragment --><p>The <code>tag</code> member function is similar to the previous one, apart from the fact that it works with tags and not with components.<br />
<div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Serialize&gt;();</div><div class="line">OutputArchive output;</div><div class="line"></div><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#a00a0b4949a4cc0cb87e88cc6d1171a9d">snapshot</a>()</div><div class="line"> .component&lt;AComponent, AnotherComponent&gt;(output, view.cbegin(), view.cend());</div></div><!-- fragment --><p>The <code>tag</code> member function is similar to the previous one, apart from the fact that it works with tags and not with components.<br />
Note also that both <code>component</code> and <code>tag</code> store items along with entities. It means that they work properly without a call to the <code>entities</code> member function.</p>
<p>Once a snapshot is created, there exist mainly two <em>ways</em> to load it: as a whole and in a kind of <em>continuous mode</em>.<br />
The following sections describe both loaders and archives in details.</p>
@@ -433,7 +428,7 @@ Snapshot loader</h4>
<p>A snapshot loader requires that the destination registry be empty and loads all the data at once while keeping intact the identifiers that the entities originally had.<br />
To do that, the registry offers a member function named <code>restore</code> that returns a temporary object properly initialized to <em>restore</em> a snapshot.</p>
<p>Example of use:</p>
<div class="fragment"><div class="line">InputArchive input;</div><div class="line"></div><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#a925e91c4f1904d5104a0c5e9e9f70223">restore</a>()</div><div class="line"> .entities(input)</div><div class="line"> .destroyed(input)</div><div class="line"> .component&lt;AComponent, AnotherComponent&gt;(input)</div><div class="line"> .tag&lt;MyTag&gt;(input)</div><div class="line"> .orphans();</div></div><!-- fragment --><p>It isn't necessary to invoke all these functions each and every time. What functions to use in which case mostly depends on the goal and there is not a golden rule to do that. For obvious reasons, what is important is that the data are restored in exactly the same order in which they were serialized.</p>
<div class="fragment"><div class="line">InputArchive input;</div><div class="line"></div><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#a37b755b43c7067658d2b4129baa403cf">restore</a>()</div><div class="line"> .entities(input)</div><div class="line"> .destroyed(input)</div><div class="line"> .component&lt;AComponent, AnotherComponent&gt;(input)</div><div class="line"> .tag&lt;MyTag&gt;(input)</div><div class="line"> .orphans();</div></div><!-- fragment --><p>It isn't necessary to invoke all these functions each and every time. What functions to use in which case mostly depends on the goal and there is not a golden rule to do that. For obvious reasons, what is important is that the data are restored in exactly the same order in which they were serialized.</p>
<p>The <code>entities</code> and <code>destroyed</code> member functions restore the sets of entities and the versions that the entities originally had at the source.</p>
<p>The <code>component</code> member function restores all and only the components specified and assigns them to the right entities. Note that the template parameter list must be exactly the same used during the serialization. The same applies to the <code>tag</code> member function.</p>
<p>The <code>orphans</code> member function literally destroys those entities that have neither components nor tags. It's usually useless if the snapshot is a full dump of the source. However, in case all the entities are serialized but only few components and tags are saved, it could happen that some of the entities have neither components nor tags once restored. The best users can do to deal with them is to destroy those entities and thus update their versions.</p>
@@ -494,12 +489,19 @@ Dependency function</h4>
The following adds components <code>AType</code> and <code>AnotherType</code> whenever <code>MyType</code> is assigned to an entity:</p>
<div class="fragment"><div class="line">entt::dependency&lt;AType, AnotherType&gt;(registry.<a class="code" href="classentt_1_1Registry.html#a6f6b29268ba11a8526fa3f9d3bdb58e5">construction</a>&lt;MyType&gt;());</div></div><!-- fragment --><p>A component is assigned to an entity and thus default initialized only in case the entity itself hasn't it yet. It means that already existent components won't be overriden.<br />
A dependency can easily be broken by means of the same function template:</p>
<div class="fragment"><div class="line">entt::dependency&lt;AType, AnotherType&gt;(<a class="code" href="structentt_1_1break__t.html">entt::break_t</a>{}, registry.<a class="code" href="classentt_1_1Registry.html#a6f6b29268ba11a8526fa3f9d3bdb58e5">construction</a>&lt;MyType&gt;());</div></div><!-- fragment --><h2><a class="anchor" id="autotoc_md33"></a>
<div class="fragment"><div class="line">entt::dependency&lt;AType, AnotherType&gt;(<a class="code" href="structentt_1_1break__t.html">entt::break_t</a>{}, registry.<a class="code" href="classentt_1_1Registry.html#a6f6b29268ba11a8526fa3f9d3bdb58e5">construction</a>&lt;MyType&gt;());</div></div><!-- fragment --><h3><a class="anchor" id="autotoc_md33"></a>
Null entity</h3>
<p>In <code>EnTT</code>, there exists a sort of <em>null entity</em> made available to users that is accessible via the <code><a class="el" href="namespaceentt.html#a588326af8f6f902a6c0b57d3f9fc6c17" title="Null entity. ">entt::null</a></code> variable.<br />
The framework guarantees that the following expression always returns false:</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aaba72db4ebf99a911b58327063ec8ad9">valid</a>(<a class="code" href="namespaceentt.html#a588326af8f6f902a6c0b57d3f9fc6c17">entt::null</a>);</div></div><!-- fragment --><p>In other terms, a registry will reject the null entity in all cases because it isn't considered valid. It means that the null entity cannot own components or tags for obvious reasons.<br />
The type of the null entity is internal and should not be used for any purpose other than defining the null entity itself. However, there exist implicit conversions from the null entity to identifiers of any allowed type:</p>
<div class="fragment"><div class="line"><span class="keyword">typename</span> <a class="code" href="classentt_1_1Registry.html#ad434a1920dd2c6a9a31ab482e2f29038">entt::DefaultRegistry::entity_type</a> <a class="code" href="namespaceentt.html#a588326af8f6f902a6c0b57d3f9fc6c17">null</a> = <a class="code" href="namespaceentt.html#a588326af8f6f902a6c0b57d3f9fc6c17">entt::null</a>;</div></div><!-- fragment --><p>Similarly, the null entity can be compared to any other identifier:</p>
<div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> entity = registry.<a class="code" href="classentt_1_1Registry.html#a433ac3fc8ea49347f691dd4ad1ccb58b">create</a>();</div><div class="line"><span class="keyword">const</span> <span class="keywordtype">bool</span> null = (entity == <a class="code" href="namespaceentt.html#a588326af8f6f902a6c0b57d3f9fc6c17">entt::null</a>);</div></div><!-- fragment --><h2><a class="anchor" id="autotoc_md34"></a>
View: to persist or not to persist?</h2>
<p>First of all, it is worth answering an obvious question: why views?<br />
Roughly speaking, they are a good tool to enforce single responsibility. A system that has access to a registry can create and destroy entities, as well as assign and remove components. On the other side, a system that has access to a view can only iterate entities and their components, then read or update the data members of the latter.<br />
It is a subtle difference that can help designing a better software sometimes.</p>
<p>There are mainly three kinds of views: standard (also known as <code>View</code>), persistent (also known as <code>PersistentView</code>) and raw (also known as <code>RawView</code>).<br />
<p>There are mainly four kinds of views: standard (also known as <code>View</code>), persistent (also known as <code>PersistentView</code>), raw (also known as <code>RawView</code>) and runtime (also known as <code>RuntimeView</code>).<br />
All of them have pros and cons to take in consideration. In particular:</p>
<ul>
<li><p class="startli">Standard views:</p>
@@ -537,6 +539,17 @@ View: to persist or not to persist?</h2>
<li>They don't return the entity to which a component belongs to the caller.</li>
</ul>
</li>
<li><p class="startli">Runtime views:</p>
<p class="startli">Pros:</p><ul>
<li>Their lists of components are defined at runtime and not at compile-time.</li>
<li>Creating and destroying them isn't expensive at all because they don't have any type of initialization.</li>
<li>They are the best tool for things like plugin systems and mods in general.</li>
<li>They don't affect any other operations of the registry.</li>
</ul>
<p class="startli">Cons:</p><ul>
<li>Their performances are definitely lower than those of all the other views, although they are still usable and sufficient for most of the purposes.</li>
</ul>
</li>
</ul>
<p>To sum up and as a rule of thumb:</p>
<ul>
@@ -548,36 +561,37 @@ View: to persist or not to persist?</h2>
<li>Prepare and use a persistent view when you want to iterate only entities for multiple components.</li>
<li>Prepare and use a persistent view when you want to iterate entities for multiple components and each component is assigned to a great number of entities but the intersection between the sets of entities is small.</li>
<li>Prepare and use a persistent view in all the cases where a standard view wouldn't fit well otherwise.</li>
<li>Finally, in case you don't know at compile-time what are the components to use, choose a runtime view and set them during execution.</li>
</ul>
<p>To easily iterate entities and components, all the views offer the common <code>begin</code> and <code>end</code> member functions that allow users to use a view in a typical range-for loop. Almost all the views offer also a <em>more functional</em> <code>each</code> member function that accepts a callback for convenience.<br />
Continue reading for more details or refer to the inline documentation.</p>
<h3><a class="anchor" id="autotoc_md34"></a>
<h3><a class="anchor" id="autotoc_md35"></a>
Standard View</h3>
<p>A standard view behaves differently if it's constructed for a single component or if it has been requested to iterate multiple components. Even the API is different in the two cases.<br />
All that they share is the way they are created by means of a registry:</p>
<div class="fragment"><div class="line"><span class="comment">// single component standard view</span></div><div class="line"><span class="keyword">auto</span> single = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position&gt;();</div><div class="line"></div><div class="line"><span class="comment">// multi component standard view</span></div><div class="line"><span class="keyword">auto</span> multi = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;();</div></div><!-- fragment --><p>For all that remains, it's worth discussing them separately.<br />
</p>
<h4><a class="anchor" id="autotoc_md35"></a>
<h4><a class="anchor" id="autotoc_md36"></a>
Single component standard view</h4>
<p>Single component standard views are specialized in order to give a boost in terms of performance in all the situation. This kind of views can access the underlying data structures directly and avoid superfluous checks.<br />
They offer a bunch of functionalities to get the number of entities they are going to return and a raw access to the entity list as well as to the component list. It's also possible to ask a view if it contains a given entity.<br />
Refer to the inline documentation for all the details.</p>
<p>There is no need to store views around for they are extremely cheap to construct, even though they can be copied without problems and reused freely. In fact, they return newly created and correctly initialized iterators whenever <code>begin</code> or <code>end</code> are invoked.<br />
To iterate a single component standard view, either use it in range-for loop:</p>
To iterate a single component standard view, either use it in a range-for loop:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;();</div><div class="line"></div><div class="line"><span class="keywordflow">for</span>(<span class="keyword">auto</span> entity: view) {</div><div class="line"> Renderable &amp;renderable = view.get(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>Or rely on the <code>each</code> member function to iterate entities and get all their components at once:</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;().each([](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;renderable) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>Performance are more or less the same. The best approach depends mainly on whether all the components have to be accessed or not.</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;().each([](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;renderable) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>The <code>each</code> member function is highly optimized. Unless users want to iterate only entities, using <code>each</code> should be the preferred approach.</p>
<p><b>Note</b>: prefer the <code>get</code> member function of a view instead of the <code>get</code> member function template of a registry during iterations, if possible. However, keep in mind that it works only with the components of the view itself.</p>
<h4><a class="anchor" id="autotoc_md36"></a>
<h4><a class="anchor" id="autotoc_md37"></a>
Multi component standard view</h4>
<p>Multi component standard views iterate entities that have at least all the given components in their bags. During construction, these views look at the number of entities available for each component and pick up a reference to the smallest set of candidates in order to speed up iterations.<br />
They offer fewer functionalities than their companion views for single component. In particular, a multi component standard view exposes utility functions to get the estimated number of entities it is going to return and to know whether it's empty or not. It's also possible to ask a view if it contains a given entity.<br />
Refer to the inline documentation for all the details.</p>
<p>There is no need to store views around for they are extremely cheap to construct, even though they can be copied without problems and reused freely. In fact, they return newly created and correctly initialized iterators whenever <code>begin</code> or <code>end</code> are invoked.<br />
To iterate a multi component standard view, either use it in range-for loop:</p>
To iterate a multi component standard view, either use it in a range-for loop:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;();</div><div class="line"></div><div class="line"><span class="keywordflow">for</span>(<span class="keyword">auto</span> entity: view) {</div><div class="line"> <span class="comment">// a component at a time ...</span></div><div class="line"> Position &amp;position = view.get&lt;Position&gt;(entity);</div><div class="line"> Velocity &amp;velocity = view.get&lt;Velocity&gt;(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ... or multiple components at once</span></div><div class="line"> std::tuple&lt;Position &amp;, Velocity &amp;&gt; tup = view.get&lt;Position, Velocity&gt;(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>Or rely on the <code>each</code> member function to iterate entities and get all their components at once:</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;().each([](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;position, <span class="keyword">auto</span> &amp;velocity) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>Performance are more or less the same. The best approach depends mainly on whether all the components have to be accessed or not.</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;().each([](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;position, <span class="keyword">auto</span> &amp;velocity) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>The <code>each</code> member function is highly optimized. Unless users want to iterate only entities or get only some of the components, using <code>each</code> should be the preferred approach.</p>
<p><b>Note</b>: prefer the <code>get</code> member function of a view instead of the <code>get</code> member function template of a registry during iterations, if possible. However, keep in mind that it works only with the components of the view itself.</p>
<h3><a class="anchor" id="autotoc_md37"></a>
<h3><a class="anchor" id="autotoc_md38"></a>
Persistent View</h3>
<p>A persistent view returns all the entities and only the entities that have at least the given components. Moreover, it's guaranteed that the entity list is tightly packed in memory for fast iterations.<br />
In general, persistent views don't stay true to the order of any set of components unless users explicitly sort them.</p>
@@ -587,20 +601,32 @@ Persistent View</h3>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#ac05c9ccc5fe57df386d8104578fc9675">prepare</a>&lt;Position, Velocity&gt;();</div></div><!-- fragment --><p>If the registry is empty, preparation is extremely fast. Moreover the <code>prepare</code> member function template is idempotent. Feel free to invoke it even more than once: if the view has been already prepared before, the function returns immediately and does nothing.</p>
<p>A persistent view offers a bunch of functionalities to get the number of entities it's going to return, a raw access to the entity list and the possibility to sort the underlying data structures according to the order of one of the components for which it has been constructed. It's also possible to ask a view if it contains a given entity.<br />
Refer to the inline documentation for all the details.</p>
<p>To iterate a persistent view, either use it in range-for loop:</p>
<p>To iterate a persistent view, either use it in a range-for loop:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;(<a class="code" href="structentt_1_1persistent__t.html">entt::persistent_t</a>{});</div><div class="line"></div><div class="line"><span class="keywordflow">for</span>(<span class="keyword">auto</span> entity: view) {</div><div class="line"> <span class="comment">// a component at a time ...</span></div><div class="line"> Position &amp;position = view.get&lt;Position&gt;(entity);</div><div class="line"> Velocity &amp;velocity = view.get&lt;Velocity&gt;(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ... or multiple components at once</span></div><div class="line"> std::tuple&lt;Position &amp;, Velocity &amp;&gt; tup = view.get&lt;Position, Velocity&gt;(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>Or rely on the <code>each</code> member function to iterate entities and get all their components at once:</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Position, Velocity&gt;(<a class="code" href="structentt_1_1persistent__t.html">entt::persistent_t</a>{}).each([](<span class="keyword">auto</span> entity, <span class="keyword">auto</span> &amp;position, <span class="keyword">auto</span> &amp;velocity) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>Performance are more or less the same. The best approach depends mainly on whether all the components have to be accessed or not.</p>
<p><b>Note</b>: prefer the <code>get</code> member function of a view instead of the <code>get</code> member function template of a registry during iterations, if possible. However, keep in mind that it works only with the components of the view itself.</p>
<h3><a class="anchor" id="autotoc_md38"></a>
<h3><a class="anchor" id="autotoc_md39"></a>
Raw View</h3>
<p>Raw views return all the components of a given type. This kind of views can access components directly and avoid extra indirections like when components are accessed via an entity identifier.<br />
They offer a bunch of functionalities to get the number of instances they are going to return and a raw access to the entity list as well as to the component list.<br />
Refer to the inline documentation for all the details.</p>
<p>Raw views can be used only to iterate components for a single type. To create this kind of views, the tag <code>raw_t</code> must also be used in order to disambiguate overloads of the <code>view</code> member function:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;(<a class="code" href="structentt_1_1raw__t.html">entt::raw_t</a>{});</div></div><!-- fragment --><p>There is no need to store views around for they are extremely cheap to construct, even though they can be copied without problems and reused freely. In fact, they return newly created and correctly initialized iterators whenever <code>begin</code> or <code>end</code> are invoked.<br />
To iterate a raw view, use it in range-for loop:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;(<a class="code" href="structentt_1_1raw__t.html">entt::raw_t</a>{});</div><div class="line"></div><div class="line"><span class="keywordflow">for</span>(<span class="keyword">auto</span> &amp;&amp;component: raw) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p><b>Note</b>: raw views don't have the <code>each</code> nor the <code>get</code> member function for obvious reasons. The former would only return the components and therefore it would be redundant, the latter isn't required at all.</p>
<h3><a class="anchor" id="autotoc_md39"></a>
To iterate a raw view, use it in a range-for loop:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;(<a class="code" href="structentt_1_1raw__t.html">entt::raw_t</a>{});</div><div class="line"></div><div class="line"><span class="keywordflow">for</span>(<span class="keyword">auto</span> &amp;&amp;component: raw) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>Or rely on the <code>each</code> member function:</p>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>&lt;Renderable&gt;(<a class="code" href="structentt_1_1raw__t.html">entt::raw_t</a>{}).each([](<span class="keyword">auto</span> &amp;renderable) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>Performance are exactly the same in both cases.</p>
<p><b>Note</b>: raw views don't have a <code>get</code> member function for obvious reasons.</p>
<h3><a class="anchor" id="autotoc_md40"></a>
Runtime View</h3>
<p>Runtime views iterate entities that have at least all the given components in their bags. During construction, these views look at the number of entities available for each component and pick up a reference to the smallest set of candidates in order to speed up iterations.<br />
They offer more or less the same functionalities of a multi component standard view. However, they don't expose a <code>get</code> member function and users should refer to the registry that generated the view to access components. In particular, a runtime view exposes utility functions to get the estimated number of entities it is going to return and to know whether it's empty or not. It's also possible to ask a view if it contains a given entity.<br />
Refer to the inline documentation for all the details.</p>
<p>Runtime view are extremely cheap to construct and should not be stored around in any case. They should be used immediately after creation and then they should be thrown away. The reasons for this go far beyond the scope of this document.<br />
To iterate a runtime view, either use it in a range-for loop:</p>
<div class="fragment"><div class="line"><span class="keyword">using</span> component_type = <span class="keyword">typename</span> decltype(registry)::component_type;</div><div class="line">component_type types[] = { registry.<a class="code" href="classentt_1_1Registry.html#a682552d500d7768b5d9d4e5f547cdfaf">type</a>&lt;Position&gt;(), registry.<a class="code" href="classentt_1_1Registry.html#a682552d500d7768b5d9d4e5f547cdfaf">type</a>&lt;Velocity&gt;() };</div><div class="line"></div><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>(std::cbegin(types), std::cend(types));</div><div class="line"></div><div class="line"><span class="keywordflow">for</span>(<span class="keyword">auto</span> entity: view) {</div><div class="line"> <span class="comment">// a component at a time ...</span></div><div class="line"> Position &amp;position = registry.<a class="code" href="classentt_1_1Registry.html#a2079fb67093feb86b75e9dede6bb6c4d">get</a>&lt;Position&gt;(entity);</div><div class="line"> Velocity &amp;velocity = registry.<a class="code" href="classentt_1_1Registry.html#a2079fb67093feb86b75e9dede6bb6c4d">get</a>&lt;Velocity&gt;(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ... or multiple components at once</span></div><div class="line"> std::tuple&lt;Position &amp;, Velocity &amp;&gt; tup = view.get&lt;Position, Velocity&gt;(entity);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>Or rely on the <code>each</code> member function to iterate entities:</p>
<div class="fragment"><div class="line"><span class="keyword">using</span> component_type = <span class="keyword">typename</span> decltype(registry)::component_type;</div><div class="line">component_type types[] = { registry.<a class="code" href="classentt_1_1Registry.html#a682552d500d7768b5d9d4e5f547cdfaf">type</a>&lt;Position&gt;(), registry.<a class="code" href="classentt_1_1Registry.html#a682552d500d7768b5d9d4e5f547cdfaf">type</a>&lt;Velocity&gt;() };</div><div class="line"></div><div class="line"><span class="keyword">auto</span> view = registry.<a class="code" href="classentt_1_1Registry.html#aed83d4c8f80ae647ee73f2a8440fa09d">view</a>(std::cbegin(types), std::cend(types)).each([](<span class="keyword">auto</span> entity) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>Performance are exactly the same in both cases.</p>
<p><b>Note</b>: runtime views are meant for all those cases where users don't know at compile-time what components to use to iterate entities. This is particularly well suited to plugin systems and mods in general. Where possible, don't use runtime views, as their performance are slightly inferior to those of the other views.</p>
<h3><a class="anchor" id="autotoc_md41"></a>
Give me everything</h3>
<p>Views are narrow windows on the entire list of entities. They work by filtering entities according to their components.<br />
In some cases there may be the need to iterate all the entities still in use regardless of their components. The registry offers a specific member function to do that:</p>
@@ -612,60 +638,67 @@ Give me everything</h3>
<div class="fragment"><div class="line">registry.<a class="code" href="classentt_1_1Registry.html#ada2900e50f66573c14821baac03bbd68">orphans</a>([](<span class="keyword">auto</span> entity) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">});</div></div><!-- fragment --><p>To test the <em>orphanity</em> of a single entity, use the member function <code>orphan</code> instead. It accepts a valid entity identifer as an argument and returns true in case the entity is an orphan, false otherwise.</p>
<p>In general, all these functions can result in poor performance.<br />
<code>each</code> is fairly slow because of some checks it performs on each and every entity. For similar reasons, <code>orphans</code> can be even slower. Both functions should not be used frequently to avoid the risk of a performance hit.</p>
<h2><a class="anchor" id="autotoc_md40"></a>
Side notes</h2>
<h2><a class="anchor" id="autotoc_md42"></a>
Iterations: what is allowed and what is not</h2>
<p>Most of the <em>ECS</em> available out there have some annoying limitations (at least from my point of view): entities and components cannot be created nor destroyed during iterations.<br />
<code>EnTT</code> partially solves the problem with a few limitations:</p>
<ul>
<li>Entity identifiers are numbers and nothing more. They are not classes and they have no member functions at all. As already mentioned, do no try to inspect or modify an entity descriptor in any way.</li>
<li>As shown in the examples above, the preferred way to get references to the components while iterating a view is by using the view itself. It's a faster alternative to the <code>get</code> member function template that is part of the API of the <code>Registry</code>. This is because the registry must ensure that a pool for the given component exists before to use it; on the other side, views force the construction of the pools for all their components and access them directly, thus avoiding all the checks.</li>
<li><p class="startli">Most of the <em>ECS</em> available out there have some annoying limitations (at least from my point of view): entities and components cannot be created and/or destroyed during iterations.<br />
<code>EnTT</code> partially solves the problem with a few limitations:</p><ul>
<li>Creating entities and components is allowed during iterations.</li>
<li>Deleting an entity or removing its components is allowed during iterations if it's the one currently returned by a view. For all the other entities, destroying them or removing their components isn't allowed and it can result in undefined behavior.</li>
<li>Deleting an entity or removing its components is allowed during iterations if it's the one currently returned by the view. For all the other entities, destroying them or removing their components isn't allowed and it can result in undefined behavior.</li>
</ul>
<p class="startli">Iterators are invalidated and the behavior is undefined if an entity is modified or destroyed and it's not the one currently returned by the view.<br />
To work around it, possible approaches are:</p><ul>
<p>Iterators are invalidated and the behavior is undefined if an entity is modified or destroyed and it's not the one currently returned by the view nor a newly created one.<br />
To work around it, possible approaches are:</p>
<ul>
<li>Store aside the entities and the components to be removed and perform the operations at the end of the iteration.</li>
<li>Mark entities and components with a proper tag component that indicates they must be purged, then perform a second iteration to clean them up one by one.</li>
</ul>
</li>
<li>Views and thus their iterators aren't thread safe. Do no try to iterate a set of components and modify the same set concurrently.<br />
That being said, as long as a thread iterates the entities that have the component <code>X</code> or assign and removes that component from a set of entities, another thread can safely do the same with components <code>Y</code> and <code>Z</code> and everything will work like a charm.<br />
As a trivial example, users can freely execute the rendering system and iterate the renderable entities while updating a physic component concurrently on a separate thread.</li>
<li>In general, the entire registry isn't thread safe as it is. Thread safety isn't something that users should want out of the box for several reasons. Just to mention one of them: performance.<br />
This kind of entity-component systems can be used in single threaded applications as well as along with async stuff. Moreover, typical thread based models for ECS don't require a fully thread safe registry to work. Actually one could reach the goal with the registry as it is while working with most of the common models, after all.<br />
Because of the few reasons mentioned above and many others not mentioned, users are completely responsible for synchronization whether required.</li>
<p>A notable side effect of this feature is that the number of required allocations is further reduced in most of the cases.</p>
<h2><a class="anchor" id="autotoc_md43"></a>
Multithreading</h2>
<p>In general, the entire registry isn't thread safe as it is. Thread safety isn't something that users should want out of the box for several reasons. Just to mention one of them: performance.<br />
Views and consequently the approach adopted by <code>EnTT</code> are the great exception to the rule. It's true that views and thus their iterators aren't thread safe by themselves. Because of this users shouldn't try to iterate a set of components and modify the same set concurrently. However:</p>
<ul>
<li>As long as a thread iterates the entities that have the component <code>X</code> or assign and removes that component from a set of entities, another thread can safely do the same with components <code>Y</code> and <code>Z</code> and everything will work like a charm. As a trivial example, users can freely execute the rendering system and iterate the renderable entities while updating a physic component concurrently on a separate thread.</li>
<li>Similarly, a single set of components can be iterated by multiple threads as long as the components are neither assigned nor removed in the meantime. In other words, a hypothetical movement system can start multiple threads, each of which will access the components that carry information about velocity and position for its entities.</li>
</ul>
<h1><a class="anchor" id="autotoc_md41"></a>
<p>This kind of entity-component systems can be used in single threaded applications as well as along with async stuff or multiple threads. Moreover, typical thread based models for <em>ECS</em> don't require a fully thread safe registry to work. Actually, users can reach the goal with the registry as it is while working with most of the common models.</p>
<p>Because of the few reasons mentioned above and many others not mentioned, users are completely responsible for synchronization whether required. On the other hand, they could get away with it without having to resort to particular expedients.</p>
<h1><a class="anchor" id="autotoc_md44"></a>
Crash Course: core functionalities</h1>
<p>The <code>EnTT</code> framework comes with a bunch of core functionalities mostly used by the other parts of the library itself.<br />
Hardly users of the framework will include these features in their code, but it's worth describing what <code>EnTT</code> offers so as not to reinvent the wheel in case of need.</p>
<h2><a class="anchor" id="autotoc_md42"></a>
<h2><a class="anchor" id="autotoc_md45"></a>
Compile-time identifiers</h2>
<p>Sometimes it's useful to be able to give unique identifiers to types at compile-time.<br />
There are plenty of different solutions out there and I could have used one of them. However, I decided to spend my time to define a compact and versatile tool that fully embraces what the modern C++ has to offer.</p>
<p>The <em>result of my efforts</em> is the <code>ident</code> <code>constexpr</code> variable:</p>
<div class="fragment"><div class="line"><span class="preprocessor">#include &lt;ident.hpp&gt;</span></div><div class="line"></div><div class="line"><span class="comment">// defines the identifiers for the given types</span></div><div class="line">constexpr <span class="keyword">auto</span> identifiers = entt::ident&lt;AType, AnotherType&gt;;</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="keywordflow">switch</span>(aTypeIdentifier) {</div><div class="line"><span class="keywordflow">case</span> identifers.get&lt;AType&gt;():</div><div class="line"> <span class="comment">// ...</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"><span class="keywordflow">case</span> identifers.get&lt;AnotherType&gt;():</div><div class="line"> <span class="comment">// ...</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"><span class="keywordflow">default</span>:</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>This is all what the variable has to offer: a <code>get</code> member function that returns a numerical identifier for the given type. It can be used in any context where constant expressions are required.</p>
<p>The <em>result of my efforts</em> is the <code>Identifier</code> class template:</p>
<div class="fragment"><div class="line"><span class="preprocessor">#include &lt;ident.hpp&gt;</span></div><div class="line"></div><div class="line"><span class="comment">// defines the identifiers for the given types</span></div><div class="line"><span class="keyword">using</span> ID = <a class="code" href="classentt_1_1Identifier.html">entt::Identifier&lt;AType, AnotherType&gt;</a>;</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="keywordflow">switch</span>(aTypeIdentifier) {</div><div class="line"><span class="keywordflow">case</span> ID::get&lt;AType&gt;():</div><div class="line"> <span class="comment">// ...</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"><span class="keywordflow">case</span> ID::get&lt;AnotherType&gt;():</div><div class="line"> <span class="comment">// ...</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"><span class="keywordflow">default</span>:</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>This is all what the class template has to offer: a static <code>get</code> member function that returns a numerical identifier for the given type. It can be used in any context where constant expressions are required.</p>
<p>As long as the list remains unchanged, identifiers are also guaranteed to be the same for every run. In case they have been used in a production environment and a type has to be removed, one can just use a placeholder to left the other identifiers unchanged:</p>
<div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span>&gt; <span class="keyword">struct </span>IgnoreType {};</div><div class="line"></div><div class="line">constexpr <span class="keyword">auto</span> identifiers = <a class="code" href="namespaceentt.html#a02c0c4d37a2cdf573029814c1903de3c">entt::ident</a>&lt;</div><div class="line"> ATypeStillValid,</div><div class="line"> IgnoreType&lt;ATypeNoLongerValid&gt;,</div><div class="line"> AnotherTypeStillValid</div><div class="line">&gt;;</div></div><!-- fragment --><p>A bit ugly to see, but it works at least.</p>
<h2><a class="anchor" id="autotoc_md43"></a>
<div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span>&gt; <span class="keyword">struct </span>IgnoreType {};</div><div class="line"></div><div class="line"><span class="keyword">using</span> ID = <a class="code" href="classentt_1_1Identifier.html">entt::Identifier</a>&lt;</div><div class="line"> ATypeStillValid,</div><div class="line"> IgnoreType&lt;ATypeNoLongerValid&gt;,</div><div class="line"> AnotherTypeStillValid</div><div class="line">&gt;;</div></div><!-- fragment --><p>A bit ugly to see, but it works at least.</p>
<h2><a class="anchor" id="autotoc_md46"></a>
Runtime identifiers</h2>
<p>Sometimes it's useful to be able to give unique identifiers to types at runtime.<br />
There are plenty of different solutions out there and I could have used one of them. In fact, I adapted the most common one to my requirements and used it extensively within the entire framework.</p>
<p>It's the <code>Family</code> class. Here is an example of use directly from the entity-component system:</p>
<div class="fragment"><div class="line"><span class="keyword">using</span> component_family = <a class="code" href="classentt_1_1Family.html">entt::Family&lt;struct InternalRegistryComponentFamily&gt;</a>;</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Component&gt;</div><div class="line">component_type component() const noexcept {</div><div class="line"> <span class="keywordflow">return</span> component_family::type&lt;Component&gt;();</div><div class="line">}</div></div><!-- fragment --><p>This is all what a <em>family</em> has to offer: a <code>type</code> member function that returns a numerical identifier for the given type.</p>
<p>Please, note that identifiers aren't guaranteed to be the same for every run. Indeed it mostly depends on the flow of execution.</p>
<h2><a class="anchor" id="autotoc_md44"></a>
<h2><a class="anchor" id="autotoc_md47"></a>
Hashed strings</h2>
<p>A hashed string is a zero overhead resource identifier. Users can use human-readable identifiers in the codebase while using their numeric counterparts at runtime, thus without affecting performance.<br />
The class has an implicit <code>constexpr</code> constructor that chews a bunch of characters. Once created, all what one can do with it is getting back the original string or converting it into a number.<br />
The good part is that a hashed string can be used wherever a constant expression is required and no <em>string-to-number</em> conversion will take place at runtime if used carefully.</p>
<p>Example of use:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> load(<a class="code" href="classentt_1_1HashedString.html#af511100177b5e0213bf5b0efb3f4f528">entt::HashedString::hash_type</a> resource) {</div><div class="line"> <span class="comment">// uses the numeric representation of the resource to load and return it</span></div><div class="line">}</div><div class="line"></div><div class="line"><span class="keyword">auto</span> resource = load(<a class="code" href="classentt_1_1HashedString.html">entt::HashedString</a>{<span class="stringliteral">&quot;gui/background&quot;</span>});</div></div><!-- fragment --><h3><a class="anchor" id="autotoc_md45"></a>
<div class="fragment"><div class="line"><span class="keyword">auto</span> load(<a class="code" href="classentt_1_1HashedString.html#af511100177b5e0213bf5b0efb3f4f528">entt::HashedString::hash_type</a> resource) {</div><div class="line"> <span class="comment">// uses the numeric representation of the resource to load and return it</span></div><div class="line">}</div><div class="line"></div><div class="line"><span class="keyword">auto</span> resource = load(<a class="code" href="classentt_1_1HashedString.html">entt::HashedString</a>{<span class="stringliteral">&quot;gui/background&quot;</span>});</div></div><!-- fragment --><h3><a class="anchor" id="autotoc_md48"></a>
Conflicts</h3>
<p>The hashed string class uses internally FNV-1a to compute the numeric counterpart of a string. Because of the <em>pigeonhole principle</em>, conflicts are possible. This is a fact.<br />
There is no silver bullet to solve the problem of conflicts when dealing with hashing functions. In this case, the best solution seemed to be to give up. That's all.<br />
After all, human-readable resource identifiers aren't something strictly defined and over which users have not the control. Choosing a slightly different identifier is probably the best solution to make the conflict disappear in this case.</p>
<h1><a class="anchor" id="autotoc_md46"></a>
<h2><a class="anchor" id="autotoc_md49"></a>
Monostate</h2>
<p>The monostate pattern is often presented as an alternative to a singleton based configuration system. This is exactly its purpose in <code>EnTT</code>. Moreover, this implementation is thread safe by design (hopefully).<br />
Keys are represented by hashed strings, values are basic types like <code>int</code>s or <code>bool</code>s. Values of different types can be associated to each key, even more than one at a time. Because of this, users must pay attention to use the same type both during an assignment and when they try to read back their data. Otherwise, they will probably incur in unexpected results.</p>
<p>Example of use:</p>
<div class="fragment"><div class="line"><a class="code" href="structentt_1_1Monostate.html">entt::Monostate</a>&lt;<a class="code" href="classentt_1_1HashedString.html">entt::HashedString</a>{<span class="stringliteral">&quot;mykey&quot;</span>}&gt;{} = <span class="keyword">true</span>;</div><div class="line"><a class="code" href="structentt_1_1Monostate.html">entt::Monostate</a>&lt;<span class="stringliteral">&quot;mykey&quot;</span>_hs&gt;{} = 42;</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="keyword">const</span> <span class="keywordtype">bool</span> b = <a class="code" href="structentt_1_1Monostate.html">entt::Monostate</a>&lt;<span class="stringliteral">&quot;mykey&quot;</span>_hs&gt;{};</div><div class="line"><span class="keyword">const</span> <span class="keywordtype">int</span> i = <a class="code" href="structentt_1_1Monostate.html">entt::Monostate</a>&lt;<a class="code" href="classentt_1_1HashedString.html">entt::HashedString</a>{<span class="stringliteral">&quot;mykey&quot;</span>}&gt;{};</div></div><!-- fragment --><h1><a class="anchor" id="autotoc_md50"></a>
Crash Course: service locator</h1>
<p>Usually service locators are tightly bound to the services they expose and it's hard to define a general purpose solution. This template based implementation tries to fill the gap and to get rid of the burden of defining a different specific locator for each application.<br />
This class is tiny, partially unsafe and thus risky to use. Moreover it doesn't fit probably most of the scenarios in which a service locator is required. Look at it as a small tool that can sometimes be useful if the user knows how to handle it.</p>
@@ -673,11 +706,11 @@ Crash Course: service locator</h1>
The locator is instantiated with the base type of the service if any and a concrete implementation is provided along with all the parameters required to initialize it. As an example:</p>
<div class="fragment"><div class="line"><span class="comment">// the service has no base type, a locator is used to treat it as a kind of singleton</span></div><div class="line"><a class="code" href="structentt_1_1ServiceLocator.html#abf8d8b8d70ed082d54516def7500ec5c">entt::ServiceLocator&lt;MyService&gt;::set</a>(params...);</div><div class="line"></div><div class="line"><span class="comment">// sets up an opaque service</span></div><div class="line"><a class="code" href="structentt_1_1ServiceLocator.html">entt::ServiceLocator&lt;AudioInterface&gt;::set</a>&lt;AudioImplementation&gt;(params...);</div><div class="line"></div><div class="line"><span class="comment">// resets (destroys) the service</span></div><div class="line"><a class="code" href="structentt_1_1ServiceLocator.html#ac52892a5692c15c8b230a5020adb0847">entt::ServiceLocator&lt;AudioInterface&gt;::reset</a>();</div></div><!-- fragment --><p>The locator can also be queried to know if an active service is currently set and to retrieve it if necessary (either as a pointer or as a reference):</p>
<div class="fragment"><div class="line"><span class="comment">// no service currently set</span></div><div class="line"><span class="keyword">auto</span> empty = <a class="code" href="structentt_1_1ServiceLocator.html#afb0038914d828b6b3483484cc906ec44">entt::ServiceLocator&lt;AudioInterface&gt;::empty</a>();</div><div class="line"></div><div class="line"><span class="comment">// gets a (possibly empty) shared pointer to the service ...</span></div><div class="line">std::shared_ptr&lt;AudioInterface&gt; ptr = <a class="code" href="structentt_1_1ServiceLocator.html#a87a0d27f2ce4ac8a94229e32853503ca">entt::ServiceLocator&lt;AudioInterface&gt;::get</a>();</div><div class="line"></div><div class="line"><span class="comment">// ... or a reference, but it&#39;s undefined behaviour if the service isn&#39;t set yet</span></div><div class="line">AudioInterface &amp;ref = <a class="code" href="structentt_1_1ServiceLocator.html#a746c27214142cdd98c650c9cc66bf165">entt::ServiceLocator&lt;AudioInterface&gt;::ref</a>();</div></div><!-- fragment --><p>A common use is to wrap the different locators in a container class, creating aliases for the various services:</p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Locator {</div><div class="line"> <span class="keyword">using</span> Camera = <a class="code" href="structentt_1_1ServiceLocator.html">entt::ServiceLocator&lt;CameraInterface&gt;</a>;</div><div class="line"> <span class="keyword">using</span> Audio = <a class="code" href="structentt_1_1ServiceLocator.html">entt::ServiceLocator&lt;AudioInterface&gt;</a>;</div><div class="line"> <span class="comment">// ...</span></div><div class="line">};</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="keywordtype">void</span> init() {</div><div class="line"> Locator::Camera::set&lt;CameraNull&gt;();</div><div class="line"> Locator::Audio::set&lt;AudioImplementation&gt;(params...);</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><h1><a class="anchor" id="autotoc_md47"></a>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Locator {</div><div class="line"> <span class="keyword">using</span> Camera = <a class="code" href="structentt_1_1ServiceLocator.html">entt::ServiceLocator&lt;CameraInterface&gt;</a>;</div><div class="line"> <span class="keyword">using</span> Audio = <a class="code" href="structentt_1_1ServiceLocator.html">entt::ServiceLocator&lt;AudioInterface&gt;</a>;</div><div class="line"> <span class="comment">// ...</span></div><div class="line">};</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="keywordtype">void</span> init() {</div><div class="line"> Locator::Camera::set&lt;CameraNull&gt;();</div><div class="line"> Locator::Audio::set&lt;AudioImplementation&gt;(params...);</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><h1><a class="anchor" id="autotoc_md51"></a>
Crash Course: cooperative scheduler</h1>
<p>Sometimes processes are a useful tool to work around the strict definition of a system and introduce logic in a different way, usually without resorting to the introduction of other components.</p>
<p>The <code>EnTT</code> framework offers a minimal support to this paradigm by introducing a few classes that users can use to define and execute cooperative processes.</p>
<h2><a class="anchor" id="autotoc_md48"></a>
<h2><a class="anchor" id="autotoc_md52"></a>
The process</h2>
<p>A typical process must inherit from the <code>Process</code> class template that stays true to the CRTP idiom. Moreover, derived classes must specify what's the intended type for elapsed times.</p>
<p>A process should expose publicly the following member functions whether required (note that it isn't required to define a function unless the derived class wants to <em>override</em> the default behavior):</p>
@@ -700,7 +733,7 @@ The process</h2>
</ul>
<p>Derived classes can also change the internal state of a process by invoking <code>succeed</code> and <code>fail</code>, as well as <code>pause</code> and <code>unpause</code> the process itself. All these are protected member functions made available to be able to manage the life cycle of a process from a derived class.</p>
<p>Here is a minimal example for the sake of curiosity:</p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>MyProcess: <a class="code" href="classentt_1_1Process.html">entt::Process</a>&lt;MyProcess, std::uint32_t&gt; {</div><div class="line"> <span class="keyword">using</span> delta_type = std::uint32_t;</div><div class="line"></div><div class="line"> <span class="keywordtype">void</span> update(delta_type delta, <span class="keywordtype">void</span> *) {</div><div class="line"> remaining = delta &gt; remaining ? delta_type{] : (remaining - delta);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line"></div><div class="line"> <span class="keywordflow">if</span>(!remaining) {</div><div class="line"> <a class="code" href="classentt_1_1Process.html#ae90a29bf2afabf6a14aec0e1d3809a0f">succeed</a>();</div><div class="line"> }</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="keywordtype">void</span> init(<span class="keywordtype">void</span> *data) {</div><div class="line"> remaining = *<span class="keyword">static_cast&lt;</span>delta_type *<span class="keyword">&gt;</span>(data);</div><div class="line"> }</div><div class="line"></div><div class="line"><span class="keyword">private</span>:</div><div class="line"> delta_type remaining;</div><div class="line">};</div></div><!-- fragment --><h3><a class="anchor" id="autotoc_md49"></a>
<div class="fragment"><div class="line"><span class="keyword">struct </span>MyProcess: <a class="code" href="classentt_1_1Process.html">entt::Process</a>&lt;MyProcess, std::uint32_t&gt; {</div><div class="line"> <span class="keyword">using</span> delta_type = std::uint32_t;</div><div class="line"></div><div class="line"> <span class="keywordtype">void</span> update(delta_type delta, <span class="keywordtype">void</span> *) {</div><div class="line"> remaining = delta &gt; remaining ? delta_type{] : (remaining - delta);</div><div class="line"></div><div class="line"> <span class="comment">// ...</span></div><div class="line"></div><div class="line"> <span class="keywordflow">if</span>(!remaining) {</div><div class="line"> <a class="code" href="classentt_1_1Process.html#ae90a29bf2afabf6a14aec0e1d3809a0f">succeed</a>();</div><div class="line"> }</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="keywordtype">void</span> init(<span class="keywordtype">void</span> *data) {</div><div class="line"> remaining = *<span class="keyword">static_cast&lt;</span>delta_type *<span class="keyword">&gt;</span>(data);</div><div class="line"> }</div><div class="line"></div><div class="line"><span class="keyword">private</span>:</div><div class="line"> delta_type remaining;</div><div class="line">};</div></div><!-- fragment --><h3><a class="anchor" id="autotoc_md53"></a>
Adaptor</h3>
<p>Lambdas and functors can't be used directly with a scheduler for they are not properly defined processes with managed life cycles.<br />
This class helps in filling the gap and turning lambdas and functors into full featured processes usable by a scheduler.</p>
@@ -714,14 +747,14 @@ Adaptor</h3>
</ul>
<p>Both <code>succeed</code> and <code>fail</code> accept no parameters at all.</p>
<p>Note that usually users shouldn't worry about creating adaptors at all. A scheduler creates them internally each and every time a lambda or a functor is used as a process.</p>
<h2><a class="anchor" id="autotoc_md50"></a>
<h2><a class="anchor" id="autotoc_md54"></a>
The scheduler</h2>
<p>A cooperative scheduler runs different processes and helps managing their life cycles.</p>
<p>Each process is invoked once per tick. If it terminates, it's removed automatically from the scheduler and it's never invoked again. Otherwise it's a good candidate to run once more the next tick.<br />
A process can also have a child. In this case, the process is replaced with its child when it terminates if it returns with success. In case of errors, both the process and its child are discarded. This way, it's easy to create chain of processes to run sequentially.</p>
<p>Using a scheduler is straightforward. To create it, users must provide only the type for the elapsed times and no arguments at all:</p>
<div class="fragment"><div class="line">Scheduler&lt;std::uint32_t&gt; scheduler;</div></div><!-- fragment --><p>It has member functions to query its internal data structures, like <code>empty</code> or <code>size</code>, as well as a <code>clear</code> utility to reset it to a clean state:</p>
<div class="fragment"><div class="line"><span class="comment">// checks if there are processes still running</span></div><div class="line"><span class="keywordtype">bool</span> empty = scheduler.empty();</div><div class="line"></div><div class="line"><span class="comment">// gets the number of processes still running</span></div><div class="line">Scheduler&lt;std::uint32_t&gt;::size_type size = scheduler.size();</div><div class="line"></div><div class="line"><span class="comment">// resets the scheduler to its initial state and discards all the processes</span></div><div class="line">scheduler.clear();</div></div><!-- fragment --><p>To attach a process to a scheduler there are mainly two ways:</p>
<div class="fragment"><div class="line"><span class="comment">// checks if there are processes still running</span></div><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> empty = scheduler.empty();</div><div class="line"></div><div class="line"><span class="comment">// gets the number of processes still running</span></div><div class="line">Scheduler&lt;std::uint32_t&gt;::size_type size = scheduler.size();</div><div class="line"></div><div class="line"><span class="comment">// resets the scheduler to its initial state and discards all the processes</span></div><div class="line">scheduler.clear();</div></div><!-- fragment --><p>To attach a process to a scheduler there are mainly two ways:</p>
<ul>
<li>If the process inherits from the <code>Process</code> class template, it's enough to indicate its type and submit all the parameters required to construct it to the <code>attach</code> member function:</li>
</ul>
@@ -732,13 +765,13 @@ The scheduler</h2>
As a minimal example of use:</p>
<div class="fragment"><div class="line"><span class="comment">// schedules a task in the form of a lambda function</span></div><div class="line">scheduler.attach([](<span class="keyword">auto</span> delta, <span class="keywordtype">void</span> *, <span class="keyword">auto</span> succeed, <span class="keyword">auto</span> fail) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">})</div><div class="line"><span class="comment">// appends a child in the form of another lambda function</span></div><div class="line">.then([](<span class="keyword">auto</span> delta, <span class="keywordtype">void</span> *, <span class="keyword">auto</span> succeed, <span class="keyword">auto</span> fail) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">})</div><div class="line"><span class="comment">// appends a child in the form of a process class</span></div><div class="line">.then&lt;MyProcess&gt;();</div></div><!-- fragment --><p>To update a scheduler and thus all its processes, the <code>update</code> member function is the way to go:</p>
<div class="fragment"><div class="line"><span class="comment">// updates all the processes, no user data are provided</span></div><div class="line">scheduler.update(delta);</div><div class="line"></div><div class="line"><span class="comment">// updates all the processes and provides them with custom data</span></div><div class="line">scheduler.update(delta, &amp;data);</div></div><!-- fragment --><p>In addition to these functions, the scheduler offers an <code>abort</code> member function that can be used to discard all the running processes at once:</p>
<div class="fragment"><div class="line"><span class="comment">// aborts all the processes abruptly ...</span></div><div class="line">scheduler.abort(<span class="keyword">true</span>);</div><div class="line"></div><div class="line"><span class="comment">// ... or gracefully during the next tick</span></div><div class="line">scheduler.abort();</div></div><!-- fragment --><h1><a class="anchor" id="autotoc_md51"></a>
<div class="fragment"><div class="line"><span class="comment">// aborts all the processes abruptly ...</span></div><div class="line">scheduler.abort(<span class="keyword">true</span>);</div><div class="line"></div><div class="line"><span class="comment">// ... or gracefully during the next tick</span></div><div class="line">scheduler.abort();</div></div><!-- fragment --><h1><a class="anchor" id="autotoc_md55"></a>
Crash Course: resource management</h1>
<p>Resource management is usually one of the most critical part of a software like a game. Solutions are often tuned to the particular application. There exist several approaches and all of them are perfectly fine as long as they fit the requirements of the piece of software in which they are used.<br />
Examples are loading everything on start, loading on request, predictive loading, and so on.</p>
<p>The <code>EnTT</code> framework doesn't pretend to offer a <em>one-fits-all</em> solution for the different cases. Instead, it offers a minimal and perhaps trivial cache that can be useful most of the time during prototyping and sometimes even in a production environment.<br />
For those interested in the subject, the plan is to improve it considerably over time in terms of performance, memory usage and functionalities. Hoping to make it, of course, one step at a time.</p>
<h2><a class="anchor" id="autotoc_md52"></a>
<h2><a class="anchor" id="autotoc_md56"></a>
The resource, the loader and the cache</h2>
<p>There are three main actors in the model: the resource, the loader and the cache.</p>
<p>The <em>resource</em> is whatever the user wants it to be. An image, a video, an audio, whatever. There are no limits.<br />
@@ -753,7 +786,7 @@ The resource, the loader and the cache</h2>
<div class="fragment"><div class="line"><span class="keyword">using</span> MyResourceCache = <a class="code" href="classentt_1_1ResourceCache.html">entt::ResourceCache&lt;MyResource&gt;</a>;</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line">MyResourceCache cache{};</div></div><!-- fragment --><p>The idea is to create different caches for different types of resources and to manage each one independently and in the most appropriate way.<br />
As a (very) trivial example, audio tracks can survive in most of the scenes of an application while meshes can be associated with a single scene and then discarded when the user leaves it.</p>
<p>A cache offers a set of basic functionalities to query its internal state and to <em>organize</em> it:</p>
<div class="fragment"><div class="line"><span class="comment">// gets the number of resources managed by a cache</span></div><div class="line"><span class="keyword">auto</span> size = cache.size();</div><div class="line"></div><div class="line"><span class="comment">// checks if a cache contains at least a valid resource</span></div><div class="line"><span class="keyword">auto</span> empty = cache.empty();</div><div class="line"></div><div class="line"><span class="comment">// clears a cache and discards its content</span></div><div class="line">cache.clear();</div></div><!-- fragment --><p>Besides these member functions, it contains what is needed to load, use and discard resources of the given type.<br />
<div class="fragment"><div class="line"><span class="comment">// gets the number of resources managed by a cache</span></div><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> size = cache.size();</div><div class="line"></div><div class="line"><span class="comment">// checks if a cache contains at least a valid resource</span></div><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> empty = cache.empty();</div><div class="line"></div><div class="line"><span class="comment">// clears a cache and discards its content</span></div><div class="line">cache.clear();</div></div><!-- fragment --><p>Besides these member functions, it contains what is needed to load, use and discard resources of the given type.<br />
Before to explore this part of the interface, it makes sense to mention how resources are identified. The type of the identifiers to use is defined as:</p>
<div class="fragment"><div class="line"><a class="code" href="classentt_1_1HashedString.html">entt::ResourceCache&lt;Resource&gt;::resource_type</a></div></div><!-- fragment --><p>Where <code>resource_type</code> is an alias for <code><a class="el" href="classentt_1_1HashedString.html" title="Zero overhead resource identifier. ">entt::HashedString</a></code>. Therefore, resource identifiers are created explicitly as in the following example:</p>
<div class="fragment"><div class="line">constexpr <span class="keyword">auto</span> identifier = <a class="code" href="classentt_1_1HashedString.html">entt::ResourceCache&lt;Resource&gt;::resource_type</a>{<span class="stringliteral">&quot;my/resource/identifier&quot;</span>};</div><div class="line"><span class="comment">// this is equivalent to the following</span></div><div class="line">constexpr <span class="keyword">auto</span> hs = <a class="code" href="classentt_1_1HashedString.html">entt::HashedString</a>{<span class="stringliteral">&quot;my/resource/identifier&quot;</span>};</div></div><!-- fragment --><p>The class <code>HashedString</code> is described in a dedicated section, so I won't do in details here.</p>
@@ -782,14 +815,14 @@ The resource, the loader and the cache</h2>
<div class="fragment"><div class="line"><span class="keywordflow">if</span>(handle) {</div><div class="line"> <span class="comment">// ...</span></div><div class="line">}</div></div><!-- fragment --><p>Finally, in case there is the need to load a resource and thus to get a handle without storing the resource itself in the cache, users can rely on the <code>temp</code> member function template.<br />
The declaration is similar to the one of <code>load</code> but for the fact that it doesn't return a boolean value. Instead, it returns a (possibly invalid) handle for the resource:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> handle = cache.temp&lt;MyLoader&gt;(<span class="stringliteral">&quot;another/identifier&quot;</span>, 42);</div></div><!-- fragment --><p>Do not forget to test the handle for validity. Otherwise, getting the reference to the resource it points may result in undefined behavior.</p>
<h1><a class="anchor" id="autotoc_md53"></a>
<h1><a class="anchor" id="autotoc_md57"></a>
Crash Course: events, signals and everything in between</h1>
<p>Signals are usually a core part of games and software architectures in general.<br />
Roughly speaking, they help to decouple the various parts of a system while allowing them to communicate with each other somehow.</p>
<p>The so called _modern C++_ comes with a tool that can be useful in these terms, the <code>std::function</code>. As an example, it can be used to create delegates.<br />
However, there is no guarantee that an <code>std::function</code> does not perform allocations under the hood and this could be problematic sometimes. Furthermore, it solves a problem but may not adapt well to other requirements that may arise from time to time.</p>
<p>In case that the flexibility and potential of an <code>std::function</code> are not required or where you are looking for something different, the <code>EnTT</code> framework offers a full set of classes to solve completely different problems.</p>
<h2><a class="anchor" id="autotoc_md54"></a>
<h2><a class="anchor" id="autotoc_md58"></a>
Signals</h2>
<p>Signal handlers work with naked pointers, function pointers and pointers to member functions. Listeners can be any kind of objects and the user is in charge of connecting and disconnecting them from a signal to avoid crashes due to different lifetimes. On the other side, performance shouldn't be affected that much by the presence of such a signal handler.<br />
A signal handler can be used as a private data member without exposing any <em>publish</em> functionality to the clients of a class. The basic idea is to impose a clear separation between the signal itself and its <em>sink</em> class, that is a tool to be used to connect and disconnect listeners on the fly.</p>
@@ -798,11 +831,11 @@ Signals</h2>
<p><b>Note</b>: collectors are allowed only in case of function types whose the return type isn't <code>void</code> for obvious reasons.</p>
<p>To create instances of signal handlers there exist mainly two ways:</p>
<div class="fragment"><div class="line"><span class="comment">// no collector type</span></div><div class="line"><a class="code" href="classentt_1_1SigH.html">entt::SigH&lt;void(int, char)&gt;</a> signal;</div><div class="line"></div><div class="line"><span class="comment">// explicit collector type</span></div><div class="line"><a class="code" href="classentt_1_1SigH.html">entt::SigH&lt;void(int, char), MyCollector&lt;bool&gt;</a>&gt; collector;</div></div><!-- fragment --><p>As expected, they offer all the basic functionalities required to know how many listeners they contain (<code>size</code>) or if they contain at least a listener (<code>empty</code>) and even to swap two signal handlers (<code>swap</code>).</p>
<p>Besides them, there are member functions to use both to connect and disconnect listeners in all their forms by means of a sink::</p>
<p>Besides them, there are member functions to use both to connect and disconnect listeners in all their forms by means of a sink:</p>
<div class="fragment"><div class="line"><span class="keywordtype">void</span> foo(<span class="keywordtype">int</span>, <span class="keywordtype">char</span>) { <span class="comment">/* ... */</span> }</div><div class="line"></div><div class="line"><span class="keyword">struct </span>S {</div><div class="line"> <span class="keywordtype">void</span> bar(<span class="keywordtype">int</span>, <span class="keywordtype">char</span>) { <span class="comment">/* ... */</span> }</div><div class="line">};</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line">S instance;</div><div class="line"></div><div class="line">signal.sink().connect&lt;&amp;foo&gt;();</div><div class="line">signal.sink().connect&lt;S, &amp;S::bar&gt;(&amp;instance);</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><span class="comment">// disconnects a free function</span></div><div class="line">signal.sink().disconnect&lt;&amp;foo&gt;();</div><div class="line"></div><div class="line"><span class="comment">// disconnect a specific member function of an instance ...</span></div><div class="line">signal.sink().disconnect&lt;S, &amp;S::bar&gt;(&amp;instance);</div><div class="line"></div><div class="line"><span class="comment">// ... or an instance as a whole</span></div><div class="line">signal.sink().disconnect(&amp;instance);</div><div class="line"></div><div class="line"><span class="comment">// discards all the listeners at once</span></div><div class="line">signal.sink().disconnect();</div></div><!-- fragment --><p>Once listeners are attached (or even if there are no listeners at all), events and data in general can be published through a signal by means of the <code>publish</code> member function:</p>
<div class="fragment"><div class="line">signal.publish(42, <span class="charliteral">&#39;c&#39;</span>);</div></div><!-- fragment --><p>To collect data, the <code>collect</code> member function should be used instead. Below is a minimal example to show how to use it:</p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>MyCollector {</div><div class="line"> std::vector&lt;int&gt; vec{};</div><div class="line"></div><div class="line"> <span class="keywordtype">bool</span> operator()(<span class="keywordtype">int</span> v) noexcept {</div><div class="line"> vec.push_back(v);</div><div class="line"> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"> }</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> f() { <span class="keywordflow">return</span> 0; }</div><div class="line"><span class="keywordtype">int</span> g() { <span class="keywordflow">return</span> 1; }</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line"><a class="code" href="classentt_1_1SigH.html">entt::SigH&lt;int(), MyCollector&lt;int&gt;</a>&gt; signal;</div><div class="line"></div><div class="line">signal.sink().connect&lt;&amp;f&gt;();</div><div class="line">signal.sink().connect&lt;&amp;g&gt;();</div><div class="line"></div><div class="line">MyCollector collector = signal.collect();</div><div class="line"></div><div class="line">assert(collector.vec[0] == 0);</div><div class="line">assert(collector.vec[1] == 1);</div></div><!-- fragment --><p>As shown above, a collector must expose a function operator that accepts as an argument a type to which the return type of the listeners can be converted. Moreover, it has to return a boolean value that is false to stop collecting data, true otherwise. This way one can avoid calling all the listeners in case it isn't necessary.</p>
<h2><a class="anchor" id="autotoc_md55"></a>
<h2><a class="anchor" id="autotoc_md59"></a>
Delegate</h2>
<p>A delegate can be used as general purpose invoker with no memory overhead for free functions and member functions provided along with an instance on which to invoke them.<br />
It does not claim to be a drop-in replacement for an <code>std::function</code>, so do not expect to use it whenever an <code>std::function</code> fits well. However, it can be used to send opaque delegates around to be used to invoke functions as needed.</p>
@@ -811,9 +844,10 @@ Delegate</h2>
<p>Attempting to use an empty delegate by invoking its function call operator results in undefined behavior, most likely a crash actually. Before to use a delegate, it must be initialized.<br />
There exist two functions to do that, both named <code>connect</code>:</p>
<div class="fragment"><div class="line"><span class="keywordtype">int</span> f(<span class="keywordtype">int</span> i) { <span class="keywordflow">return</span> i; }</div><div class="line"></div><div class="line"><span class="keyword">struct </span>MyStruct {</div><div class="line"> <span class="keywordtype">int</span> f(<span class="keywordtype">int</span> i) { <span class="keywordflow">return</span> i }</div><div class="line">};</div><div class="line"></div><div class="line"><span class="comment">// bind a free function to the delegate</span></div><div class="line">delegate.connect&lt;&amp;f&gt;();</div><div class="line"></div><div class="line"><span class="comment">// bind a member function to the delegate</span></div><div class="line">MyStruct instance;</div><div class="line">delegate.connect&lt;MyStruct, &amp;MyStruct::f&gt;(&amp;instance);</div></div><!-- fragment --><p>It hasn't a <code>disconnect</code> counterpart. Instead, there exists a <code>reset</code> member function to clear it.<br />
Finally, to invoke a delegate, the function call operator is the way to go as usual:</p>
The <code>empty</code> member function can be used to know if a delegate is empty:</p>
<div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keyword">auto</span> empty = delegate.empty();</div></div><!-- fragment --><p>Finally, to invoke a delegate, the function call operator is the way to go as usual:</p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> ret = delegate(42);</div></div><!-- fragment --><p>Probably too much small and pretty poor of functionalities, but the delegate class can help in a lot of cases and it has shown that it is worth keeping it within the framework.</p>
<h2><a class="anchor" id="autotoc_md56"></a>
<h2><a class="anchor" id="autotoc_md60"></a>
Event dispatcher</h2>
<p>The event dispatcher class is designed so as to be used in a loop. It allows users both to trigger immediate events or to queue events to be published all together once per tick.<br />
This class shares part of its API with the one of the signal handler, but it doesn't require that all the types of events are specified when declared:</p>
@@ -826,7 +860,7 @@ Event dispatcher</h2>
<p>On the other hand, the <code>enqueue</code> member function queues messages together and allows to maintain control over the moment they are sent to listeners. The signature of this method is more or less the same of <code>trigger</code>:</p>
<div class="fragment"><div class="line">dispatcher.enqueue&lt;AnEvent&gt;(42);</div><div class="line">dispatcher.enqueue&lt;AnotherEvent&gt;();</div></div><!-- fragment --><p>Events are stored aside until the <code>update</code> member function is invoked, then all the messages that are still pending are sent to the listeners at once:</p>
<div class="fragment"><div class="line"><span class="comment">// emits all the events of the given type at once</span></div><div class="line">dispatcher.update&lt;MyEvent&gt;();</div><div class="line"></div><div class="line"><span class="comment">// emits all the events queued so far at once</span></div><div class="line">dispatcher.update();</div></div><!-- fragment --><p>This way users can embed the dispatcher in a loop and literally dispatch events once per tick to their systems.</p>
<h2><a class="anchor" id="autotoc_md57"></a>
<h2><a class="anchor" id="autotoc_md61"></a>
Event emitter</h2>
<p>A general purpose event emitter thought mainly for those cases where it comes to working with asynchronous stuff.<br />
Originally designed to fit the requirements of <a href="https://github.com/skypjack/uvw"><code>uvw</code></a> (a wrapper for <code>libuv</code> written in modern C++), it was adapted later to be included in this library.</p>
@@ -854,7 +888,7 @@ Event emitter</h2>
<div class="fragment"><div class="line"><span class="comment">// removes all the listener for the specific event</span></div><div class="line">emitter.clear&lt;MyEvent&gt;();</div><div class="line"></div><div class="line"><span class="comment">// removes all the listeners registered so far</span></div><div class="line">emitter.clear();</div></div><!-- fragment --><p>To send an event to all the listeners that are interested in it, the <code>publish</code> member function offers a convenient approach that relieves the user from having to create the event:</p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>MyEvent { <span class="keywordtype">int</span> i; };</div><div class="line"></div><div class="line"><span class="comment">// ...</span></div><div class="line"></div><div class="line">emitter.publish&lt;MyEvent&gt;(42);</div></div><!-- fragment --><p>Finally, the <code>empty</code> member function tests if there exists at least either a listener registered with the event emitter or to a given type of event:</p>
<div class="fragment"><div class="line"><span class="keywordtype">bool</span> empty;</div><div class="line"></div><div class="line"><span class="comment">// checks if there is any listener registered for the specific event</span></div><div class="line">empty = emitter.empty&lt;MyEvent&gt;();</div><div class="line"></div><div class="line"><span class="comment">// checks it there are listeners registered with the event emitter</span></div><div class="line">empty = emitter.empty();</div></div><!-- fragment --><p>In general, the event emitter is a handy tool when the derived classes <em>wrap</em> asynchronous operations, because it introduces a <em>nice-to-have</em> model based on events and listeners that kindly hides the complexity behind the scenes. However it is not limited to such uses.</p>
<h1><a class="anchor" id="autotoc_md58"></a>
<h1><a class="anchor" id="autotoc_md62"></a>
Packaging Tools</h1>
<p><code>EnTT</code> is available for some of the most known packaging tools. In particular:</p>
<ul>
@@ -863,14 +897,15 @@ Packaging Tools</h1>
Available as a homebrew formula. Just type the following to install it: <div class="fragment"><div class="line">brew install skypjack/entt/entt</div></div><!-- fragment --></li>
</ul>
<p>Consider this list a work in progress and help me to make it longer.</p>
<h1><a class="anchor" id="autotoc_md59"></a>
<h1><a class="anchor" id="autotoc_md63"></a>
EnTT in Action</h1>
<p><code>EnTT</code> is widely used in private and commercial applications. I cannot even mention most of them because of some signatures I put on some documents time ago.<br />
Fortunately, there are also people who took the time to implement open source projects based on EnTT and did not hold back when it came to documenting them.</p>
<p>Below an incomplete list of projects and articles:</p>
<ul>
<li><a href="https://github.com/reworks/EnttPong">EnttPong</a>: example game for <code>EnTT</code> framework.</li>
<li><a href="https://github.com/vblanco20-1/ECS_SpaceBattle">ECS_SpaceBattle</a>: huge space battle built on <code>UE4</code>.</li>
<li><a href="http://victor.madtriangles.com/code%20experiment/2018/06/11/post-ecs-battle-huge.html">Space Battle: Huge edition</a>: huge space battle built entirely from scratch.</li>
<li><a href="https://github.com/vblanco20-1/ECS_SpaceBattle">Space Battle</a>: huge space battle built on <code>UE4</code>.</li>
<li><a href="http://victor.madtriangles.com/code%20experiment/2018/03/25/post-ue4-ecs-battle.html">Experimenting with ECS in UE4</a>: interesting article about <code>UE4</code> and <code>EnTT</code>.</li>
<li><a href="https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1449913-implementing-ecs-architecture-in-ue4-giant-space-battle">Implementing ECS architecture in UE4</a>: giant space battle.</li>
<li><a href="https://github.com/mhaemmerle/MatchOneEntt">MatchOneEntt</a>: port of <a href="https://github.com/sschmid/Match-One">Match One</a> for <code>Entitas-CSharp</code>.</li>
@@ -878,22 +913,22 @@ EnTT in Action</h1>
<li>...</li>
</ul>
<p>If you know of other resources out there that are about <code>EnTT</code>, feel free to open an issue or a PR and I'll be glad to add them to the list.</p>
<h1><a class="anchor" id="autotoc_md60"></a>
<h1><a class="anchor" id="autotoc_md64"></a>
Contributors</h1>
<p>If you want to participate, please see the guidelines for <a href="https://github.com/skypjack/entt/blob/master/CONTRIBUTING">contributing</a> before to create issues or pull requests.<br />
Take also a look at the <a href="https://github.com/skypjack/entt/blob/master/AUTHORS">contributors list</a> to know who has participated so far.</p>
<h1><a class="anchor" id="autotoc_md61"></a>
<h1><a class="anchor" id="autotoc_md65"></a>
License</h1>
<p>Code and documentation Copyright (c) 2018 Michele Caini.<br />
Code released under <a href="https://github.com/skypjack/entt/blob/master/LICENSE">the MIT license</a>. Docs released under <a href="https://github.com/skypjack/entt/blob/master/docs/LICENSE">Creative Commons</a>.</p>
<h1><a class="anchor" id="autotoc_md62"></a>
<h1><a class="anchor" id="autotoc_md66"></a>
Support</h1>
<h2><a class="anchor" id="autotoc_md63"></a>
<h2><a class="anchor" id="autotoc_md67"></a>
Donation</h2>
<p>Developing and maintaining <code>EnTT</code> takes some time and lots of coffee. I'd like to add more and more functionalities in future and turn it in a full-featured framework.<br />
If you want to support this project, you can offer me an espresso. I'm from Italy, we're used to turning the best coffee ever in code. If you find that it's not enough, feel free to support me the way you prefer.<br />
Take a look at the donation button at the top of the page for more details or just click <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=W2HF9FESD5LJY&amp;lc=IT&amp;item_name=Michele%20Caini&amp;currency_code=EUR&amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted">here</a>.</p>
<h2><a class="anchor" id="autotoc_md64"></a>
<h2><a class="anchor" id="autotoc_md68"></a>
Hire me</h2>
<p>If you start using <code>EnTT</code> and need help, if you want a new feature and want me to give it the highest priority, if you have any other reason to contact me: do not hesitate. I'm available for hiring.<br />
Feel free to take a look at my <a href="https://github.com/skypjack">profile</a> and contact me by mail. </p>
+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$structentt_1_1InsertionSort.html" title="Function object for performing insertion sort. " alt="" coords="5,5,132,32"/>
<area shape="rect" id="node1" href="$classentt_1_1Identifier.html" title="Types identifiers. " alt="" coords="5,5,168,32"/>
</map>
+1 -1
View File
@@ -1 +1 @@
346d632c706916a7b10653e1b85bd7a5
f08dc4dc73fa40e661d5b156da7ea472
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$structentt_1_1persistent__t.html" title="Persistent view type used to disambiguate overloads. " alt="" coords="5,5,125,32"/>
<area shape="rect" id="node1" href="$structentt_1_1InsertionSort.html" title="Function object for performing insertion sort. " alt="" coords="5,5,132,32"/>
</map>
+1 -1
View File
@@ -1 +1 @@
20c874a300d88122441dac8e77bf11e8
346d632c706916a7b10653e1b85bd7a5
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1PersistentView.html" title="Persistent view. " alt="" coords="5,5,160,47"/>
<area shape="rect" id="node1" href="$structentt_1_1Monostate.html" title="Minimal implementation of the monostate pattern. " alt="" coords="5,5,159,47"/>
</map>
+1 -1
View File
@@ -1 +1 @@
68c3f1d2aaee71c81615b1ee951d2af7
469876f5b4b08c1af3415a4c19dd7941
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1Process.html" title="Base class for processes. " alt="" coords="5,5,167,47"/>
<area shape="rect" id="node1" href="$structentt_1_1persistent__t.html" title="Persistent view type used to disambiguate overloads. " alt="" coords="5,5,125,32"/>
</map>
+1 -1
View File
@@ -1 +1 @@
c978a805ca3e2559509fb10fb22ba569
20c874a300d88122441dac8e77bf11e8
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -2
View File
@@ -1,4 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node2" href="$structentt_1_1ProcessAdaptor.html" title="Adaptor for lambdas and functors to turn them into processes. " alt="" coords="259,27,404,69"/>
<area shape="rect" id="node3" href="$classentt_1_1Process.html" title="entt::Process\&lt; ProcessAdaptor\l\&lt; Func, Delta \&gt;, Delta \&gt;" alt="" coords="5,57,211,98"/>
<area shape="rect" id="node1" href="$classentt_1_1PersistentView.html" title="Persistent view. " alt="" coords="5,5,160,47"/>
</map>
+1 -1
View File
@@ -1 +1 @@
fc1f86739a4afb1e6029acc37b9af06c
68c3f1d2aaee71c81615b1ee951d2af7
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1Prototype.html" title="Prototype container for concepts. " alt="" coords="5,5,172,32"/>
<area shape="rect" id="node1" href="$classentt_1_1Process.html" title="Base class for processes. " alt="" coords="5,5,167,47"/>
</map>
+1 -1
View File
@@ -1 +1 @@
8717e582ab01906c25cce74e94efc8ba
c978a805ca3e2559509fb10fb22ba569
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

+2 -1
View File
@@ -1,3 +1,4 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$structentt_1_1raw__t.html" title="Raw view type used to disambiguate overloads. " alt="" coords="5,5,89,32"/>
<area shape="rect" id="node2" href="$structentt_1_1ProcessAdaptor.html" title="Adaptor for lambdas and functors to turn them into processes. " alt="" coords="259,27,404,69"/>
<area shape="rect" id="node3" href="$classentt_1_1Process.html" title="entt::Process\&lt; ProcessAdaptor\l\&lt; Func, Delta \&gt;, Delta \&gt;" alt="" coords="5,57,211,98"/>
</map>
+1 -1
View File
@@ -1 +1 @@
290a5b9298ed0c6980ce61d3800f8661
4d9979ed2fcc17345a05e91549c6f353
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1RawView.html" title="Raw view. " alt="" coords="5,5,164,47"/>
<area shape="rect" id="node1" href="$classentt_1_1Prototype.html" title="Prototype container for concepts. " alt="" coords="5,5,172,32"/>
</map>
+1 -1
View File
@@ -1 +1 @@
9a33b8231c878d5e6ebdbdd360973b53
8717e582ab01906c25cce74e94efc8ba
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1Registry.html" title="Fast and reliable entity&#45;component system. " alt="" coords="5,5,164,32"/>
<area shape="rect" id="node1" href="$structentt_1_1raw__t.html" title="Raw view type used to disambiguate overloads. " alt="" coords="5,5,89,32"/>
</map>
+1 -1
View File
@@ -1 +1 @@
4e394cd62968962a42441b4a70fd88e4
290a5b9298ed0c6980ce61d3800f8661
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1ResourceCache.html" title="Simple cache for resources of a given type. " alt="" coords="5,5,152,47"/>
<area shape="rect" id="node1" href="$classentt_1_1RawView.html" title="Raw view. " alt="" coords="5,5,164,47"/>
</map>
+1 -1
View File
@@ -1 +1 @@
51bd2d62cec2bcbbf0df1dd79babf051
9a33b8231c878d5e6ebdbdd360973b53
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

+1 -1
View File
@@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classentt_1_1ResourceHandle.html" title="Shared resource handle. " alt="" coords="5,5,155,47"/>
<area shape="rect" id="node1" href="$classentt_1_1Registry.html" title="Fast and reliable entity&#45;component system. " alt="" coords="5,5,164,32"/>
</map>
+1 -1
View File
@@ -1 +1 @@
79f5be431b4e27136879c42af4894284
4e394cd62968962a42441b4a70fd88e4
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Some files were not shown because too many files have changed in this diff Show More