| <!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.7.0/cppdoc/classignite_1_1binary_1_1BinaryObject.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++: ignite::binary::BinaryObject 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> |
| <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="pages.html"><span>Related Pages</span></a></li> |
| <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><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="annotated.html"><span>Class List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class 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="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_1BinaryObject.html">BinaryObject</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#friends">Friends</a> | |
| <a href="classignite_1_1binary_1_1BinaryObject-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">ignite::binary::BinaryObject Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Binary object. |
| <a href="classignite_1_1binary_1_1BinaryObject.html#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="binary__object_8h_source.html">binary_object.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:a33e2264ff8c984c59b5578b8d285af68"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html#a33e2264ff8c984c59b5578b8d285af68">BinaryObject</a> (const <a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a> &other)</td></tr> |
| <tr class="memdesc:a33e2264ff8c984c59b5578b8d285af68"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a33e2264ff8c984c59b5578b8d285af68">More...</a><br /></td></tr> |
| <tr class="separator:a33e2264ff8c984c59b5578b8d285af68"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af334348d8a3dfa3524d5e671c6a256ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html#af334348d8a3dfa3524d5e671c6a256ca">operator=</a> (const <a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a> &other)</td></tr> |
| <tr class="memdesc:af334348d8a3dfa3524d5e671c6a256ca"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#af334348d8a3dfa3524d5e671c6a256ca">More...</a><br /></td></tr> |
| <tr class="separator:af334348d8a3dfa3524d5e671c6a256ca"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a45b1c34ef59cfa91d6a72fc63514bdc7"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| <tr class="memitem:a45b1c34ef59cfa91d6a72fc63514bdc7"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html#a45b1c34ef59cfa91d6a72fc63514bdc7">Deserialize</a> () const </td></tr> |
| <tr class="memdesc:a45b1c34ef59cfa91d6a72fc63514bdc7"><td class="mdescLeft"> </td><td class="mdescRight">Deserialize object. <a href="#a45b1c34ef59cfa91d6a72fc63514bdc7">More...</a><br /></td></tr> |
| <tr class="separator:a45b1c34ef59cfa91d6a72fc63514bdc7"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9b2824cf79e0fca0413ea239da6d71de"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| <tr class="memitem:a9b2824cf79e0fca0413ea239da6d71de"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html#a9b2824cf79e0fca0413ea239da6d71de">GetField</a> (const char *name) const </td></tr> |
| <tr class="memdesc:a9b2824cf79e0fca0413ea239da6d71de"><td class="mdescLeft"> </td><td class="mdescRight">Get field. <a href="#a9b2824cf79e0fca0413ea239da6d71de">More...</a><br /></td></tr> |
| <tr class="separator:a9b2824cf79e0fca0413ea239da6d71de"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a1745ff53228ac9fafd56d7c03c9a1de9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html#a1745ff53228ac9fafd56d7c03c9a1de9">HasField</a> (const char *name) const </td></tr> |
| <tr class="memdesc:a1745ff53228ac9fafd56d7c03c9a1de9"><td class="mdescLeft"> </td><td class="mdescRight">Check if the binary object has the specified field. <a href="#a1745ff53228ac9fafd56d7c03c9a1de9">More...</a><br /></td></tr> |
| <tr class="separator:a1745ff53228ac9fafd56d7c03c9a1de9"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad2884bd37cc41ef3bba3abf6778d1b2c"><td class="memTemplParams" colspan="2"><a class="anchor" id="ad2884bd37cc41ef3bba3abf6778d1b2c"></a> |
| template<> </td></tr> |
| <tr class="memitem:ad2884bd37cc41ef3bba3abf6778d1b2c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a> </td><td class="memTemplItemRight" valign="bottom"><b>GetField</b> (const char *name) const </td></tr> |
| <tr class="separator:ad2884bd37cc41ef3bba3abf6778d1b2c"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> |
| Friends</h2></td></tr> |
| <tr class="memitem:a91b0f94567b7dfcb426b8603a81c38fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91b0f94567b7dfcb426b8603a81c38fc"></a> |
| class </td><td class="memItemRight" valign="bottom"><b>ignite::impl::binary::BinaryWriterImpl</b></td></tr> |
| <tr class="separator:a91b0f94567b7dfcb426b8603a81c38fc"><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 object. </p> |
| <p>This is a thin wrapper over the memory area that contains serialized binary object. Provides method that allows deserialize object. </p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a33e2264ff8c984c59b5578b8d285af68"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">ignite::binary::BinaryObject::BinaryObject </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a> & </td> |
| <td class="paramname"><em>other</em></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>Copy constructor. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">other</td><td>Another instance. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a class="anchor" id="a45b1c34ef59cfa91d6a72fc63514bdc7"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </div> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">T ignite::binary::BinaryObject::Deserialize </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</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>Deserialize object. </p> |
| <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 the object can not be deserialized to specified type.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>Deserialized value. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a9b2824cf79e0fca0413ea239da6d71de"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </div> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">T ignite::binary::BinaryObject::GetField </td> |
| <td>(</td> |
| <td class="paramtype">const char * </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td> const</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 field. </p> |
| <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 the there is no specified field or if it is not of the specified type.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">name</td><td>Field name. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>Field value. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a1745ff53228ac9fafd56d7c03c9a1de9"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::binary::BinaryObject::HasField </td> |
| <td>(</td> |
| <td class="paramtype">const char * </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td> const</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>Check if the binary object has the specified field. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">name</td><td>Field name. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>True if the binary object has the specified field and false otherwise. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af334348d8a3dfa3524d5e671c6a256ca"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a>& ignite::binary::BinaryObject::operator= </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classignite_1_1binary_1_1BinaryObject.html">BinaryObject</a> & </td> |
| <td class="paramname"><em>other</em></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>Assignment operator. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">other</td><td>Another instance. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>*this. </dd></dl> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="binary__object_8h_source.html">binary_object.h</a></li> |
| </ul> |
| </div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Fri Nov 30 2018 20:09:21 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> |