713 lines
41 KiB
HTML
713 lines
41 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>EnTT: entt::basic_hashed_string< Char > Class Template Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">EnTT<span id="projectnumber"> 3.15.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',false);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){ initResizable(false); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="classentt_1_1basic__hashed__string.html">basic_hashed_string</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="classentt_1_1basic__hashed__string-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">entt::basic_hashed_string< Char > Class Template Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Zero overhead unique identifier.
|
|
<a href="#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for entt::basic_hashed_string< Char >:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classentt_1_1basic__hashed__string__inherit__graph.png" border="0" usemap="#aentt_1_1basic__hashed__string_3_01Char_01_4_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aentt_1_1basic__hashed__string_3_01Char_01_4_inherit__map" id="aentt_1_1basic__hashed__string_3_01Char_01_4_inherit__map">
|
|
<area shape="rect" title="Zero overhead unique identifier." alt="" coords="15,93,147,133"/>
|
|
<area shape="rect" title=" " alt="" coords="5,5,157,45"/>
|
|
<area shape="poly" title=" " alt="" coords="84,59,84,93,79,93,79,59"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for entt::basic_hashed_string< Char >:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classentt_1_1basic__hashed__string__coll__graph.png" border="0" usemap="#aentt_1_1basic__hashed__string_3_01Char_01_4_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aentt_1_1basic__hashed__string_3_01Char_01_4_coll__map" id="aentt_1_1basic__hashed__string_3_01Char_01_4_coll__map">
|
|
<area shape="rect" title="Zero overhead unique identifier." alt="" coords="15,93,147,133"/>
|
|
<area shape="rect" title=" " alt="" coords="5,5,157,45"/>
|
|
<area shape="poly" title=" " alt="" coords="84,59,84,93,79,93,79,59"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a0fa6c444b2d97cc14506cc509daef9b0" id="r_a0fa6c444b2d97cc14506cc509daef9b0"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> = typename base_type::value_type</td></tr>
|
|
<tr class="memdesc:a0fa6c444b2d97cc14506cc509daef9b0"><td class="mdescLeft"> </td><td class="mdescRight">Character type. <br /></td></tr>
|
|
<tr class="separator:a0fa6c444b2d97cc14506cc509daef9b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4550e2c6eb3ec63c72d6d831182bd015" id="r_a4550e2c6eb3ec63c72d6d831182bd015"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a> = typename base_type::size_type</td></tr>
|
|
<tr class="memdesc:a4550e2c6eb3ec63c72d6d831182bd015"><td class="mdescLeft"> </td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
|
|
<tr class="separator:a4550e2c6eb3ec63c72d6d831182bd015"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7b625799426407d8083f7d418e2c6a9e" id="r_a7b625799426407d8083f7d418e2c6a9e"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> = typename base_type::hash_type</td></tr>
|
|
<tr class="memdesc:a7b625799426407d8083f7d418e2c6a9e"><td class="mdescLeft"> </td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
|
|
<tr class="separator:a7b625799426407d8083f7d418e2c6a9e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><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:ad293de7f68f028a3e5bd8c5928cd2595" id="r_ad293de7f68f028a3e5bd8c5928cd2595"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="#ad293de7f68f028a3e5bd8c5928cd2595">basic_hashed_string</a> () noexcept</td></tr>
|
|
<tr class="memdesc:ad293de7f68f028a3e5bd8c5928cd2595"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an empty hashed string. <br /></td></tr>
|
|
<tr class="separator:ad293de7f68f028a3e5bd8c5928cd2595"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa4eb4386f94b4669624f7b404a6beb9e" id="r_aa4eb4386f94b4669624f7b404a6beb9e"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="#aa4eb4386f94b4669624f7b404a6beb9e">basic_hashed_string</a> (const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> *str, const <a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a> len) noexcept</td></tr>
|
|
<tr class="memdesc:aa4eb4386f94b4669624f7b404a6beb9e"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a hashed string from a string view. <br /></td></tr>
|
|
<tr class="separator:aa4eb4386f94b4669624f7b404a6beb9e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac71a88aea432d1928a57daa248b17bd" id="r_aac71a88aea432d1928a57daa248b17bd"><td class="memTemplParams" colspan="2">template<std::size_t N> </td></tr>
|
|
<tr class="memitem:aac71a88aea432d1928a57daa248b17bd"><td class="memTemplItemLeft" align="right" valign="top">constexpr </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#aac71a88aea432d1928a57daa248b17bd">basic_hashed_string</a> (const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a>(&str)[N]) noexcept</td></tr>
|
|
<tr class="memdesc:aac71a88aea432d1928a57daa248b17bd"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a hashed string from an array of const characters. <br /></td></tr>
|
|
<tr class="separator:aac71a88aea432d1928a57daa248b17bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af73ccc8ea097392a5ca14d1d8dfc13f0" id="r_af73ccc8ea097392a5ca14d1d8dfc13f0"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="#af73ccc8ea097392a5ca14d1d8dfc13f0">basic_hashed_string</a> (const_wrapper wrapper) noexcept</td></tr>
|
|
<tr class="memdesc:af73ccc8ea097392a5ca14d1d8dfc13f0"><td class="mdescLeft"> </td><td class="mdescRight">Explicit constructor on purpose to avoid constructing a hashed string directly from a <code>const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0" title="Character type.">value_type</a> *</code>. <br /></td></tr>
|
|
<tr class="separator:af73ccc8ea097392a5ca14d1d8dfc13f0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab91d2397b34deea041dd8bff77bc8824" id="r_ab91d2397b34deea041dd8bff77bc8824"><td class="memItemLeft" align="right" valign="top">constexpr <a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab91d2397b34deea041dd8bff77bc8824">size</a> () const noexcept</td></tr>
|
|
<tr class="memdesc:ab91d2397b34deea041dd8bff77bc8824"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size a hashed string. <br /></td></tr>
|
|
<tr class="separator:ab91d2397b34deea041dd8bff77bc8824"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a212de28c36ed21bd3a2747ed0a62b4cc" id="r_a212de28c36ed21bd3a2747ed0a62b4cc"><td class="memItemLeft" align="right" valign="top">constexpr const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a212de28c36ed21bd3a2747ed0a62b4cc">data</a> () const noexcept</td></tr>
|
|
<tr class="memdesc:a212de28c36ed21bd3a2747ed0a62b4cc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the human-readable representation of a hashed string. <br /></td></tr>
|
|
<tr class="separator:a212de28c36ed21bd3a2747ed0a62b4cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3dfc8c9301c62d82add17de1cb4ffc7c" id="r_a3dfc8c9301c62d82add17de1cb4ffc7c"><td class="memItemLeft" align="right" valign="top">constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a3dfc8c9301c62d82add17de1cb4ffc7c">value</a> () const noexcept</td></tr>
|
|
<tr class="memdesc:a3dfc8c9301c62d82add17de1cb4ffc7c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the numeric representation of a hashed string. <br /></td></tr>
|
|
<tr class="separator:a3dfc8c9301c62d82add17de1cb4ffc7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aea866875a9b05e5c01c9642766a5857f" id="r_aea866875a9b05e5c01c9642766a5857f"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="#aea866875a9b05e5c01c9642766a5857f">operator const value_type *</a> () const noexcept</td></tr>
|
|
<tr class="memdesc:aea866875a9b05e5c01c9642766a5857f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the human-readable representation of a hashed string. <br /></td></tr>
|
|
<tr class="separator:aea866875a9b05e5c01c9642766a5857f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af0018b378b254991675acc20ba2c600d" id="r_af0018b378b254991675acc20ba2c600d"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="#af0018b378b254991675acc20ba2c600d">operator hash_type</a> () const noexcept</td></tr>
|
|
<tr class="memdesc:af0018b378b254991675acc20ba2c600d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the numeric representation of a hashed string. <br /></td></tr>
|
|
<tr class="separator:af0018b378b254991675acc20ba2c600d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:aee4121972ffa798e2cb755ae278c3d4e" id="r_aee4121972ffa798e2cb755ae278c3d4e"><td class="memItemLeft" align="right" valign="top">static constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#aee4121972ffa798e2cb755ae278c3d4e">value</a> (const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> *str, const <a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a> len) noexcept</td></tr>
|
|
<tr class="memdesc:aee4121972ffa798e2cb755ae278c3d4e"><td class="mdescLeft"> </td><td class="mdescRight">Returns directly the numeric representation of a string view. <br /></td></tr>
|
|
<tr class="separator:aee4121972ffa798e2cb755ae278c3d4e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4e3866531b504f05e804273188f1c0c0" id="r_a4e3866531b504f05e804273188f1c0c0"><td class="memTemplParams" colspan="2">template<std::size_t N> </td></tr>
|
|
<tr class="memitem:a4e3866531b504f05e804273188f1c0c0"><td class="memTemplItemLeft" align="right" valign="top">static constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a4e3866531b504f05e804273188f1c0c0">value</a> (const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a>(&str)[N]) noexcept</td></tr>
|
|
<tr class="memdesc:a4e3866531b504f05e804273188f1c0c0"><td class="mdescLeft"> </td><td class="mdescRight">Returns directly the numeric representation of a string. <br /></td></tr>
|
|
<tr class="separator:a4e3866531b504f05e804273188f1c0c0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6309ed49417ab2c62b3190e5917f7fbb" id="r_a6309ed49417ab2c62b3190e5917f7fbb"><td class="memItemLeft" align="right" valign="top">static constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6309ed49417ab2c62b3190e5917f7fbb">value</a> (const_wrapper wrapper) noexcept</td></tr>
|
|
<tr class="memdesc:a6309ed49417ab2c62b3190e5917f7fbb"><td class="mdescLeft"> </td><td class="mdescRight">Returns directly the numeric representation of a string. <br /></td></tr>
|
|
<tr class="separator:a6309ed49417ab2c62b3190e5917f7fbb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><div class="compoundTemplParams">template<typename Char><br />
|
|
class entt::basic_hashed_string< Char ></div><p>Zero overhead unique identifier. </p>
|
|
<p>A hashed string is a compile-time tool that allows users to use human-readable identifiers in the codebase while using their numeric counterparts at runtime.<br />
|
|
Because of that, a hashed string can also be used in constant expressions if required.</p>
|
|
<dl class="section warning"><dt>Warning</dt><dd>This class doesn't take ownership of user-supplied strings nor does it make a copy of them.</dd></dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">Char</td><td>Character type. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00059">59</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a id="a7b625799426407d8083f7d418e2c6a9e" name="a7b625799426407d8083f7d418e2c6a9e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7b625799426407d8083f7d418e2c6a9e">◆ </a></span>hash_type</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::hash_type = typename base_type::hash_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Unsigned integer type. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00088">88</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4550e2c6eb3ec63c72d6d831182bd015" name="a4550e2c6eb3ec63c72d6d831182bd015"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4550e2c6eb3ec63c72d6d831182bd015">◆ </a></span>size_type</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::size_type = typename base_type::size_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Unsigned integer type. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00086">86</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0fa6c444b2d97cc14506cc509daef9b0" name="a0fa6c444b2d97cc14506cc509daef9b0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0fa6c444b2d97cc14506cc509daef9b0">◆ </a></span>value_type</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::value_type = typename base_type::value_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Character type. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00084">84</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ad293de7f68f028a3e5bd8c5928cd2595" name="ad293de7f68f028a3e5bd8c5928cd2595"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad293de7f68f028a3e5bd8c5928cd2595">◆ </a></span>basic_hashed_string() <span class="overload">[1/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::basic_hashed_string </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs an empty hashed string. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00122">122</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa4eb4386f94b4669624f7b404a6beb9e" name="aa4eb4386f94b4669624f7b404a6beb9e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa4eb4386f94b4669624f7b404a6beb9e">◆ </a></span>basic_hashed_string() <span class="overload">[2/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::basic_hashed_string </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> *</td> <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a></td> <td class="paramname"><span class="paramname"><em>len</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs a hashed string from a string view. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">str</td><td>Human-readable identifier. </td></tr>
|
|
<tr><td class="paramname">len</td><td>Length of the string to hash. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00130">130</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aac71a88aea432d1928a57daa248b17bd" name="aac71a88aea432d1928a57daa248b17bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aac71a88aea432d1928a57daa248b17bd">◆ </a></span>basic_hashed_string() <span class="overload">[3/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<div class="memtemplate">
|
|
template<std::size_t N> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::basic_hashed_string </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a>(&)</td> <td class="paramname"><span class="paramname"><em>str</em></span>[N]</td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs a hashed string from an array of const characters. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">N</td><td>Number of characters of the identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">str</td><td>Human-readable identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00140">140</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af73ccc8ea097392a5ca14d1d8dfc13f0" name="af73ccc8ea097392a5ca14d1d8dfc13f0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af73ccc8ea097392a5ca14d1d8dfc13f0">◆ </a></span>basic_hashed_string() <span class="overload">[4/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::basic_hashed_string </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const_wrapper</td> <td class="paramname"><span class="paramname"><em>wrapper</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel explicit">explicit</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Explicit constructor on purpose to avoid constructing a hashed string directly from a <code>const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0" title="Character type.">value_type</a> *</code>. </p>
|
|
<dl class="section warning"><dt>Warning</dt><dd>The lifetime of the string is not extended nor is it copied.</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">wrapper</td><td>Helps achieving the purpose by relying on overloading. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00152">152</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a212de28c36ed21bd3a2747ed0a62b4cc" name="a212de28c36ed21bd3a2747ed0a62b4cc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a212de28c36ed21bd3a2747ed0a62b4cc">◆ </a></span>data()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> * <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::data </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the human-readable representation of a hashed string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The string used to initialize the hashed string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00167">167</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aea866875a9b05e5c01c9642766a5857f" name="aea866875a9b05e5c01c9642766a5857f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aea866875a9b05e5c01c9642766a5857f">◆ </a></span>operator const value_type *()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::operator const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> * </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the human-readable representation of a hashed string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The string used to initialize the hashed string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00180">180</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af0018b378b254991675acc20ba2c600d" name="af0018b378b254991675acc20ba2c600d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af0018b378b254991675acc20ba2c600d">◆ </a></span>operator hash_type()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::operator <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the numeric representation of a hashed string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The numeric representation of the hashed string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00188">188</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab91d2397b34deea041dd8bff77bc8824" name="ab91d2397b34deea041dd8bff77bc8824"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab91d2397b34deea041dd8bff77bc8824">◆ </a></span>size()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a> <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::size </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the size a hashed string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The size of the hashed string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00159">159</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3dfc8c9301c62d82add17de1cb4ffc7c" name="a3dfc8c9301c62d82add17de1cb4ffc7c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3dfc8c9301c62d82add17de1cb4ffc7c">◆ </a></span>value() <span class="overload">[1/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::value </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the numeric representation of a hashed string. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The numeric representation of the hashed string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00175">175</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aee4121972ffa798e2cb755ae278c3d4e" name="aee4121972ffa798e2cb755ae278c3d4e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee4121972ffa798e2cb755ae278c3d4e">◆ </a></span>value() <span class="overload">[2/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::value </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a> *</td> <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="#a4550e2c6eb3ec63c72d6d831182bd015">size_type</a></td> <td class="paramname"><span class="paramname"><em>len</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel static">static</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns directly the numeric representation of a string view. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">str</td><td>Human-readable identifier. </td></tr>
|
|
<tr><td class="paramname">len</td><td>Length of the string to hash. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The numeric representation of the string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00096">96</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4e3866531b504f05e804273188f1c0c0" name="a4e3866531b504f05e804273188f1c0c0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4e3866531b504f05e804273188f1c0c0">◆ </a></span>value() <span class="overload">[3/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<div class="memtemplate">
|
|
template<std::size_t N> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::value </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="#a0fa6c444b2d97cc14506cc509daef9b0">value_type</a>(&)</td> <td class="paramname"><span class="paramname"><em>str</em></span>[N]</td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel static">static</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns directly the numeric representation of a string. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">N</td><td>Number of characters of the identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">str</td><td>Human-readable identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The numeric representation of the string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00108">108</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6309ed49417ab2c62b3190e5917f7fbb" name="a6309ed49417ab2c62b3190e5917f7fbb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6309ed49417ab2c62b3190e5917f7fbb">◆ </a></span>value() <span class="overload">[4/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Char> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static constexpr <a class="el" href="#a7b625799426407d8083f7d418e2c6a9e">hash_type</a> <a class="el" href="classentt_1_1basic__hashed__string.html">entt::basic_hashed_string</a>< Char >::value </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const_wrapper</td> <td class="paramname"><span class="paramname"><em>wrapper</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel static">static</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns directly the numeric representation of a string. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">wrapper</td><td>Helps achieving the purpose by relying on overloading. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The numeric representation of the string. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="hashed__string_8hpp_source.html#l00117">117</a> of file <a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/entt/core/<a class="el" href="core_2fwd_8hpp_source.html">fwd.hpp</a></li>
|
|
<li>src/entt/core/<a class="el" href="hashed__string_8hpp_source.html">hashed_string.hpp</a></li>
|
|
</ul>
|
|
</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.13.2
|
|
</small></address>
|
|
</div><!-- doc-content -->
|
|
</body>
|
|
</html>
|