Files
entt/structentt_1_1null__t.html
2023-06-15 11:47:04 +02:00

328 lines
15 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.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EnTT: entt::null_t Struct 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-awesome.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">EnTT<span id="projectnumber">&#160;3.12.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</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">
<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="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="structentt_1_1null__t.html">null_t</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structentt_1_1null__t-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">entt::null_t Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Null object for all identifiers. <br />
<a href="structentt_1_1null__t.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="entity_8hpp_source.html">entity.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a645f6d96cbb99f7b245058a05bf0e28b"><td class="memTemplParams" colspan="2">template&lt;typename Entity &gt; </td></tr>
<tr class="memitem:a645f6d96cbb99f7b245058a05bf0e28b"><td class="memTemplItemLeft" align="right" valign="top">constexpr&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structentt_1_1null__t.html#a645f6d96cbb99f7b245058a05bf0e28b">operator Entity</a> () const noexcept</td></tr>
<tr class="memdesc:a645f6d96cbb99f7b245058a05bf0e28b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the null object to identifiers of any type. <br /></td></tr>
<tr class="separator:a645f6d96cbb99f7b245058a05bf0e28b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed9c63b072bec4c7c6c15dc110620a93"><td class="memItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structentt_1_1null__t.html#aed9c63b072bec4c7c6c15dc110620a93">operator==</a> (const <a class="el" href="structentt_1_1null__t.html">null_t</a> other) const noexcept</td></tr>
<tr class="memdesc:aed9c63b072bec4c7c6c15dc110620a93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two null objects. <br /></td></tr>
<tr class="separator:aed9c63b072bec4c7c6c15dc110620a93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6736a78ac5ffa158b229fdf4fefcdc34"><td class="memItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structentt_1_1null__t.html#a6736a78ac5ffa158b229fdf4fefcdc34">operator!=</a> (const <a class="el" href="structentt_1_1null__t.html">null_t</a> other) const noexcept</td></tr>
<tr class="memdesc:a6736a78ac5ffa158b229fdf4fefcdc34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two null objects. <br /></td></tr>
<tr class="separator:a6736a78ac5ffa158b229fdf4fefcdc34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b143232fe50fc52fee376f4f8e23a76"><td class="memTemplParams" colspan="2">template&lt;typename Entity &gt; </td></tr>
<tr class="memitem:a1b143232fe50fc52fee376f4f8e23a76"><td class="memTemplItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structentt_1_1null__t.html#a1b143232fe50fc52fee376f4f8e23a76">operator==</a> (const Entity <a class="el" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) const noexcept</td></tr>
<tr class="memdesc:a1b143232fe50fc52fee376f4f8e23a76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares a null object and an identifier of any type. <br /></td></tr>
<tr class="separator:a1b143232fe50fc52fee376f4f8e23a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c8a4bdade66b7f7520d10b4bb4fc858"><td class="memTemplParams" colspan="2">template&lt;typename Entity &gt; </td></tr>
<tr class="memitem:a2c8a4bdade66b7f7520d10b4bb4fc858"><td class="memTemplItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structentt_1_1null__t.html#a2c8a4bdade66b7f7520d10b4bb4fc858">operator!=</a> (const Entity <a class="el" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) const noexcept</td></tr>
<tr class="memdesc:a2c8a4bdade66b7f7520d10b4bb4fc858"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares a null object and an identifier of any type. <br /></td></tr>
<tr class="separator:a2c8a4bdade66b7f7520d10b4bb4fc858"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Null object for all identifiers. <br />
</p>
<p class="definition">Definition at line <a class="el" href="entity_8hpp_source.html#l00200">200</a> of file <a class="el" href="entity_8hpp_source.html">entity.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a645f6d96cbb99f7b245058a05bf0e28b" name="a645f6d96cbb99f7b245058a05bf0e28b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a645f6d96cbb99f7b245058a05bf0e28b">&#9670;&#160;</a></span>operator Entity()</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">constexpr entt::null_t::operator Entity </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 class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the null object to identifiers of any type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>Type of identifier. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The null representation for the given type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="entity_8hpp_source.html#l00207">207</a> of file <a class="el" href="entity_8hpp_source.html">entity.hpp</a>.</p>
</div>
</div>
<a id="a2c8a4bdade66b7f7520d10b4bb4fc858" name="a2c8a4bdade66b7f7520d10b4bb4fc858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c8a4bdade66b7f7520d10b4bb4fc858">&#9670;&#160;</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">constexpr bool entt::null_t::operator!= </td>
<td>(</td>
<td class="paramtype">const Entity&#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 class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares a null object and an identifier of any type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>Type of identifier. </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">entity</td><td>Identifier with which to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the two elements differ, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="entity_8hpp_source.html#l00250">250</a> of file <a class="el" href="entity_8hpp_source.html">entity.hpp</a>.</p>
</div>
</div>
<a id="a6736a78ac5ffa158b229fdf4fefcdc34" name="a6736a78ac5ffa158b229fdf4fefcdc34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6736a78ac5ffa158b229fdf4fefcdc34">&#9670;&#160;</a></span>operator!=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr bool entt::null_t::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structentt_1_1null__t.html">null_t</a>&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares two null objects. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>A null object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>False in all cases. </dd></dl>
<p class="definition">Definition at line <a class="el" href="entity_8hpp_source.html#l00227">227</a> of file <a class="el" href="entity_8hpp_source.html">entity.hpp</a>.</p>
</div>
</div>
<a id="a1b143232fe50fc52fee376f4f8e23a76" name="a1b143232fe50fc52fee376f4f8e23a76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b143232fe50fc52fee376f4f8e23a76">&#9670;&#160;</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">constexpr bool entt::null_t::operator== </td>
<td>(</td>
<td class="paramtype">const Entity&#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 class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares a null object and an identifier of any type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Entity</td><td>Type of identifier. </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">entity</td><td>Identifier with which to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>False if the two elements differ, true otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="entity_8hpp_source.html#l00238">238</a> of file <a class="el" href="entity_8hpp_source.html">entity.hpp</a>.</p>
</div>
</div>
<a id="aed9c63b072bec4c7c6c15dc110620a93" name="aed9c63b072bec4c7c6c15dc110620a93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed9c63b072bec4c7c6c15dc110620a93">&#9670;&#160;</a></span>operator==() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr bool entt::null_t::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structentt_1_1null__t.html">null_t</a>&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares two null objects. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>A null object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True in all cases. </dd></dl>
<p class="definition">Definition at line <a class="el" href="entity_8hpp_source.html#l00218">218</a> of file <a class="el" href="entity_8hpp_source.html">entity.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/entt/entity/<a class="el" href="entity_8hpp_source.html">entity.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>