| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.8.0/cppdoc/classignite_1_1binary_1_1BinaryStringArrayReader.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| |
| |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.13"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title> Apache Ignite C++: ignite::binary::BinaryStringArrayReader Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname"> Apache Ignite C++ |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| </script> |
| <div id="main-nav"></div> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="namespaceignite_1_1binary.html">binary</a></li><li class="navelem"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html">BinaryStringArrayReader</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="classignite_1_1binary_1_1BinaryStringArrayReader-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">ignite::binary::BinaryStringArrayReader Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Binary string array reader. |
| <a href="classignite_1_1binary_1_1BinaryStringArrayReader.html#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="binary__containers_8h_source.html">binary_containers.h</a>></code></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:a8ef57ef19ef33b7f7d0e7915fcca7246"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a8ef57ef19ef33b7f7d0e7915fcca7246">BinaryStringArrayReader</a> (impl::binary::BinaryReaderImpl *impl, int32_t id, int32_t size)</td></tr> |
| <tr class="memdesc:a8ef57ef19ef33b7f7d0e7915fcca7246"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a8ef57ef19ef33b7f7d0e7915fcca7246">More...</a><br /></td></tr> |
| <tr class="separator:a8ef57ef19ef33b7f7d0e7915fcca7246"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aba1b6f574730e60da85008a3e495c88a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#aba1b6f574730e60da85008a3e495c88a">HasNext</a> ()</td></tr> |
| <tr class="memdesc:aba1b6f574730e60da85008a3e495c88a"><td class="mdescLeft"> </td><td class="mdescRight">Check whether next element is available for read. <a href="#aba1b6f574730e60da85008a3e495c88a">More...</a><br /></td></tr> |
| <tr class="separator:aba1b6f574730e60da85008a3e495c88a"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa7942d4943a9bb271aa3ec80c1eeb1a1"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#aa7942d4943a9bb271aa3ec80c1eeb1a1">GetNext</a> (char *res, int32_t len)</td></tr> |
| <tr class="memdesc:aa7942d4943a9bb271aa3ec80c1eeb1a1"><td class="mdescLeft"> </td><td class="mdescRight">Get next element. <a href="#aa7942d4943a9bb271aa3ec80c1eeb1a1">More...</a><br /></td></tr> |
| <tr class="separator:aa7942d4943a9bb271aa3ec80c1eeb1a1"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a34ca73f7bf8b554ba6c7aae380bdeebe"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a34ca73f7bf8b554ba6c7aae380bdeebe">GetNext</a> ()</td></tr> |
| <tr class="memdesc:a34ca73f7bf8b554ba6c7aae380bdeebe"><td class="mdescLeft"> </td><td class="mdescRight">Get next element. <a href="#a34ca73f7bf8b554ba6c7aae380bdeebe">More...</a><br /></td></tr> |
| <tr class="separator:a34ca73f7bf8b554ba6c7aae380bdeebe"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae40c09fbc99f2735cab3a9c3c8e680d7"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#ae40c09fbc99f2735cab3a9c3c8e680d7">GetSize</a> () const</td></tr> |
| <tr class="memdesc:ae40c09fbc99f2735cab3a9c3c8e680d7"><td class="mdescLeft"> </td><td class="mdescRight">Get array size. <a href="#ae40c09fbc99f2735cab3a9c3c8e680d7">More...</a><br /></td></tr> |
| <tr class="separator:ae40c09fbc99f2735cab3a9c3c8e680d7"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8c0f31a71c339297b2e6ace86f20526c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a8c0f31a71c339297b2e6ace86f20526c">IsNull</a> () const</td></tr> |
| <tr class="memdesc:a8c0f31a71c339297b2e6ace86f20526c"><td class="mdescLeft"> </td><td class="mdescRight">Check whether array is NULL. <a href="#a8c0f31a71c339297b2e6ace86f20526c">More...</a><br /></td></tr> |
| <tr class="separator:a8c0f31a71c339297b2e6ace86f20526c"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Binary string array reader. </p> |
| <p>Can be used to read array of strings string by string.</p> |
| <p>Use <a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#a34ca73f7bf8b554ba6c7aae380bdeebe" title="Get next element. ">GetNext()</a> method to read array value by value while <a class="el" href="classignite_1_1binary_1_1BinaryStringArrayReader.html#aba1b6f574730e60da85008a3e495c88a" title="Check whether next element is available for read. ">HasNext()</a> method returns true. </p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="a8ef57ef19ef33b7f7d0e7915fcca7246"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a8ef57ef19ef33b7f7d0e7915fcca7246">◆ </a></span>BinaryStringArrayReader()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">ignite::binary::BinaryStringArrayReader::BinaryStringArrayReader </td> |
| <td>(</td> |
| <td class="paramtype">impl::binary::BinaryReaderImpl * </td> |
| <td class="paramname"><em>impl</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int32_t </td> |
| <td class="paramname"><em>id</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int32_t </td> |
| <td class="paramname"><em>size</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Constructor. </p> |
| <p>Internal call. Should not be used by user.</p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">impl</td><td>Reader implementation. </td></tr> |
| <tr><td class="paramname">id</td><td>Identifier. </td></tr> |
| <tr><td class="paramname">size</td><td>Array size. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="aa7942d4943a9bb271aa3ec80c1eeb1a1"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aa7942d4943a9bb271aa3ec80c1eeb1a1">◆ </a></span>GetNext() <span class="overload">[1/2]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int32_t ignite::binary::BinaryStringArrayReader::GetNext </td> |
| <td>(</td> |
| <td class="paramtype">char * </td> |
| <td class="paramname"><em>res</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int32_t </td> |
| <td class="paramname"><em>len</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get next element. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">res</td><td>Buffer to store data to. </td></tr> |
| <tr><td class="paramname">len</td><td>Expected length of string. NULL terminator will be set in case len is greater than real string length. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>Actual amount of elements read. If "len" argument is less than actual array size or resulting array is set to null, nothing will be written to resulting array and returned value will contain required array length. -1 will be returned in case array in stream was null.</dd></dl> |
| <dl class="exception"><dt>Exceptions</dt><dd> |
| <table class="exception"> |
| <tr><td class="paramname"><a class="el" href="classignite_1_1IgniteError.html" title="Ignite error information. ">IgniteError</a></td><td>if there is no element to read. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="a34ca73f7bf8b554ba6c7aae380bdeebe"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a34ca73f7bf8b554ba6c7aae380bdeebe">◆ </a></span>GetNext() <span class="overload">[2/2]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::string ignite::binary::BinaryStringArrayReader::GetNext </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get next element. </p> |
| <dl class="section return"><dt>Returns</dt><dd>String.</dd></dl> |
| <dl class="exception"><dt>Exceptions</dt><dd> |
| <table class="exception"> |
| <tr><td class="paramname"><a class="el" href="classignite_1_1IgniteError.html" title="Ignite error information. ">IgniteError</a></td><td>if there is no element to read. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="ae40c09fbc99f2735cab3a9c3c8e680d7"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ae40c09fbc99f2735cab3a9c3c8e680d7">◆ </a></span>GetSize()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int32_t ignite::binary::BinaryStringArrayReader::GetSize </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get array size. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Size or -1 if array is NULL. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="aba1b6f574730e60da85008a3e495c88a"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aba1b6f574730e60da85008a3e495c88a">◆ </a></span>HasNext()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::binary::BinaryStringArrayReader::HasNext </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check whether next element is available for read. </p> |
| <dl class="section return"><dt>Returns</dt><dd>True if available. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a8c0f31a71c339297b2e6ace86f20526c"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a8c0f31a71c339297b2e6ace86f20526c">◆ </a></span>IsNull()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::binary::BinaryStringArrayReader::IsNull </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check whether array is NULL. </p> |
| <dl class="section return"><dt>Returns</dt><dd>True if the array is NULL. </dd></dl> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li><a class="el" href="binary__containers_8h_source.html">binary_containers.h</a></li> |
| <li>binary_containers.cpp</li> |
| </ul> |
| </div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Thu Feb 27 2020 14:01:15 for Apache Ignite C++ by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.13 |
| </small></address> |
| </body> |
| </html> |