blob: 9d7540bfaf829b8108aadb6d29f4c2c2e8c5a6b8 [file] [log] [blame]
<!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.6.0/cppdoc/binary__containers_8h_source.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.11"/>
<title>&nbsp; Apache Ignite C++: binary_containers.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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</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_containers.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="binary__containers_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="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _IGNITE_BINARY_BINARY_CONTAINERS</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_BINARY_BINARY_CONTAINERS</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;ignite/common/utils.h&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;ignite/impl/binary/binary_writer_impl.h&quot;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;ignite/impl/binary/binary_reader_impl.h&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="binary__consts_8h.html">ignite/binary/binary_consts.h</a>&quot;</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">namespace </span>binary</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; {</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryStringArrayWriter.html"> 48</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayWriter.html">BinaryStringArrayWriter</a></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayWriter.html">BinaryStringArrayWriter</a>(impl::binary::BinaryWriterImpl* impl, int32_t <span class="keywordtype">id</span>);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">void</span> Write(<span class="keyword">const</span> <span class="keywordtype">char</span>* val);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">void</span> Write(<span class="keyword">const</span> <span class="keywordtype">char</span>* val, int32_t len);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryStringArrayWriter.html#ad814256184e3b641f6b655a75d19e1ce"> 86</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayWriter.html#ad814256184e3b641f6b655a75d19e1ce">Write</a>(<span class="keyword">const</span> std::string&amp; val)</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; {</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; Write(val.c_str());</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordtype">void</span> Close();</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; impl::binary::BinaryWriterImpl* impl; </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keyword">const</span> int32_t id; </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; };</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayWriter.html"> 121</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1binary_1_1BinaryArrayWriter.html">BinaryArrayWriter</a></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayWriter.html#aec2ce4c2637563459874d053d24ecced"> 131</a></span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryArrayWriter.html#aec2ce4c2637563459874d053d24ecced">BinaryArrayWriter</a>(impl::binary::BinaryWriterImpl* impl, int32_t <span class="keywordtype">id</span>) :</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; impl(impl), id(id)</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayWriter.html#a81293d754bb61eb8e17f17ad017f2fc4"> 144</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryArrayWriter.html#a81293d754bb61eb8e17f17ad017f2fc4">Write</a>(<span class="keyword">const</span> T&amp; val)</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; impl-&gt;WriteElement&lt;T&gt;(id, val);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayWriter.html#a47f09b6de2bd4d9d31b04fc389ad3946"> 157</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryArrayWriter.html#a47f09b6de2bd4d9d31b04fc389ad3946">Close</a>()</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; impl-&gt;CommitContainer(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; }</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; impl::binary::BinaryWriterImpl* impl; </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keyword">const</span> int32_t id; </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="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionWriter.html"> 182</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html">BinaryCollectionWriter</a></div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; {</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionWriter.html#a34d5d50ba640893134cd092460001dd9"> 192</a></span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html#a34d5d50ba640893134cd092460001dd9">BinaryCollectionWriter</a>(impl::binary::BinaryWriterImpl* impl, int32_t <span class="keywordtype">id</span>) :</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; impl(impl), id(id)</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionWriter.html#aba9d255d8c4094d7f3f2aa32b81cef74"> 205</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html#aba9d255d8c4094d7f3f2aa32b81cef74">Write</a>(<span class="keyword">const</span> T&amp; val)</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; impl-&gt;WriteElement&lt;T&gt;(id, val);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; }</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionWriter.html#aaeba2731eee928480299a3310257d285"> 218</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html#aaeba2731eee928480299a3310257d285">Close</a>()</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; impl-&gt;CommitContainer(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; }</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; impl::binary::BinaryWriterImpl* impl; </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keyword">const</span> int32_t id; </div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; };</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapWriter.html"> 241</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html">BinaryMapWriter</a></div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; {</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapWriter.html#a4a68422e559efcda98e8c492b57d8aa3"> 251</a></span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html#a4a68422e559efcda98e8c492b57d8aa3">BinaryMapWriter</a>(impl::binary::BinaryWriterImpl* impl, int32_t <span class="keywordtype">id</span>) :</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; impl(impl), id(id)</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; }</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapWriter.html#a31cf449090d8d3417ad5a36616868ebd"> 265</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html#a31cf449090d8d3417ad5a36616868ebd">Write</a>(<span class="keyword">const</span> K&amp; key, <span class="keyword">const</span> V&amp; val)</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; {</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; impl-&gt;WriteElement&lt;K, V&gt;(id, key, val);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapWriter.html#a887db8056137c600bfe09b89f372607c"> 277</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html#a887db8056137c600bfe09b89f372607c">Close</a>()</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; impl-&gt;CommitContainer(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; }</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; impl::binary::BinaryWriterImpl* impl; </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keyword">const</span> int32_t id; </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; };</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryStringArrayReader.html"> 297</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayReader.html">BinaryStringArrayReader</a></div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayReader.html">BinaryStringArrayReader</a>(impl::binary::BinaryReaderImpl* impl, int32_t <span class="keywordtype">id</span>, int32_t size);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="keywordtype">bool</span> HasNext();</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; int32_t GetNext(<span class="keywordtype">char</span>* res, int32_t len);</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a34ca73f7bf8b554ba6c7aae380bdeebe"> 339</a></span>&#160; std::string <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a34ca73f7bf8b554ba6c7aae380bdeebe">GetNext</a>()</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; {</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; int32_t len = GetNext(NULL, 0);</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keywordflow">if</span> (len != -1)</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; {</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; ignite::common::FixedSizeArray&lt;char&gt; arr(len + 1);</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; GetNext(arr.GetData(), <span class="keyword">static_cast&lt;</span>int32_t<span class="keyword">&gt;</span>(arr.GetSize()));</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordflow">return</span> std::string(arr.GetData());</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; }</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="keywordflow">return</span> std::string();</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; }</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; int32_t GetSize() <span class="keyword">const</span>;</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordtype">bool</span> IsNull() <span class="keyword">const</span>;</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; impl::binary::BinaryReaderImpl* impl; </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; <span class="keyword">const</span> int32_t id;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keyword">const</span> int32_t size;</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; };</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayReader.html"> 389</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1binary_1_1BinaryArrayReader.html">BinaryArrayReader</a></div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; {</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayReader.html#a769b28f697b49ac51623493006e4eaa7"> 400</a></span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryArrayReader.html#a769b28f697b49ac51623493006e4eaa7">BinaryArrayReader</a>(impl::binary::BinaryReaderImpl* impl, int32_t <span class="keywordtype">id</span>, int32_t size) : </div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; impl(impl), id(id), size(size)</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; {</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; }</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayReader.html#aa7845e8ce6615fb7e0c32c6ce2c1543a"> 411</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1binary_1_1BinaryArrayReader.html#aa7845e8ce6615fb7e0c32c6ce2c1543a">HasNext</a>()</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; {</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <span class="keywordflow">return</span> impl-&gt;HasNextElement(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; }</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;</div><div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayReader.html#a7fb0a08bb8162b612ecc1c40e59af222"> 423</a></span>&#160; T <a class="code" href="classignite_1_1binary_1_1BinaryArrayReader.html#a7fb0a08bb8162b612ecc1c40e59af222">GetNext</a>()</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; {</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; <span class="keywordflow">return</span> impl-&gt;ReadElement&lt;T&gt;(id);</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; }</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160;</div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayReader.html#a372fd3a24cee84d85c51f88edd7c3c44"> 433</a></span>&#160; int32_t <a class="code" href="classignite_1_1binary_1_1BinaryArrayReader.html#a372fd3a24cee84d85c51f88edd7c3c44">GetSize</a>()</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; {</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; <span class="keywordflow">return</span> size;</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; }</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryArrayReader.html#a088e0fc02b2d4909fe1ab49e4f62521e"> 443</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1binary_1_1BinaryArrayReader.html#a088e0fc02b2d4909fe1ab49e4f62521e">IsNull</a>()</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; {</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; <span class="keywordflow">return</span> size == -1;</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; }</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; impl::binary::BinaryReaderImpl* impl;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160;</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <span class="keyword">const</span> int32_t id;</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; <span class="keyword">const</span> int32_t size;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; };</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html"> 468</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html">BinaryCollectionReader</a></div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; {</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a3b88325f92a5a1784555a51db7648981"> 480</a></span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a3b88325f92a5a1784555a51db7648981">BinaryCollectionReader</a>(impl::binary::BinaryReaderImpl* impl, int32_t <span class="keywordtype">id</span>, </div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; <span class="keyword">const</span> <a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bb">CollectionType::Type</a> type, int32_t size) : impl(impl), id(id), type(type), size(size)</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; {</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160; }</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160;</div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a4a63f1059659d11bcfa211acce8fbf2c"> 491</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a4a63f1059659d11bcfa211acce8fbf2c">HasNext</a>()</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; {</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; <span class="keywordflow">return</span> impl-&gt;HasNextElement(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; }</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;</div><div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a934ac1c5a28bee74c02a360abb736b19"> 503</a></span>&#160; T <a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a934ac1c5a28bee74c02a360abb736b19">GetNext</a>()</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; {</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160; <span class="keywordflow">return</span> impl-&gt;ReadElement&lt;T&gt;(id);</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; }</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; </div><div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a27353807d6da15623f8539c5f982bbd5"> 514</a></span>&#160; <a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bb">CollectionType::Type</a> <a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a27353807d6da15623f8539c5f982bbd5">GetType</a>()</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; {</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160; <span class="keywordflow">return</span> type;</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; }</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160;</div><div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a629e12f4aa308243c57fe4a4563d84b1"> 524</a></span>&#160; int32_t <a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a629e12f4aa308243c57fe4a4563d84b1">GetSize</a>()</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; {</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; <span class="keywordflow">return</span> size;</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; }</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;</div><div class="line"><a name="l00534"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a7030978b9711e8f5dab63028558867e2"> 534</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1binary_1_1BinaryCollectionReader.html#a7030978b9711e8f5dab63028558867e2">IsNull</a>()</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; {</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; <span class="keywordflow">return</span> size == -1;</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; }</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; impl::binary::BinaryReaderImpl* impl; </div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; <span class="keyword">const</span> int32_t id; </div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160; </div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160; <span class="keyword">const</span> <a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bb">CollectionType::Type</a> type; </div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160;</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; <span class="keyword">const</span> int32_t size; </div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; }; </div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160;</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div><div class="line"><a name="l00561"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html"> 561</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html">BinaryMapReader</a></div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160; {</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00573"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html#a2b5fe1df5d800106befb2b6984b16f2d"> 573</a></span>&#160; <a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html#a2b5fe1df5d800106befb2b6984b16f2d">BinaryMapReader</a>(impl::binary::BinaryReaderImpl* impl, int32_t <span class="keywordtype">id</span>, <a class="code" href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456">MapType::Type</a> type,</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; int32_t size) : impl(impl), id(id), type(type), size(size)</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; {</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; }</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;</div><div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html#ad62c2bfd4e90e4c0080e22ed88f38fda"> 584</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html#ad62c2bfd4e90e4c0080e22ed88f38fda">HasNext</a>()</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; {</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; <span class="keywordflow">return</span> impl-&gt;HasNextElement(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160; }</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;</div><div class="line"><a name="l00599"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html#ad4cdf13a2658198ac1972afe90727dbf"> 599</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html#ad4cdf13a2658198ac1972afe90727dbf">GetNext</a>(K&amp; key, V&amp; val)</div><div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160; {</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; <span class="keywordflow">return</span> impl-&gt;ReadElement&lt;K, V&gt;(id, key, val);</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; }</div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160;</div><div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html#a5910e720e45b814afd5679a2f53a1729"> 610</a></span>&#160; <a class="code" href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456">MapType::Type</a> <a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html#a5910e720e45b814afd5679a2f53a1729">GetType</a>()</div><div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; {</div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160; <span class="keywordflow">return</span> type;</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160; }</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html#a69edda88dcef3c1459591f725d0e1c3e"> 620</a></span>&#160; int32_t <a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html#a69edda88dcef3c1459591f725d0e1c3e">GetSize</a>()</div><div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; {</div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; <span class="keywordflow">return</span> size;</div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160; }</div><div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;</div><div class="line"><a name="l00630"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryMapReader.html#a74ac58c53a8bc524199fcc6fe479e7ef"> 630</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1binary_1_1BinaryMapReader.html#a74ac58c53a8bc524199fcc6fe479e7ef">IsNull</a>()</div><div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; {</div><div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; <span class="keywordflow">return</span> size == -1;</div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; }</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; impl::binary::BinaryReaderImpl* impl; </div><div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;</div><div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; <span class="keyword">const</span> int32_t id; </div><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;</div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160; <span class="keyword">const</span> <a class="code" href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456">MapType::Type</a> type;</div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;</div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; <span class="keyword">const</span> int32_t size;</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160; };</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; }</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;}</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160;</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160;<span class="preprocessor">#endif //_IGNITE_BINARY_BINARY_CONTAINERS</span></div><div class="ttc" id="classignite_1_1binary_1_1BinaryMapWriter_html_a4a68422e559efcda98e8c492b57d8aa3"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapWriter.html#a4a68422e559efcda98e8c492b57d8aa3">ignite::binary::BinaryMapWriter::BinaryMapWriter</a></div><div class="ttdeci">BinaryMapWriter(impl::binary::BinaryWriterImpl *impl, int32_t id)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:251</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayWriter_html_a81293d754bb61eb8e17f17ad017f2fc4"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayWriter.html#a81293d754bb61eb8e17f17ad017f2fc4">ignite::binary::BinaryArrayWriter::Write</a></div><div class="ttdeci">void Write(const T &amp;val)</div><div class="ttdoc">Write a value. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:144</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayReader_html_a7fb0a08bb8162b612ecc1c40e59af222"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayReader.html#a7fb0a08bb8162b612ecc1c40e59af222">ignite::binary::BinaryArrayReader::GetNext</a></div><div class="ttdeci">T GetNext()</div><div class="ttdoc">Read next element. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:423</div></div>
<div class="ttc" id="binary__consts_8h_html"><div class="ttname"><a href="binary__consts_8h.html">binary_consts.h</a></div><div class="ttdoc">Declares specific binary constatants. </div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayReader_html_a088e0fc02b2d4909fe1ab49e4f62521e"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayReader.html#a088e0fc02b2d4909fe1ab49e4f62521e">ignite::binary::BinaryArrayReader::IsNull</a></div><div class="ttdeci">bool IsNull()</div><div class="ttdoc">Check whether array is NULL. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:443</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryStringArrayReader_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryStringArrayReader.html">ignite::binary::BinaryStringArrayReader</a></div><div class="ttdoc">Binary string array reader. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:297</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionWriter_html_a34d5d50ba640893134cd092460001dd9"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionWriter.html#a34d5d50ba640893134cd092460001dd9">ignite::binary::BinaryCollectionWriter::BinaryCollectionWriter</a></div><div class="ttdeci">BinaryCollectionWriter(impl::binary::BinaryWriterImpl *impl, int32_t id)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:192</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html">ignite::binary::BinaryMapReader</a></div><div class="ttdoc">Binary map reader. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:561</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionReader_html_a27353807d6da15623f8539c5f982bbd5"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html#a27353807d6da15623f8539c5f982bbd5">ignite::binary::BinaryCollectionReader::GetType</a></div><div class="ttdeci">CollectionType::Type GetType()</div><div class="ttdoc">Get collection type. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:514</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionReader_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html">ignite::binary::BinaryCollectionReader</a></div><div class="ttdoc">Binary collection reader. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:468</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionWriter_html_aaeba2731eee928480299a3310257d285"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionWriter.html#aaeba2731eee928480299a3310257d285">ignite::binary::BinaryCollectionWriter::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">Close the writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:218</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryStringArrayReader_html_a34ca73f7bf8b554ba6c7aae380bdeebe"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a34ca73f7bf8b554ba6c7aae380bdeebe">ignite::binary::BinaryStringArrayReader::GetNext</a></div><div class="ttdeci">std::string GetNext()</div><div class="ttdoc">Get next element. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:339</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapWriter_html_a887db8056137c600bfe09b89f372607c"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapWriter.html#a887db8056137c600bfe09b89f372607c">ignite::binary::BinaryMapWriter::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">Close the writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:277</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionWriter_html_aba9d255d8c4094d7f3f2aa32b81cef74"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionWriter.html#aba9d255d8c4094d7f3f2aa32b81cef74">ignite::binary::BinaryCollectionWriter::Write</a></div><div class="ttdeci">void Write(const T &amp;val)</div><div class="ttdoc">Write a value. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:205</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionReader_html_a629e12f4aa308243c57fe4a4563d84b1"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html#a629e12f4aa308243c57fe4a4563d84b1">ignite::binary::BinaryCollectionReader::GetSize</a></div><div class="ttdeci">int32_t GetSize()</div><div class="ttdoc">Get collection size. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:524</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionWriter_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionWriter.html">ignite::binary::BinaryCollectionWriter</a></div><div class="ttdoc">Binary collection writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:182</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionReader_html_a7030978b9711e8f5dab63028558867e2"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html#a7030978b9711e8f5dab63028558867e2">ignite::binary::BinaryCollectionReader::IsNull</a></div><div class="ttdeci">bool IsNull()</div><div class="ttdoc">Check whether collection is NULL. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:534</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayWriter_html_a47f09b6de2bd4d9d31b04fc389ad3946"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayWriter.html#a47f09b6de2bd4d9d31b04fc389ad3946">ignite::binary::BinaryArrayWriter::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">Close the writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:157</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html_a74ac58c53a8bc524199fcc6fe479e7ef"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html#a74ac58c53a8bc524199fcc6fe479e7ef">ignite::binary::BinaryMapReader::IsNull</a></div><div class="ttdeci">bool IsNull()</div><div class="ttdoc">Check whether map is NULL. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:630</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayWriter_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayWriter.html">ignite::binary::BinaryArrayWriter</a></div><div class="ttdoc">Binary array writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:121</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayReader_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayReader.html">ignite::binary::BinaryArrayReader</a></div><div class="ttdoc">Binary array reader. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:389</div></div>
<div class="ttc" id="structignite_1_1binary_1_1CollectionType_html_a03610e138c65428dc81c08f62b7729bb"><div class="ttname"><a href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bb">ignite::binary::CollectionType::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition:</b> binary_consts.h:35</div></div>
<div class="ttc" id="structignite_1_1binary_1_1MapType_html_a138cf8f1db233f607ea34aaa8a99b456"><div class="ttname"><a href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456">ignite::binary::MapType::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition:</b> binary_consts.h:69</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionReader_html_a934ac1c5a28bee74c02a360abb736b19"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html#a934ac1c5a28bee74c02a360abb736b19">ignite::binary::BinaryCollectionReader::GetNext</a></div><div class="ttdeci">T GetNext()</div><div class="ttdoc">Read next element. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:503</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryStringArrayWriter_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryStringArrayWriter.html">ignite::binary::BinaryStringArrayWriter</a></div><div class="ttdoc">Binary string array writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:48</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html_ad62c2bfd4e90e4c0080e22ed88f38fda"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html#ad62c2bfd4e90e4c0080e22ed88f38fda">ignite::binary::BinaryMapReader::HasNext</a></div><div class="ttdeci">bool HasNext()</div><div class="ttdoc">Check whether next element is available for read. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:584</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryStringArrayWriter_html_ad814256184e3b641f6b655a75d19e1ce"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryStringArrayWriter.html#ad814256184e3b641f6b655a75d19e1ce">ignite::binary::BinaryStringArrayWriter::Write</a></div><div class="ttdeci">void Write(const std::string &amp;val)</div><div class="ttdoc">Write string. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:86</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayWriter_html_aec2ce4c2637563459874d053d24ecced"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayWriter.html#aec2ce4c2637563459874d053d24ecced">ignite::binary::BinaryArrayWriter::BinaryArrayWriter</a></div><div class="ttdeci">BinaryArrayWriter(impl::binary::BinaryWriterImpl *impl, int32_t id)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:131</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html_a2b5fe1df5d800106befb2b6984b16f2d"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html#a2b5fe1df5d800106befb2b6984b16f2d">ignite::binary::BinaryMapReader::BinaryMapReader</a></div><div class="ttdeci">BinaryMapReader(impl::binary::BinaryReaderImpl *impl, int32_t id, MapType::Type type, int32_t size)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:573</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayReader_html_a372fd3a24cee84d85c51f88edd7c3c44"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayReader.html#a372fd3a24cee84d85c51f88edd7c3c44">ignite::binary::BinaryArrayReader::GetSize</a></div><div class="ttdeci">int32_t GetSize()</div><div class="ttdoc">Get array size. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:433</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html_ad4cdf13a2658198ac1972afe90727dbf"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html#ad4cdf13a2658198ac1972afe90727dbf">ignite::binary::BinaryMapReader::GetNext</a></div><div class="ttdeci">void GetNext(K &amp;key, V &amp;val)</div><div class="ttdoc">Read next element. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:599</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html_a69edda88dcef3c1459591f725d0e1c3e"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html#a69edda88dcef3c1459591f725d0e1c3e">ignite::binary::BinaryMapReader::GetSize</a></div><div class="ttdeci">int32_t GetSize()</div><div class="ttdoc">Get map size. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:620</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapWriter_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapWriter.html">ignite::binary::BinaryMapWriter</a></div><div class="ttdoc">Binary map writer. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:241</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayReader_html_aa7845e8ce6615fb7e0c32c6ce2c1543a"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayReader.html#aa7845e8ce6615fb7e0c32c6ce2c1543a">ignite::binary::BinaryArrayReader::HasNext</a></div><div class="ttdeci">bool HasNext()</div><div class="ttdoc">Check whether next element is available for read. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:411</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapReader_html_a5910e720e45b814afd5679a2f53a1729"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapReader.html#a5910e720e45b814afd5679a2f53a1729">ignite::binary::BinaryMapReader::GetType</a></div><div class="ttdeci">MapType::Type GetType()</div><div class="ttdoc">Get map type. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:610</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryMapWriter_html_a31cf449090d8d3417ad5a36616868ebd"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryMapWriter.html#a31cf449090d8d3417ad5a36616868ebd">ignite::binary::BinaryMapWriter::Write</a></div><div class="ttdeci">void Write(const K &amp;key, const V &amp;val)</div><div class="ttdoc">Write a map entry. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:265</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryArrayReader_html_a769b28f697b49ac51623493006e4eaa7"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryArrayReader.html#a769b28f697b49ac51623493006e4eaa7">ignite::binary::BinaryArrayReader::BinaryArrayReader</a></div><div class="ttdeci">BinaryArrayReader(impl::binary::BinaryReaderImpl *impl, int32_t id, int32_t size)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:400</div></div>
<div class="ttc" id="namespaceignite_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="classignite_1_1binary_1_1BinaryCollectionReader_html_a4a63f1059659d11bcfa211acce8fbf2c"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html#a4a63f1059659d11bcfa211acce8fbf2c">ignite::binary::BinaryCollectionReader::HasNext</a></div><div class="ttdeci">bool HasNext()</div><div class="ttdoc">Check whether next element is available for read. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:491</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryCollectionReader_html_a3b88325f92a5a1784555a51db7648981"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryCollectionReader.html#a3b88325f92a5a1784555a51db7648981">ignite::binary::BinaryCollectionReader::BinaryCollectionReader</a></div><div class="ttdeci">BinaryCollectionReader(impl::binary::BinaryReaderImpl *impl, int32_t id, const CollectionType::Type type, int32_t size)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> binary_containers.h:480</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 10 2018 10:57:32 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.11
</small></address>
</body>
</html>