430 lines
84 KiB
HTML
430 lines
84 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.10.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>EnTT: src/entt/graph/flow.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">EnTT<span id="projectnumber"> 3.14.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.10.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_66e9674e8206a335795995fa32a03c91.html">entt</a></li><li class="navelem"><a class="el" href="dir_cb9807796ea702d95f280c116c66a3f6.html">graph</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">flow.hpp</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef ENTT_GRAPH_FLOW_HPP</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_GRAPH_FLOW_HPP</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <algorithm></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <cstddef></span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <functional></span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <iterator></span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <memory></span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <type_traits></span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include <utility></span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <vector></span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include "../config/config.h"</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include "../container/dense_map.hpp"</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include "../container/dense_set.hpp"</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include "../core/compressed_pair.hpp"</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include "../core/fwd.hpp"</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include "../core/iterator.hpp"</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include "../core/utility.hpp"</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include "adjacency_matrix.hpp"</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include "fwd.hpp"</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">template</span><<span class="keyword">typename</span> Allocator></div>
|
|
<div class="foldopen" id="foldopen00029" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html"> 29</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> {</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits<Allocator>;</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">static_assert</span>(std::is_same_v<typename alloc_traits::value_type, id_type>, <span class="stringliteral">"Invalid value type"</span>);</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1dense__set.html">task_container_type</a> = <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set<id_type, identity, std::equal_to<></a>, <span class="keyword">typename</span> alloc_traits::template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">rebind_alloc<id_type></a>>;</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">using </span>ro_rw_container_type = std::vector<std::pair<std::size_t, bool>, <span class="keyword">typename</span> alloc_traits::template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">rebind_alloc<std::pair<std::size_t, bool></a>>>;</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1dense__map.html">deps_container_type</a> = <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map<id_type, ro_rw_container_type, identity, std::equal_to<></a>, <span class="keyword">typename</span> alloc_traits::template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">rebind_alloc<std::pair<const id_type, ro_rw_container_type></a>>>;</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1adjacency__matrix.html">adjacency_matrix_type</a> = <a class="code hl_class" href="classentt_1_1adjacency__matrix.html">adjacency_matrix<directed_tag, typename alloc_traits::template rebind_alloc<std::size_t></a>>;</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">void</span> emplace(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>, <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_rw</a>) {</div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> ENTT_ASSERT(index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>() < vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>(), <span class="stringliteral">"Invalid node"</span>);</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordflow">if</span>(!deps.<a class="code hl_function" href="classentt_1_1dense__map.html#a4d884a2b7164b3df97d93dd2804222b0">contains</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>) && sync_on != vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>()) {</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> deps[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>].emplace_back(sync_on, <span class="keyword">true</span>);</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> }</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> deps[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>].emplace_back(index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>(), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_rw</a>);</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> }</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordtype">void</span> setup_graph(<a class="code hl_class" href="classentt_1_1adjacency__matrix.html">adjacency_matrix_type</a> &matrix)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>: deps) {</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">const</span> <span class="keyword">auto</span> last = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>.second.cend();</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>.second.cbegin();</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordflow">while</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != last) {</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->second) {</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="comment">// rw item</span></div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordflow">if</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>++; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != last) {</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->second) {</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>->first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->first);</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(<span class="keyword">const</span> <span class="keyword">auto</span> next = std::find_if(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, last, [](<span class="keyword">const</span> <span class="keyword">auto</span> &value) { <span class="keywordflow">return</span> value.second; }); next != last) {</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keywordflow">for</span>(; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != next; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>) {</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>->first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->first);</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->first, next->first);</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> }</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> } <span class="keywordflow">else</span> {</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordflow">for</span>(; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != next; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>) {</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>->first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->first);</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> }</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> }</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> } <span class="keywordflow">else</span> {</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="comment">// ro item (first iteration only)</span></div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordflow">if</span>(<span class="keyword">const</span> <span class="keyword">auto</span> next = std::find_if(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, last, [](<span class="keyword">const</span> <span class="keyword">auto</span> &value) { <span class="keywordflow">return</span> value.second; }); next != last) {</div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">for</span>(; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != next; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>) {</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>->first, next->first);</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> }</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> } <span class="keywordflow">else</span> {</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = last;</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> }</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> }</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> }</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> }</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordtype">void</span> transitive_closure(<a class="code hl_class" href="classentt_1_1adjacency__matrix.html">adjacency_matrix_type</a> &matrix)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">const</span> <span class="keyword">auto</span> length = matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a70f8706c96d4c000ceab51d88402ca74">size</a>();</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">for</span>(std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>{}; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a> < length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>) {</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">for</span>(std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>{}; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a> < length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>) {</div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">for</span>(std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>{}; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a> < length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>) {</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">if</span>(matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a783833a34672bcbd0afab063ab417a97">contains</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>) && matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a783833a34672bcbd0afab063ab417a97">contains</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>)) {</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>);</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> }</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> }</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> }</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> }</div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> }</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">void</span> transitive_reduction(<a class="code hl_class" href="classentt_1_1adjacency__matrix.html">adjacency_matrix_type</a> &matrix)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">const</span> <span class="keyword">auto</span> length = matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a70f8706c96d4c000ceab51d88402ca74">size</a>();</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">for</span>(std::size_t vert{}; vert < length; ++vert) {</div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#adf91bac04f07bf7ce0478ecd5baeece7">erase</a>(vert, vert);</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> }</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">for</span>(std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>{}; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a> < length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>) {</div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">for</span>(std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>{}; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a> < length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>) {</div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">if</span>(matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a783833a34672bcbd0afab063ab417a97">contains</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>)) {</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordflow">for</span>(std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>{}; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a> < length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>) {</div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordflow">if</span>(matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#a783833a34672bcbd0afab063ab417a97">contains</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vj</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>)) {</div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> matrix.<a class="code hl_function" href="classentt_1_1adjacency__matrix.html#adf91bac04f07bf7ce0478ecd5baeece7">erase</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vi</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">vk</a>);</div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> }</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> }</div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }</div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> }</div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> }</div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2"> 119</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a> = Allocator;</div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543"> 121</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543">size_type</a> = std::size_t;</div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a40ae2917753dbe694ccbd8a0b9d030e4"> 123</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor<typename task_container_type::const_iterator></a>;</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a552d8b3474416c8a9ce91377359b5bd0"> 125</a></span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1adjacency__matrix.html">graph_type</a> = <a class="code hl_class" href="classentt_1_1adjacency__matrix.html">adjacency_matrix_type</a>;</div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
|
<div class="foldopen" id="foldopen00128" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#aca29e5858a6863940a79eba950791eaf"> 128</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#aca29e5858a6863940a79eba950791eaf">basic_flow</a>()</div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> : <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a>{<a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a>{}} {}</div>
|
|
</div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
|
|
<div class="foldopen" id="foldopen00135" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a51a89fc2a993298d4a95f7b01381d094"> 135</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1basic__flow.html#a51a89fc2a993298d4a95f7b01381d094">basic_flow</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> : index{0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> vertices{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> deps{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
|
|
</div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#afe89940ee2068832234ab76baa26d192"> 141</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#afe89940ee2068832234ab76baa26d192">basic_flow</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
|
|
<div class="foldopen" id="foldopen00148" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#acf8c4ee6fd75933eb7f1a6deae169c00"> 148</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#acf8c4ee6fd75933eb7f1a6deae169c00">basic_flow</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> : index{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.index.first(), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> vertices{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.vertices, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> deps{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.deps, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> sync_on{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sync_on} {}</div>
|
|
</div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a77e9b92d33be504cca952abca68f8611"> 155</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#a77e9b92d33be504cca952abca68f8611">basic_flow</a>(<a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &&) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">default</a>;</div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
|
|
<div class="foldopen" id="foldopen00162" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a7ade1aff980a5d137cdb746976702b40"> 162</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a>(<a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &&<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> : index{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.index.first(), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> vertices{std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.vertices), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> deps{std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.deps), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> sync_on{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sync_on} {}</div>
|
|
</div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a5c3eb8689a39e6c8ce6d33b1ed21dd50"> 169</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#a5c3eb8689a39e6c8ce6d33b1ed21dd50">~basic_flow</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#aede173e1874fb7302bf87dc42ec3dfc8"> 175</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#aede173e1874fb7302bf87dc42ec3dfc8">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#abc4820f568a811f5c7f0557dc08d1233"> 181</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#abc4820f568a811f5c7f0557dc08d1233">operator=</a>(<a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &&) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">default</a>;</div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
|
|
<div class="foldopen" id="foldopen00187" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a49e335a9671725195bfe923e6e39a413"> 187</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">constexpr</a> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a> <a class="code hl_function" href="classentt_1_1basic__flow.html#a49e335a9671725195bfe923e6e39a413">get_allocator</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">allocator_type</a>{index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>()};</div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
|
|
<div class="foldopen" id="foldopen00196" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a12d419b34b81caf99d8e15e7fcb07316"> 196</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a> <a class="code hl_function" href="classentt_1_1basic__flow.html#a12d419b34b81caf99d8e15e7fcb07316">operator[]</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>)<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">return</span> vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>];</div>
|
|
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
|
|
<div class="foldopen" id="foldopen00201" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a07719c4e2fa4e79f7381a7a3d30d75f2"> 201</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__flow.html#a07719c4e2fa4e79f7381a7a3d30d75f2">clear</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>() = {};</div>
|
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a00f6e4f5dd97cbf86554ec14799d2865">clear</a>();</div>
|
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> deps.<a class="code hl_function" href="classentt_1_1dense__map.html#a096c30be0af8e15902f5585c8d1208b7">clear</a>();</div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> sync_on = {};</div>
|
|
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
|
|
<div class="foldopen" id="foldopen00212" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#adc54472d1ab42909e262b854d0920c3d"> 212</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__flow.html#adc54472d1ab42909e262b854d0920c3d">swap</a>(<a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> {</div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keyword">using </span>std::swap;</div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> std::swap(index, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.index);</div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> std::swap(vertices, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.vertices);</div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> std::swap(deps, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.deps);</div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> std::swap(sync_on, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sync_on);</div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> </div>
|
|
<div class="foldopen" id="foldopen00224" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#ae34f6cde54ad1b268a41a822adabdf84"> 224</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1basic__flow.html#ae34f6cde54ad1b268a41a822adabdf84">empty</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="keywordflow">return</span> vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a6a6ca36a20f2ad2af73161eb71c5aba2">empty</a>();</div>
|
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
|
|
<div class="foldopen" id="foldopen00232" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a3cc2765c64e15d244a23b33bf45463e3"> 232</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543">size_type</a> <a class="code hl_function" href="classentt_1_1basic__flow.html#a3cc2765c64e15d244a23b33bf45463e3">size</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
|
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> <span class="keywordflow">return</span> vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>();</div>
|
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
|
|
<div class="foldopen" id="foldopen00241" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a81236828df07e39e44a200debdd98a78"> 241</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#a81236828df07e39e44a200debdd98a78">bind</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a> value) {</div>
|
|
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> sync_on += (sync_on == vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>());</div>
|
|
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a47d3197d0c31a680cb7d9379f8a3c3d3">emplace</a>(value).first;</div>
|
|
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>() = <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543">size_type</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> - vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>());</div>
|
|
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
|
|
<div class="foldopen" id="foldopen00252" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a43e28c91d03bb3ebcce6d3b171d75a98"> 252</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#a43e28c91d03bb3ebcce6d3b171d75a98">sync</a>() {</div>
|
|
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> ENTT_ASSERT(index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>() < vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>(), <span class="stringliteral">"Invalid node"</span>);</div>
|
|
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> sync_on = index.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>();</div>
|
|
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
|
|
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>: deps) {</div>
|
|
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>.second.emplace_back(sync_on, <span class="keyword">true</span>);</div>
|
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> }</div>
|
|
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> </div>
|
|
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
|
|
<div class="foldopen" id="foldopen00269" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#aacd49b1f55957518b411e32cf77cf31b"> 269</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#aacd49b1f55957518b411e32cf77cf31b">set</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>, <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_rw</a> = <span class="keyword">false</span>) {</div>
|
|
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> emplace(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_rw</a>);</div>
|
|
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> </div>
|
|
<div class="foldopen" id="foldopen00279" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a6dc864b3c520bd35b1ac981994e9fed6"> 279</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#a6dc864b3c520bd35b1ac981994e9fed6">ro</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>) {</div>
|
|
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> emplace(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>, <span class="keyword">false</span>);</div>
|
|
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> </div>
|
|
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <span class="keyword">template</span><<span class="keyword">typename</span> It></div>
|
|
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> std::enable_if_t<std::is_same_v<std::remove_const_t<typename std::iterator_traits<It>::value_type>, <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a>>, <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &></div>
|
|
<div class="foldopen" id="foldopen00293" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#ae99ad5bb02e38f1aa5f9ffcda69ec64c"> 293</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#ae99ad5bb02e38f1aa5f9ffcda69ec64c">ro</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a> first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a> last) {</div>
|
|
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
|
|
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> emplace(*first, <span class="keyword">false</span>);</div>
|
|
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> }</div>
|
|
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> </div>
|
|
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> </div>
|
|
<div class="foldopen" id="foldopen00306" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a44a03612c6cc4437314c14bdda0fa5dd"> 306</a></span> <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &<a class="code hl_function" href="classentt_1_1basic__flow.html#a44a03612c6cc4437314c14bdda0fa5dd">rw</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>) {</div>
|
|
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> emplace(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">res</a>, <span class="keyword">true</span>);</div>
|
|
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
|
|
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <span class="keyword">template</span><<span class="keyword">typename</span> It></div>
|
|
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> std::enable_if_t<std::is_same_v<std::remove_const_t<typename std::iterator_traits<It>::value_type>, <a class="code hl_typedef" href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">id_type</a>>, <a class="code hl_class" href="classentt_1_1basic__flow.html">basic_flow</a> &></div>
|
|
<div class="foldopen" id="foldopen00320" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a48ba1ecbcfbbd8c8eb97ed2a426fedfe"> 320</a></span> <a class="code hl_function" href="classentt_1_1basic__flow.html#a48ba1ecbcfbbd8c8eb97ed2a426fedfe">rw</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a> first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a> last) {</div>
|
|
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
|
|
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> emplace(*first, <span class="keyword">true</span>);</div>
|
|
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> }</div>
|
|
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
|
|
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> </div>
|
|
<div class="foldopen" id="foldopen00332" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="classentt_1_1basic__flow.html#a5077f0aef10e4e9b898b6b7df36ccb39"> 332</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_class" href="classentt_1_1adjacency__matrix.html">graph_type</a> <a class="code hl_function" href="classentt_1_1basic__flow.html#a5077f0aef10e4e9b898b6b7df36ccb39">graph</a>()<span class="keyword"> const </span>{</div>
|
|
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> <a class="code hl_class" href="classentt_1_1adjacency__matrix.html">graph_type</a> matrix{vertices.<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>(), <a class="code hl_function" href="classentt_1_1basic__flow.html#a49e335a9671725195bfe923e6e39a413">get_allocator</a>()};</div>
|
|
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> </div>
|
|
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> setup_graph(matrix);</div>
|
|
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> transitive_closure(matrix);</div>
|
|
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> transitive_reduction(matrix);</div>
|
|
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div>
|
|
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <span class="keywordflow">return</span> matrix;</div>
|
|
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> </div>
|
|
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <a class="code hl_class" href="classentt_1_1compressed__pair.html">compressed_pair<size_type, allocator_type></a> index;</div>
|
|
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> task_container_type vertices;</div>
|
|
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> deps_container_type deps;</div>
|
|
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <a class="code hl_typedef" href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543">size_type</a> sync_on{};</div>
|
|
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> </div>
|
|
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span>} <span class="comment">// namespace entt</span></div>
|
|
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> </div>
|
|
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="aclassentt_1_1adjacency__matrix_html"><div class="ttname"><a href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a></div><div class="ttdoc">Basic implementation of a directed adjacency matrix.</div><div class="ttdef"><b>Definition</b> <a href="adjacency__matrix_8hpp_source.html#l00091">adjacency_matrix.hpp:91</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1adjacency__matrix_html_a16d422fbdac17535196b27001b4bfd63"><div class="ttname"><a href="classentt_1_1adjacency__matrix.html#a16d422fbdac17535196b27001b4bfd63">entt::adjacency_matrix::insert</a></div><div class="ttdeci">std::pair< edge_iterator, bool > insert(const vertex_type lhs, const vertex_type rhs)</div><div class="ttdoc">Inserts an edge into the adjacency matrix, if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="adjacency__matrix_8hpp_source.html#l00287">adjacency_matrix.hpp:287</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1adjacency__matrix_html_a70f8706c96d4c000ceab51d88402ca74"><div class="ttname"><a href="classentt_1_1adjacency__matrix.html#a70f8706c96d4c000ceab51d88402ca74">entt::adjacency_matrix::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of vertices.</div><div class="ttdef"><b>Definition</b> <a href="adjacency__matrix_8hpp_source.html#l00219">adjacency_matrix.hpp:219</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1adjacency__matrix_html_a783833a34672bcbd0afab063ab417a97"><div class="ttname"><a href="classentt_1_1adjacency__matrix.html#a783833a34672bcbd0afab063ab417a97">entt::adjacency_matrix::contains</a></div><div class="ttdeci">bool contains(const vertex_type lhs, const vertex_type rhs) const</div><div class="ttdoc">Checks if an adjacency matrix contains a given edge.</div><div class="ttdef"><b>Definition</b> <a href="adjacency__matrix_8hpp_source.html#l00324">adjacency_matrix.hpp:324</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1adjacency__matrix_html_adf91bac04f07bf7ce0478ecd5baeece7"><div class="ttname"><a href="classentt_1_1adjacency__matrix.html#adf91bac04f07bf7ce0478ecd5baeece7">entt::adjacency_matrix::erase</a></div><div class="ttdeci">size_type erase(const vertex_type lhs, const vertex_type rhs)</div><div class="ttdoc">Removes the edge associated with a pair of given vertices.</div><div class="ttdef"><b>Definition</b> <a href="adjacency__matrix_8hpp_source.html#l00306">adjacency_matrix.hpp:306</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html"><div class="ttname"><a href="classentt_1_1basic__flow.html">entt::basic_flow</a></div><div class="ttdoc">Utility class for creating task graphs.</div><div class="ttdef"><b>Definition</b> <a href="#l00029">flow.hpp:29</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a07719c4e2fa4e79f7381a7a3d30d75f2"><div class="ttname"><a href="classentt_1_1basic__flow.html#a07719c4e2fa4e79f7381a7a3d30d75f2">entt::basic_flow::clear</a></div><div class="ttdeci">void clear() noexcept</div><div class="ttdoc">Clears the flow builder.</div><div class="ttdef"><b>Definition</b> <a href="#l00201">flow.hpp:201</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a12d419b34b81caf99d8e15e7fcb07316"><div class="ttname"><a href="classentt_1_1basic__flow.html#a12d419b34b81caf99d8e15e7fcb07316">entt::basic_flow::operator[]</a></div><div class="ttdeci">id_type operator[](const size_type pos) const</div><div class="ttdoc">Returns the identifier at specified location.</div><div class="ttdef"><b>Definition</b> <a href="#l00196">flow.hpp:196</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a37b19d1bb36d762cea9163ad7bb8bfc2"><div class="ttname"><a href="classentt_1_1basic__flow.html#a37b19d1bb36d762cea9163ad7bb8bfc2">entt::basic_flow::allocator_type</a></div><div class="ttdeci">Allocator allocator_type</div><div class="ttdoc">Allocator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00119">flow.hpp:119</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a3cc2765c64e15d244a23b33bf45463e3"><div class="ttname"><a href="classentt_1_1basic__flow.html#a3cc2765c64e15d244a23b33bf45463e3">entt::basic_flow::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of tasks.</div><div class="ttdef"><b>Definition</b> <a href="#l00232">flow.hpp:232</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a42c0ae982887ab754f6119467ecbd543"><div class="ttname"><a href="classentt_1_1basic__flow.html#a42c0ae982887ab754f6119467ecbd543">entt::basic_flow::size_type</a></div><div class="ttdeci">std::size_t size_type</div><div class="ttdoc">Unsigned integer type.</div><div class="ttdef"><b>Definition</b> <a href="#l00121">flow.hpp:121</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a43e28c91d03bb3ebcce6d3b171d75a98"><div class="ttname"><a href="classentt_1_1basic__flow.html#a43e28c91d03bb3ebcce6d3b171d75a98">entt::basic_flow::sync</a></div><div class="ttdeci">basic_flow & sync()</div><div class="ttdoc">Turns the current task into a sync point.</div><div class="ttdef"><b>Definition</b> <a href="#l00252">flow.hpp:252</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a44a03612c6cc4437314c14bdda0fa5dd"><div class="ttname"><a href="classentt_1_1basic__flow.html#a44a03612c6cc4437314c14bdda0fa5dd">entt::basic_flow::rw</a></div><div class="ttdeci">basic_flow & rw(const id_type res)</div><div class="ttdoc">Assigns a writable resource to the current task.</div><div class="ttdef"><b>Definition</b> <a href="#l00306">flow.hpp:306</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a48ba1ecbcfbbd8c8eb97ed2a426fedfe"><div class="ttname"><a href="classentt_1_1basic__flow.html#a48ba1ecbcfbbd8c8eb97ed2a426fedfe">entt::basic_flow::rw</a></div><div class="ttdeci">std::enable_if_t< std::is_same_v< std::remove_const_t< typename std::iterator_traits< It >::value_type >, id_type >, basic_flow & > rw(It first, It last)</div><div class="ttdoc">Assigns a range of writable resources to the current task.</div><div class="ttdef"><b>Definition</b> <a href="#l00320">flow.hpp:320</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a49e335a9671725195bfe923e6e39a413"><div class="ttname"><a href="classentt_1_1basic__flow.html#a49e335a9671725195bfe923e6e39a413">entt::basic_flow::get_allocator</a></div><div class="ttdeci">constexpr allocator_type get_allocator() const noexcept</div><div class="ttdoc">Returns the associated allocator.</div><div class="ttdef"><b>Definition</b> <a href="#l00187">flow.hpp:187</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a5077f0aef10e4e9b898b6b7df36ccb39"><div class="ttname"><a href="classentt_1_1basic__flow.html#a5077f0aef10e4e9b898b6b7df36ccb39">entt::basic_flow::graph</a></div><div class="ttdeci">graph_type graph() const</div><div class="ttdoc">Generates a task graph for the current content.</div><div class="ttdef"><b>Definition</b> <a href="#l00332">flow.hpp:332</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a51a89fc2a993298d4a95f7b01381d094"><div class="ttname"><a href="classentt_1_1basic__flow.html#a51a89fc2a993298d4a95f7b01381d094">entt::basic_flow::basic_flow</a></div><div class="ttdeci">basic_flow(const allocator_type &allocator)</div><div class="ttdoc">Constructs a flow builder with a given allocator.</div><div class="ttdef"><b>Definition</b> <a href="#l00135">flow.hpp:135</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a5c3eb8689a39e6c8ce6d33b1ed21dd50"><div class="ttname"><a href="classentt_1_1basic__flow.html#a5c3eb8689a39e6c8ce6d33b1ed21dd50">entt::basic_flow::~basic_flow</a></div><div class="ttdeci">~basic_flow()=default</div><div class="ttdoc">Default destructor.</div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a6dc864b3c520bd35b1ac981994e9fed6"><div class="ttname"><a href="classentt_1_1basic__flow.html#a6dc864b3c520bd35b1ac981994e9fed6">entt::basic_flow::ro</a></div><div class="ttdeci">basic_flow & ro(const id_type res)</div><div class="ttdoc">Assigns a read-only resource to the current task.</div><div class="ttdef"><b>Definition</b> <a href="#l00279">flow.hpp:279</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a77e9b92d33be504cca952abca68f8611"><div class="ttname"><a href="classentt_1_1basic__flow.html#a77e9b92d33be504cca952abca68f8611">entt::basic_flow::basic_flow</a></div><div class="ttdeci">basic_flow(basic_flow &&) noexcept=default</div><div class="ttdoc">Default move constructor.</div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_a81236828df07e39e44a200debdd98a78"><div class="ttname"><a href="classentt_1_1basic__flow.html#a81236828df07e39e44a200debdd98a78">entt::basic_flow::bind</a></div><div class="ttdeci">basic_flow & bind(const id_type value)</div><div class="ttdoc">Binds a task to a flow builder.</div><div class="ttdef"><b>Definition</b> <a href="#l00241">flow.hpp:241</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_aacd49b1f55957518b411e32cf77cf31b"><div class="ttname"><a href="classentt_1_1basic__flow.html#aacd49b1f55957518b411e32cf77cf31b">entt::basic_flow::set</a></div><div class="ttdeci">basic_flow & set(const id_type res, bool is_rw=false)</div><div class="ttdoc">Assigns a resource to the current task with a given access mode.</div><div class="ttdef"><b>Definition</b> <a href="#l00269">flow.hpp:269</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_abc4820f568a811f5c7f0557dc08d1233"><div class="ttname"><a href="classentt_1_1basic__flow.html#abc4820f568a811f5c7f0557dc08d1233">entt::basic_flow::operator=</a></div><div class="ttdeci">basic_flow & operator=(basic_flow &&) noexcept=default</div><div class="ttdoc">Default move assignment operator.</div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_aca29e5858a6863940a79eba950791eaf"><div class="ttname"><a href="classentt_1_1basic__flow.html#aca29e5858a6863940a79eba950791eaf">entt::basic_flow::basic_flow</a></div><div class="ttdeci">basic_flow()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00128">flow.hpp:128</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_acf8c4ee6fd75933eb7f1a6deae169c00"><div class="ttname"><a href="classentt_1_1basic__flow.html#acf8c4ee6fd75933eb7f1a6deae169c00">entt::basic_flow::basic_flow</a></div><div class="ttdeci">basic_flow(const basic_flow &other, const allocator_type &allocator)</div><div class="ttdoc">Allocator-extended copy constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00148">flow.hpp:148</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_adc54472d1ab42909e262b854d0920c3d"><div class="ttname"><a href="classentt_1_1basic__flow.html#adc54472d1ab42909e262b854d0920c3d">entt::basic_flow::swap</a></div><div class="ttdeci">void swap(basic_flow &other) noexcept</div><div class="ttdoc">Exchanges the contents with those of a given flow builder.</div><div class="ttdef"><b>Definition</b> <a href="#l00212">flow.hpp:212</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_ae34f6cde54ad1b268a41a822adabdf84"><div class="ttname"><a href="classentt_1_1basic__flow.html#ae34f6cde54ad1b268a41a822adabdf84">entt::basic_flow::empty</a></div><div class="ttdeci">bool empty() const noexcept</div><div class="ttdoc">Returns true if a flow builder contains no tasks, false otherwise.</div><div class="ttdef"><b>Definition</b> <a href="#l00224">flow.hpp:224</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_ae99ad5bb02e38f1aa5f9ffcda69ec64c"><div class="ttname"><a href="classentt_1_1basic__flow.html#ae99ad5bb02e38f1aa5f9ffcda69ec64c">entt::basic_flow::ro</a></div><div class="ttdeci">std::enable_if_t< std::is_same_v< std::remove_const_t< typename std::iterator_traits< It >::value_type >, id_type >, basic_flow & > ro(It first, It last)</div><div class="ttdoc">Assigns a range of read-only resources to the current task.</div><div class="ttdef"><b>Definition</b> <a href="#l00293">flow.hpp:293</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_aede173e1874fb7302bf87dc42ec3dfc8"><div class="ttname"><a href="classentt_1_1basic__flow.html#aede173e1874fb7302bf87dc42ec3dfc8">entt::basic_flow::operator=</a></div><div class="ttdeci">basic_flow & operator=(const basic_flow &)=default</div><div class="ttdoc">Default copy assignment operator.</div></div>
|
|
<div class="ttc" id="aclassentt_1_1basic__flow_html_afe89940ee2068832234ab76baa26d192"><div class="ttname"><a href="classentt_1_1basic__flow.html#afe89940ee2068832234ab76baa26d192">entt::basic_flow::basic_flow</a></div><div class="ttdeci">basic_flow(const basic_flow &)=default</div><div class="ttdoc">Default copy constructor.</div></div>
|
|
<div class="ttc" id="aclassentt_1_1compressed__pair_html"><div class="ttname"><a href="classentt_1_1compressed__pair.html">entt::compressed_pair</a></div><div class="ttdoc">A compressed pair.</div><div class="ttdef"><b>Definition</b> <a href="compressed__pair_8hpp_source.html#l00085">compressed_pair.hpp:87</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1compressed__pair_html_a044cced5ce2cd85f4966814d991a54a7"><div class="ttname"><a href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">entt::compressed_pair::second</a></div><div class="ttdeci">constexpr second_type & second() noexcept</div><div class="ttdoc">Returns the second element that a pair stores.</div><div class="ttdef"><b>Definition</b> <a href="compressed__pair_8hpp_source.html#l00180">compressed_pair.hpp:180</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1compressed__pair_html_a6551d4795fa99d140d5c8eb8e55d9d38"><div class="ttname"><a href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">entt::compressed_pair::first</a></div><div class="ttdeci">constexpr first_type & first() noexcept</div><div class="ttdoc">Returns the first element that a pair stores.</div><div class="ttdef"><b>Definition</b> <a href="compressed__pair_8hpp_source.html#l00167">compressed_pair.hpp:167</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__map_html"><div class="ttname"><a href="classentt_1_1dense__map.html">entt::dense_map< id_type, ro_rw_container_type, identity, std::equal_to<>, typename alloc_traits::template rebind_alloc< std::pair< const id_type, ro_rw_container_type > > ></a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__map_html_a096c30be0af8e15902f5585c8d1208b7"><div class="ttname"><a href="classentt_1_1dense__map.html#a096c30be0af8e15902f5585c8d1208b7">entt::dense_map::clear</a></div><div class="ttdeci">void clear() noexcept</div><div class="ttdoc">Clears the container.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00527">dense_map.hpp:527</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__map_html_a4d884a2b7164b3df97d93dd2804222b0"><div class="ttname"><a href="classentt_1_1dense__map.html#a4d884a2b7164b3df97d93dd2804222b0">entt::dense_map::contains</a></div><div class="ttdeci">bool contains(const key_type &key) const</div><div class="ttdoc">Checks if the container contains an element with a given key.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00845">dense_map.hpp:845</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html"><div class="ttname"><a href="classentt_1_1dense__set.html">entt::dense_set< id_type, identity, std::equal_to<>, typename alloc_traits::template rebind_alloc< id_type > ></a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html_a00f6e4f5dd97cbf86554ec14799d2865"><div class="ttname"><a href="classentt_1_1dense__set.html#a00f6e4f5dd97cbf86554ec14799d2865">entt::dense_set::clear</a></div><div class="ttdeci">void clear() noexcept</div><div class="ttdoc">Clears the container.</div><div class="ttdef"><b>Definition</b> <a href="dense__set_8hpp_source.html#l00513">dense_set.hpp:513</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html_a2130895a2b9e794841b3afe3c6f793bb"><div class="ttname"><a href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">entt::dense_set::begin</a></div><div class="ttdeci">const_iterator begin() const noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="dense__set_8hpp_source.html#l00420">dense_set.hpp:420</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html_a47d3197d0c31a680cb7d9379f8a3c3d3"><div class="ttname"><a href="classentt_1_1dense__set.html#a47d3197d0c31a680cb7d9379f8a3c3d3">entt::dense_set::emplace</a></div><div class="ttdeci">std::pair< iterator, bool > emplace(Args &&...args)</div><div class="ttdoc">Constructs an element in-place, if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="dense__set_8hpp_source.html#l00562">dense_set.hpp:562</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html_a51a05fcfc23785b7f38bd48b46ebf178"><div class="ttname"><a href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">entt::dense_set::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of elements in a container.</div><div class="ttdef"><b>Definition</b> <a href="dense__set_8hpp_source.html#l00500">dense_set.hpp:500</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html_a6a6ca36a20f2ad2af73161eb71c5aba2"><div class="ttname"><a href="classentt_1_1dense__set.html#a6a6ca36a20f2ad2af73161eb71c5aba2">entt::dense_set::empty</a></div><div class="ttdeci">bool empty() const noexcept</div><div class="ttdoc">Checks whether a container is empty.</div><div class="ttdef"><b>Definition</b> <a href="dense__set_8hpp_source.html#l00492">dense_set.hpp:492</a></div></div>
|
|
<div class="ttc" id="aclassentt_1_1dense__set_html_a72d096d037d026cde4c1cae27dc326ba"><div class="ttname"><a href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">entt::dense_set::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="dense__set_8hpp_source.html#l00415">dense_set.hpp:415</a></div></div>
|
|
<div class="ttc" id="anamespaceentt_html"><div class="ttname"><a href="namespaceentt.html">entt</a></div><div class="ttdoc">EnTT default namespace.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00022">dense_map.hpp:22</a></div></div>
|
|
<div class="ttc" id="anamespaceentt_html_a12e4d0c58f9c4cc6f5513c39c530b9b7"><div class="ttname"><a href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator</a></div><div class="ttdeci">constexpr Type make_obj_using_allocator(const Allocator &allocator, Args &&...args)</div><div class="ttdoc">Uses-allocator construction utility (waiting for C++20).</div><div class="ttdef"><b>Definition</b> <a href="memory_8hpp_source.html#l00219">memory.hpp:219</a></div></div>
|
|
<div class="ttc" id="anamespaceentt_html_a7f3ac95ffe482bbd1a70b624ef8bb641"><div class="ttname"><a href="namespaceentt.html#a7f3ac95ffe482bbd1a70b624ef8bb641">entt::id_type</a></div><div class="ttdeci">std::uint32_t id_type</div><div class="ttdoc">Alias declaration for type identifiers.</div><div class="ttdef"><b>Definition</b> <a href="core_2fwd_8hpp_source.html#l00014">fwd.hpp:14</a></div></div>
|
|
<div class="ttc" id="astructentt_1_1iterable__adaptor_html"><div class="ttname"><a href="structentt_1_1iterable__adaptor.html">entt::iterable_adaptor</a></div><div class="ttdoc">Utility class to create an iterable object from a pair of iterators.</div><div class="ttdef"><b>Definition</b> <a href="iterator_8hpp_source.html#l00141">iterator.hpp:141</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
|
|
</small></address>
|
|
</body>
|
|
</html>
|