| <!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.4.0/cppdoc/binary__raw__writer_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> Apache Ignite C++: binary_raw_writer.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"> 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 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 List</span></a></li> |
| <li><a href="globals.html"><span>File 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_raw_writer.h</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="binary__raw__writer_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> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <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> <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> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <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> <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> <span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef _IGNITE_BINARY_BINARY_RAW_WRITER</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define _IGNITE_BINARY_BINARY_RAW_WRITER</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <stdint.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <ignite/common/common.h></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "ignite/impl/binary/binary_writer_impl.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="binary__consts_8h.html">ignite/binary/binary_consts.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="binary__containers_8h.html">ignite/binary/binary_containers.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="guid_8h.html">ignite/guid.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="date_8h.html">ignite/date.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="timestamp_8h.html">ignite/timestamp.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">namespace </span>binary</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html"> 55</a></span>  <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html">BinaryRawWriter</a></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html">BinaryRawWriter</a>(ignite::impl::binary::BinaryWriterImpl* impl);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> WriteInt8(int8_t val);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> WriteInt8Array(<span class="keyword">const</span> int8_t* val, int32_t len);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">void</span> WriteBool(<span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> WriteBoolArray(<span class="keyword">const</span> <span class="keywordtype">bool</span>* val, int32_t len);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">void</span> WriteInt16(int16_t val);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">void</span> WriteInt16Array(<span class="keyword">const</span> int16_t* val, int32_t len);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">void</span> WriteUInt16(uint16_t val);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> WriteUInt16Array(<span class="keyword">const</span> uint16_t* val, int32_t len);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">void</span> WriteInt32(int32_t val);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordtype">void</span> WriteInt32Array(<span class="keyword">const</span> int32_t* val, int32_t len);</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">void</span> WriteInt64(int64_t val);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordtype">void</span> WriteInt64Array(<span class="keyword">const</span> int64_t* val, int32_t len);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">void</span> WriteFloat(<span class="keywordtype">float</span> val);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">void</span> WriteFloatArray(<span class="keyword">const</span> <span class="keywordtype">float</span>* val, int32_t len);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">void</span> WriteDouble(<span class="keywordtype">double</span> val);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordtype">void</span> WriteDoubleArray(<span class="keyword">const</span> <span class="keywordtype">double</span>* val, int32_t len);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> WriteGuid(<span class="keyword">const</span> <a class="code" href="classignite_1_1Guid.html">Guid</a>& val);</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordtype">void</span> WriteGuidArray(<span class="keyword">const</span> <a class="code" href="classignite_1_1Guid.html">Guid</a>* val, int32_t len);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">void</span> WriteDate(<span class="keyword">const</span> <a class="code" href="classignite_1_1Date.html">Date</a>& val);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">void</span> WriteDateArray(<span class="keyword">const</span> <a class="code" href="classignite_1_1Date.html">Date</a>* val, int32_t len);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">void</span> WriteTimestamp(<span class="keyword">const</span> <a class="code" href="classignite_1_1Timestamp.html">Timestamp</a>& val);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordtype">void</span> WriteTimestampArray(<span class="keyword">const</span> <a class="code" href="classignite_1_1Timestamp.html">Timestamp</a>* val, int32_t len);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">void</span> WriteTime(<span class="keyword">const</span> <a class="code" href="classignite_1_1Time.html">Time</a>& val);</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordtype">void</span> WriteTimeArray(<span class="keyword">const</span> <a class="code" href="classignite_1_1Time.html">Time</a>* val, <span class="keyword">const</span> int32_t len);</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordtype">void</span> WriteString(<span class="keyword">const</span> <span class="keywordtype">char</span>* val);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keywordtype">void</span> WriteString(<span class="keyword">const</span> <span class="keywordtype">char</span>* val, int32_t len);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#a919156abb2cb4a0bffe4b7f542d202f6"> 267</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a919156abb2cb4a0bffe4b7f542d202f6">WriteString</a>(<span class="keyword">const</span> std::string& val)</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  WriteString(val.c_str());</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="classignite_1_1binary_1_1BinaryStringArrayWriter.html">BinaryStringArrayWriter</a> WriteStringArray();</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordtype">void</span> WriteNull();</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#aa10ab89a9de9f45c8f0f61c2a3587d0c"> 290</a></span>  <a class="code" href="classignite_1_1binary_1_1BinaryArrayWriter.html">BinaryArrayWriter<T></a> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#aa10ab89a9de9f45c8f0f61c2a3587d0c">WriteArray</a>()</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  int32_t <span class="keywordtype">id</span> = impl->WriteArray();</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1binary_1_1BinaryArrayWriter.html">BinaryArrayWriter<T></a>(impl, id);</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  }</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#a95b3382c99f50a6b751041946a6d8820"> 303</a></span>  <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html">BinaryCollectionWriter<T></a> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a95b3382c99f50a6b751041946a6d8820">WriteCollection</a>()</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  {</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">return</span> WriteCollection<T>(<a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bba0dbcb37b8e35ac72ed89b53305ed3596">CollectionType::UNDEFINED</a>);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#aa284a8ddeb81777237cff22ee14a1f26"> 315</a></span>  <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html">BinaryCollectionWriter<T></a> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#aa284a8ddeb81777237cff22ee14a1f26">WriteCollection</a>(<a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bb">CollectionType::Type</a> typ)</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  int32_t <span class="keywordtype">id</span> = impl->WriteCollection(typ);</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1binary_1_1BinaryCollectionWriter.html">BinaryCollectionWriter<T></a>(impl, id);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  }</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keyword">template</span><<span class="keyword">typename</span> InputIterator></div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#a4b237c690cc34b67e2491f408eff1d77"> 329</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a4b237c690cc34b67e2491f408eff1d77">WriteCollection</a>(InputIterator first, InputIterator last)</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  impl->WriteCollection(first, last, <a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bba0dbcb37b8e35ac72ed89b53305ed3596">CollectionType::UNDEFINED</a>);</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  }</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keyword">template</span><<span class="keyword">typename</span> InputIterator></div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#aeaf9bc94fd7c1a7e942abdda73d6b599"> 342</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#aeaf9bc94fd7c1a7e942abdda73d6b599">WriteCollection</a>(InputIterator first, InputIterator last, <a class="code" href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bb">CollectionType::Type</a> typ)</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  impl->WriteCollection(first, last, typ);</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> </div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keyword">template</span><<span class="keyword">typename</span> K, <span class="keyword">typename</span> V></div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#ab808ab392d9f32e0454015cb648a0bd9"> 353</a></span>  <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html">BinaryMapWriter<K, V></a> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#ab808ab392d9f32e0454015cb648a0bd9">WriteMap</a>()</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keywordflow">return</span> WriteMap<K, V>(<a class="code" href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456ae64ff37323ba9bc49d3dd6e3133ac486">MapType::UNDEFINED</a>);</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  }</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keyword">template</span><<span class="keyword">typename</span> K, <span class="keyword">typename</span> V></div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2ab3135f28e2833881e2e08c961f3945"> 365</a></span>  <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html">BinaryMapWriter<K, V></a> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2ab3135f28e2833881e2e08c961f3945">WriteMap</a>(<a class="code" href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456">MapType::Type</a> typ)</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  {</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  int32_t <span class="keywordtype">id</span> = impl->WriteMap(typ);</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1binary_1_1BinaryMapWriter.html">BinaryMapWriter<K, V></a>(impl, id);</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  }</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="classignite_1_1binary_1_1BinaryRawWriter.html#ab5d137d04b0131f52d2e11d6d6146a27"> 378</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#ab5d137d04b0131f52d2e11d6d6146a27">WriteObject</a>(<span class="keyword">const</span> T& val)</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  {</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  impl->WriteObject<T>(val);</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  }</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  ignite::impl::binary::BinaryWriterImpl* impl; </div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  };</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  }</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span> }</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="preprocessor">#endif //_IGNITE_BINARY_BINARY_RAW_WRITER</span></div><div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_aa10ab89a9de9f45c8f0f61c2a3587d0c"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#aa10ab89a9de9f45c8f0f61c2a3587d0c">ignite::binary::BinaryRawWriter::WriteArray</a></div><div class="ttdeci">BinaryArrayWriter< T > WriteArray()</div><div class="ttdoc">Start array write. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:290</div></div> |
| <div class="ttc" id="classignite_1_1Timestamp_html"><div class="ttname"><a href="classignite_1_1Timestamp.html">ignite::Timestamp</a></div><div class="ttdoc">Timestamp type. </div><div class="ttdef"><b>Definition:</b> timestamp.h:37</div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_a4b237c690cc34b67e2491f408eff1d77"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a4b237c690cc34b67e2491f408eff1d77">ignite::binary::BinaryRawWriter::WriteCollection</a></div><div class="ttdeci">void WriteCollection(InputIterator first, InputIterator last)</div><div class="ttdoc">Write values in interval [first, last). </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:329</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_1Date_html"><div class="ttname"><a href="classignite_1_1Date.html">ignite::Date</a></div><div class="ttdoc">Date type. </div><div class="ttdef"><b>Definition:</b> date.h:35</div></div> |
| <div class="ttc" id="binary__containers_8h_html"><div class="ttname"><a href="binary__containers_8h.html">binary_containers.h</a></div><div class="ttdoc">Declares binary reader and writer types for the collections. </div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_a2ab3135f28e2833881e2e08c961f3945"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a2ab3135f28e2833881e2e08c961f3945">ignite::binary::BinaryRawWriter::WriteMap</a></div><div class="ttdeci">BinaryMapWriter< K, V > WriteMap(MapType::Type typ)</div><div class="ttdoc">Start map write. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:365</div></div> |
| <div class="ttc" id="guid_8h_html"><div class="ttname"><a href="guid_8h.html">guid.h</a></div><div class="ttdoc">Declares ignite::Guid class. </div></div> |
| <div class="ttc" id="timestamp_8h_html"><div class="ttname"><a href="timestamp_8h.html">timestamp.h</a></div><div class="ttdoc">Declares ignite::Timestamp class. </div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_aa284a8ddeb81777237cff22ee14a1f26"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#aa284a8ddeb81777237cff22ee14a1f26">ignite::binary::BinaryRawWriter::WriteCollection</a></div><div class="ttdeci">BinaryCollectionWriter< T > WriteCollection(CollectionType::Type typ)</div><div class="ttdoc">Start collection write. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:315</div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_aeaf9bc94fd7c1a7e942abdda73d6b599"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#aeaf9bc94fd7c1a7e942abdda73d6b599">ignite::binary::BinaryRawWriter::WriteCollection</a></div><div class="ttdeci">void WriteCollection(InputIterator first, InputIterator last, CollectionType::Type typ)</div><div class="ttdoc">Write values in interval [first, last). </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:342</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_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="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="classignite_1_1binary_1_1BinaryRawWriter_html_ab5d137d04b0131f52d2e11d6d6146a27"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#ab5d137d04b0131f52d2e11d6d6146a27">ignite::binary::BinaryRawWriter::WriteObject</a></div><div class="ttdeci">void WriteObject(const T &val)</div><div class="ttdoc">Write object. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:378</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_1Time_html"><div class="ttname"><a href="classignite_1_1Time.html">ignite::Time</a></div><div class="ttdoc">Time type. </div><div class="ttdef"><b>Definition:</b> time.h:35</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_1BinaryRawWriter_html_a95b3382c99f50a6b751041946a6d8820"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a95b3382c99f50a6b751041946a6d8820">ignite::binary::BinaryRawWriter::WriteCollection</a></div><div class="ttdeci">BinaryCollectionWriter< T > WriteCollection()</div><div class="ttdoc">Start collection write. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:303</div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html">ignite::binary::BinaryRawWriter</a></div><div class="ttdoc">Binary raw writer. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:55</div></div> |
| <div class="ttc" id="structignite_1_1binary_1_1MapType_html_a138cf8f1db233f607ea34aaa8a99b456ae64ff37323ba9bc49d3dd6e3133ac486"><div class="ttname"><a href="structignite_1_1binary_1_1MapType.html#a138cf8f1db233f607ea34aaa8a99b456ae64ff37323ba9bc49d3dd6e3133ac486">ignite::binary::MapType::UNDEFINED</a></div><div class="ttdoc">Undefined. </div><div class="ttdef"><b>Definition:</b> binary_consts.h:74</div></div> |
| <div class="ttc" id="structignite_1_1binary_1_1CollectionType_html_a03610e138c65428dc81c08f62b7729bba0dbcb37b8e35ac72ed89b53305ed3596"><div class="ttname"><a href="structignite_1_1binary_1_1CollectionType.html#a03610e138c65428dc81c08f62b7729bba0dbcb37b8e35ac72ed89b53305ed3596">ignite::binary::CollectionType::UNDEFINED</a></div><div class="ttdoc">Undefined. </div><div class="ttdef"><b>Definition:</b> binary_consts.h:40</div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_a919156abb2cb4a0bffe4b7f542d202f6"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a919156abb2cb4a0bffe4b7f542d202f6">ignite::binary::BinaryRawWriter::WriteString</a></div><div class="ttdeci">void WriteString(const std::string &val)</div><div class="ttdoc">Write string. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:267</div></div> |
| <div class="ttc" id="classignite_1_1Guid_html"><div class="ttname"><a href="classignite_1_1Guid.html">ignite::Guid</a></div><div class="ttdoc">Global universally unique identifier (GUID). </div><div class="ttdef"><b>Definition:</b> guid.h:36</div></div> |
| <div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_ab808ab392d9f32e0454015cb648a0bd9"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#ab808ab392d9f32e0454015cb648a0bd9">ignite::binary::BinaryRawWriter::WriteMap</a></div><div class="ttdeci">BinaryMapWriter< K, V > WriteMap()</div><div class="ttdoc">Start map write. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:353</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="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="date_8h_html"><div class="ttname"><a href="date_8h.html">date.h</a></div><div class="ttdoc">Declares ignite::Date class. </div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Mon Mar 5 2018 10:33:58 for Apache Ignite C++ by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.11 |
| </small></address> |
| </body> |
| </html> |