| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.8.0/cppdoc/structignite_1_1binary_1_1BinaryEnumDefault.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| |
| |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.13"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title> Apache Ignite C++: ignite::binary::BinaryEnumDefault< T > 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" /> |
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></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"> Apache Ignite C++ |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| </script> |
| <div id="main-nav"></div> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="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> | |
| <a href="structignite_1_1binary_1_1BinaryEnumDefault-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">ignite::binary::BinaryEnumDefault< T > 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 <<a class="el" href="binary__enum_8h_source.html">binary_enum.h</a>></code></p> |
| <div class="dynheader"> |
| Inheritance diagram for ignite::binary::BinaryEnumDefault< T >:</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< T >" 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 </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"> </td><td class="mdescRight">Get type ID for the enum type. <a href="#ab3e1336c69ef00e4fd3d4d3343b8dd16">More...</a><br /></td></tr> |
| <tr class="separator:ab3e1336c69ef00e4fd3d4d3343b8dd16"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a17bb09ef18e4045edef992e467bc9672"><td class="memItemLeft" align="right" valign="top">static int32_t </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"> </td><td class="mdescRight">Get enum type ordinal. <a href="#a17bb09ef18e4045edef992e467bc9672">More...</a><br /></td></tr> |
| <tr class="separator:a17bb09ef18e4045edef992e467bc9672"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a625b0d7a350837f27db254b2d2bab319"><td class="memItemLeft" align="right" valign="top">static T </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"> </td><td class="mdescRight">Get enum value for the given ordinal value. <a href="#a625b0d7a350837f27db254b2d2bab319">More...</a><br /></td></tr> |
| <tr class="separator:a625b0d7a350837f27db254b2d2bab319"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><h3>template<typename T><br /> |
| struct ignite::binary::BinaryEnumDefault< T ></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">◆ </a></span>FromOrdinal()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </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>< T >::FromOrdinal </td> |
| <td>(</td> |
| <td class="paramtype">int32_t </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">◆ </a></span>GetOrdinal()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </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>< T >::GetOrdinal </td> |
| <td>(</td> |
| <td class="paramtype">T </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">◆ </a></span>GetTypeId()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </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>< T >::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 Thu Feb 27 2020 14:01:15 for Apache Ignite C++ by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.13 |
| </small></address> |
| </body> |
| </html> |