blob: 7018c2c55361730e3330c863f53b6abadb5bc84f [file] [log] [blame]
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>&nbsp; Apache Ignite C++: ignite::binary::BinaryEnumDefault&lt; T &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="namespaceignite_1_1binary.html">binary</a></li><li class="navelem"><a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html">BinaryEnumDefault</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="structignite_1_1binary_1_1BinaryEnumDefault-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ignite::binary::BinaryEnumDefault&lt; T &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Default implementations of <a class="el" href="structignite_1_1binary_1_1BinaryEnum.html" title="Binary enum structure.">BinaryEnum</a>.
<a href="structignite_1_1binary_1_1BinaryEnumDefault.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="binary__enum_8h_source.html">binary_enum.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ignite::binary::BinaryEnumDefault&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center">
<img src="structignite_1_1binary_1_1BinaryEnumDefault.png" usemap="#ignite::binary::BinaryEnumDefault_3C_20T_20_3E_map" alt=""/>
<map id="ignite::binary::BinaryEnumDefault_3C_20T_20_3E_map" name="ignite::binary::BinaryEnumDefault_3C_20T_20_3E_map">
<area href="structignite_1_1binary_1_1BinaryEnumDefaultAll.html" title="Default implementations of BinaryType hashing functions and non-null type behaviour." alt="ignite::binary::BinaryEnumDefaultAll&lt; T &gt;" shape="rect" coords="0,56,244,80"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab3e1336c69ef00e4fd3d4d3343b8dd16"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html#ab3e1336c69ef00e4fd3d4d3343b8dd16">GetTypeId</a> ()</td></tr>
<tr class="memdesc:ab3e1336c69ef00e4fd3d4d3343b8dd16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get type ID for the enum type. <a href="structignite_1_1binary_1_1BinaryEnumDefault.html#ab3e1336c69ef00e4fd3d4d3343b8dd16">More...</a><br /></td></tr>
<tr class="separator:ab3e1336c69ef00e4fd3d4d3343b8dd16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17bb09ef18e4045edef992e467bc9672"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html#a17bb09ef18e4045edef992e467bc9672">GetOrdinal</a> (T value)</td></tr>
<tr class="memdesc:a17bb09ef18e4045edef992e467bc9672"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get enum type ordinal. <a href="structignite_1_1binary_1_1BinaryEnumDefault.html#a17bb09ef18e4045edef992e467bc9672">More...</a><br /></td></tr>
<tr class="separator:a17bb09ef18e4045edef992e467bc9672"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a625b0d7a350837f27db254b2d2bab319"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html#a625b0d7a350837f27db254b2d2bab319">FromOrdinal</a> (int32_t ordinal)</td></tr>
<tr class="memdesc:a625b0d7a350837f27db254b2d2bab319"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get enum value for the given ordinal value. <a href="structignite_1_1binary_1_1BinaryEnumDefault.html#a625b0d7a350837f27db254b2d2bab319">More...</a><br /></td></tr>
<tr class="separator:a625b0d7a350837f27db254b2d2bab319"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
struct ignite::binary::BinaryEnumDefault&lt; T &gt;</h3>
<p>Default implementations of <a class="el" href="structignite_1_1binary_1_1BinaryEnum.html" title="Binary enum structure.">BinaryEnum</a>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a625b0d7a350837f27db254b2d2bab319"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a625b0d7a350837f27db254b2d2bab319">&#9670;&nbsp;</a></span>FromOrdinal()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static T <a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html">ignite::binary::BinaryEnumDefault</a>&lt; T &gt;::FromOrdinal </td>
<td>(</td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>ordinal</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get enum value for the given ordinal value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ordinal</td><td>Ordinal value of the enum. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a17bb09ef18e4045edef992e467bc9672"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17bb09ef18e4045edef992e467bc9672">&#9670;&nbsp;</a></span>GetOrdinal()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int32_t <a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html">ignite::binary::BinaryEnumDefault</a>&lt; T &gt;::GetOrdinal </td>
<td>(</td>
<td class="paramtype">T&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get enum type ordinal. </p>
<dl class="section return"><dt>Returns</dt><dd>Ordinal of the enum type. </dd></dl>
</div>
</div>
<a id="ab3e1336c69ef00e4fd3d4d3343b8dd16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3e1336c69ef00e4fd3d4d3343b8dd16">&#9670;&nbsp;</a></span>GetTypeId()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int32_t <a class="el" href="structignite_1_1binary_1_1BinaryEnumDefault.html">ignite::binary::BinaryEnumDefault</a>&lt; T &gt;::GetTypeId </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get type ID for the enum type. </p>
<dl class="section return"><dt>Returns</dt><dd>Type ID. </dd></dl>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="binary__enum_8h_source.html">binary_enum.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 10 2022 11:02:04 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>