blob: 0aa7801cd54a56a224804b8b0127ca5689b71e71 [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++: binary_enum.h 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>
<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="dir_88bd599177f4cc5007b9f053025b0bc5.html">binary</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">binary_enum.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="binary__enum_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#ifndef _IGNITE_BINARY_BINARY_ENUM</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define _IGNITE_BINARY_BINARY_ENUM</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;ignite/common/common.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="binary__type_8h.html">ignite/binary/binary_type.h</a>&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">namespace </span>binary</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; {</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum.html"> 54</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structignite_1_1binary_1_1BinaryEnum.html">BinaryEnum</a> { };</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumDefault.html"> 60</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structignite_1_1binary_1_1BinaryEnumDefault.html">BinaryEnumDefault</a></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; {</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumDefault.html#ab3e1336c69ef00e4fd3d4d3343b8dd16"> 67</a></span>&#160; <span class="keyword">static</span> int32_t <a class="code" href="structignite_1_1binary_1_1BinaryEnumDefault.html#ab3e1336c69ef00e4fd3d4d3343b8dd16">GetTypeId</a>()</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; std::string typeName;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="structignite_1_1binary_1_1BinaryEnum.html">BinaryEnum&lt;T&gt;::GetTypeName</a>(typeName);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceignite_1_1binary.html#ac93fb79680cc0baff9d1d6bd6e44139a">GetBinaryStringHashCode</a>(typeName.c_str());</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumDefault.html#a17bb09ef18e4045edef992e467bc9672"> 80</a></span>&#160; <span class="keyword">static</span> int32_t <a class="code" href="structignite_1_1binary_1_1BinaryEnumDefault.html#a17bb09ef18e4045edef992e467bc9672">GetOrdinal</a>(T value)</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; {</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>int32_t<span class="keyword">&gt;</span>(value);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; }</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumDefault.html#a625b0d7a350837f27db254b2d2bab319"> 90</a></span>&#160; <span class="keyword">static</span> T <a class="code" href="structignite_1_1binary_1_1BinaryEnumDefault.html#a625b0d7a350837f27db254b2d2bab319">FromOrdinal</a>(int32_t ordinal)</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; {</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>T<span class="keyword">&gt;</span>(ordinal);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; };</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html"> 100</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html">BinaryEnumIntMinNull</a></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; {</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html#aa30c2ef446330641dccec82da8959dac"> 107</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html#aa30c2ef446330641dccec82da8959dac">IsNull</a>(<span class="keyword">const</span> T&amp; val)</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; {</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> val == <a class="code" href="structignite_1_1binary_1_1BinaryEnum.html">BinaryEnum&lt;T&gt;::FromOrdinal</a>(INT32_MIN);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; }</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html#a4c148f58c4be44113ca334fcaa05c29b"> 117</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html#a4c148f58c4be44113ca334fcaa05c29b">GetNull</a>(T&amp; dst)</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; {</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; dst = <a class="code" href="structignite_1_1binary_1_1BinaryEnum.html">BinaryEnum&lt;T&gt;::FromOrdinal</a>(INT32_MIN);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; }</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; };</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnumDefaultAll.html"> 127</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structignite_1_1binary_1_1BinaryEnumDefaultAll.html">BinaryEnumDefaultAll</a> :</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="structignite_1_1binary_1_1BinaryEnumDefault.html">BinaryEnumDefault</a>&lt;T&gt;,</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <a class="code" href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html">BinaryEnumIntMinNull</a>&lt;T&gt; { };</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html"> 135</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structignite_1_1binary_1_1BinaryEnum.html">BinaryEnum</a>&lt;T*&gt;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; {</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a190ddba8542dfae87ae210a92865ffbf"> 138</a></span>&#160; <span class="keyword">typedef</span> <a class="code" href="structignite_1_1binary_1_1BinaryEnum.html">BinaryEnum&lt;T&gt;</a> <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a190ddba8542dfae87ae210a92865ffbf">BinaryEnumDereferenced</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#ae7d268e2d84fdc34bdf1c7447a8980e0"> 145</a></span>&#160; <span class="keyword">static</span> int32_t <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#ae7d268e2d84fdc34bdf1c7447a8980e0">GetTypeId</a>()</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; {</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">return</span> BinaryEnumDereferenced::GetTypeId();</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a09c0f434d55b5c8a7ce5c61d2a4ec939"> 155</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a09c0f434d55b5c8a7ce5c61d2a4ec939">GetTypeName</a>(std::string&amp; dst)</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; {</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; BinaryEnumDereferenced::GetTypeName(dst);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; }</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a59a28afa8d81d7ec6457264974e84136"> 165</a></span>&#160; <span class="keyword">static</span> int32_t <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a59a28afa8d81d7ec6457264974e84136">GetOrdinal</a>(T* value)</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; {</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordflow">return</span> BinaryEnumDereferenced::GetOrdinal(*value);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; }</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#afbc66e7268e86329de27d6da77910999"> 175</a></span>&#160; <span class="keyword">static</span> T* <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#afbc66e7268e86329de27d6da77910999">FromOrdinal</a>(int32_t ordinal)</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; {</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">return</span> <span class="keyword">new</span> T(BinaryEnumDereferenced::FromOrdinal(ordinal));</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; }</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a5b59c3242d574bb1024f878858f47ac4"> 186</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a5b59c3242d574bb1024f878858f47ac4">IsNull</a>(T* <span class="keyword">const</span>&amp; obj)</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; {</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordflow">return</span> !obj || BinaryEnumDereferenced::IsNull(*obj);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; }</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#acb787af46b4d8b7e7e94916e52b5d619"> 196</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#acb787af46b4d8b7e7e94916e52b5d619">GetNull</a>(T*&amp; dst)</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; {</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; dst = 0;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; }</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; };</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; }</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;}</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="preprocessor">#endif //_IGNITE_BINARY_BINARY_ENUM</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceignite_html"><div class="ttname"><a href="namespaceignite.html">ignite</a></div><div class="ttdoc">Apache Ignite API.</div><div class="ttdef"><b>Definition:</b> cache.h:48</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_html"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum.html">ignite::binary::BinaryEnum</a></div><div class="ttdoc">Binary enum structure.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:54</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumIntMinNull_html_aa30c2ef446330641dccec82da8959dac"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html#aa30c2ef446330641dccec82da8959dac">ignite::binary::BinaryEnumIntMinNull::IsNull</a></div><div class="ttdeci">static bool IsNull(const T &amp;val)</div><div class="ttdoc">Check whether passed binary object should be interpreted as NULL.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:107</div></div>
<div class="ttc" id="anamespaceignite_1_1binary_html_ac93fb79680cc0baff9d1d6bd6e44139a"><div class="ttname"><a href="namespaceignite_1_1binary.html#ac93fb79680cc0baff9d1d6bd6e44139a">ignite::binary::GetBinaryStringHashCode</a></div><div class="ttdeci">IGNITE_IMPORT_EXPORT int32_t GetBinaryStringHashCode(const char *val)</div><div class="ttdoc">Get binary string hash code.</div><div class="ttdef"><b>Definition:</b> binary_type.cpp:24</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_a59a28afa8d81d7ec6457264974e84136"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a59a28afa8d81d7ec6457264974e84136">ignite::binary::BinaryEnum&lt; T * &gt;::GetOrdinal</a></div><div class="ttdeci">static int32_t GetOrdinal(T *value)</div><div class="ttdoc">Get enum type ordinal.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:165</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumIntMinNull_html_a4c148f58c4be44113ca334fcaa05c29b"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html#a4c148f58c4be44113ca334fcaa05c29b">ignite::binary::BinaryEnumIntMinNull::GetNull</a></div><div class="ttdeci">static void GetNull(T &amp;dst)</div><div class="ttdoc">Get NULL value for the given binary type.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:117</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumDefault_html"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumDefault.html">ignite::binary::BinaryEnumDefault</a></div><div class="ttdoc">Default implementations of BinaryEnum.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:60</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumDefault_html_ab3e1336c69ef00e4fd3d4d3343b8dd16"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumDefault.html#ab3e1336c69ef00e4fd3d4d3343b8dd16">ignite::binary::BinaryEnumDefault::GetTypeId</a></div><div class="ttdeci">static int32_t GetTypeId()</div><div class="ttdoc">Get type ID for the enum type.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:67</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumDefault_html_a17bb09ef18e4045edef992e467bc9672"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumDefault.html#a17bb09ef18e4045edef992e467bc9672">ignite::binary::BinaryEnumDefault::GetOrdinal</a></div><div class="ttdeci">static int32_t GetOrdinal(T value)</div><div class="ttdoc">Get enum type ordinal.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:80</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumIntMinNull_html"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumIntMinNull.html">ignite::binary::BinaryEnumIntMinNull</a></div><div class="ttdoc">Implementations of BinaryEnum nullability when INT32_MIN ordinal value used as a NULL indicator.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:100</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_a5b59c3242d574bb1024f878858f47ac4"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a5b59c3242d574bb1024f878858f47ac4">ignite::binary::BinaryEnum&lt; T * &gt;::IsNull</a></div><div class="ttdeci">static bool IsNull(T *const &amp;obj)</div><div class="ttdoc">Check whether passed enum should be interpreted as NULL.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:186</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_a190ddba8542dfae87ae210a92865ffbf"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a190ddba8542dfae87ae210a92865ffbf">ignite::binary::BinaryEnum&lt; T * &gt;::BinaryEnumDereferenced</a></div><div class="ttdeci">BinaryEnum&lt; T &gt; BinaryEnumDereferenced</div><div class="ttdoc">Actual type.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:138</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_ae7d268e2d84fdc34bdf1c7447a8980e0"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#ae7d268e2d84fdc34bdf1c7447a8980e0">ignite::binary::BinaryEnum&lt; T * &gt;::GetTypeId</a></div><div class="ttdeci">static int32_t GetTypeId()</div><div class="ttdoc">Get binary object type ID.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:145</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumDefault_html_a625b0d7a350837f27db254b2d2bab319"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumDefault.html#a625b0d7a350837f27db254b2d2bab319">ignite::binary::BinaryEnumDefault::FromOrdinal</a></div><div class="ttdeci">static T FromOrdinal(int32_t ordinal)</div><div class="ttdoc">Get enum value for the given ordinal value.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:90</div></div>
<div class="ttc" id="abinary__type_8h_html"><div class="ttname"><a href="binary__type_8h.html">binary_type.h</a></div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_acb787af46b4d8b7e7e94916e52b5d619"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#acb787af46b4d8b7e7e94916e52b5d619">ignite::binary::BinaryEnum&lt; T * &gt;::GetNull</a></div><div class="ttdeci">static void GetNull(T *&amp;dst)</div><div class="ttdoc">Get NULL value for the enum type.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:196</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_afbc66e7268e86329de27d6da77910999"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#afbc66e7268e86329de27d6da77910999">ignite::binary::BinaryEnum&lt; T * &gt;::FromOrdinal</a></div><div class="ttdeci">static T * FromOrdinal(int32_t ordinal)</div><div class="ttdoc">Get enum value for the given ordinal value.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:175</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnumDefaultAll_html"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnumDefaultAll.html">ignite::binary::BinaryEnumDefaultAll</a></div><div class="ttdoc">Default implementations of BinaryType hashing functions and non-null type behaviour.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:127</div></div>
<div class="ttc" id="astructignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4_html_a09c0f434d55b5c8a7ce5c61d2a4ec939"><div class="ttname"><a href="structignite_1_1binary_1_1BinaryEnum_3_01T_01_5_01_4.html#a09c0f434d55b5c8a7ce5c61d2a4ec939">ignite::binary::BinaryEnum&lt; T * &gt;::GetTypeName</a></div><div class="ttdeci">static void GetTypeName(std::string &amp;dst)</div><div class="ttdoc">Get binary object type name.</div><div class="ttdef"><b>Definition:</b> binary_enum.h:155</div></div>
<!-- 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>