Files
wownero-cpp/docs/structmonero_1_1serializable__struct.html
T
2019-08-25 13:37:46 -04:00

172 lines
12 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Monero C++ Library: monero::serializable_struct Struct 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" />
</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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Monero C++ Library
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacemonero.html">monero</a></li><li class="navelem"><a class="el" href="structmonero_1_1serializable__struct.html">serializable_struct</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structmonero_1_1serializable__struct-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">monero::serializable_struct Struct Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="monero__daemon__model_8h_source.html">monero_daemon_model.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for monero::serializable_struct:</div>
<div class="dyncontent">
<div class="center">
<img src="structmonero_1_1serializable__struct.png" usemap="#monero::serializable_5Fstruct_map" alt=""/>
<map id="monero::serializable_5Fstruct_map" name="monero::serializable_5Fstruct_map">
<area href="structmonero_1_1monero__account.html" alt="monero::monero_account" shape="rect" coords="258,56,506,80"/>
<area href="structmonero_1_1monero__block__header.html" alt="monero::monero_block_header" shape="rect" coords="258,112,506,136"/>
<area href="structmonero_1_1monero__check.html" alt="monero::monero_check" shape="rect" coords="258,168,506,192"/>
<area href="structmonero_1_1monero__integrated__address.html" alt="monero::monero_integrated_address" shape="rect" coords="258,224,506,248"/>
<area href="structmonero_1_1monero__key__image.html" alt="monero::monero_key_image" shape="rect" coords="258,280,506,304"/>
<area href="structmonero_1_1monero__key__image__import__result.html" alt="monero::monero_key_image_import_result" shape="rect" coords="258,336,506,360"/>
<area href="structmonero_1_1monero__multisig__info.html" alt="monero::monero_multisig_info" shape="rect" coords="258,392,506,416"/>
<area href="structmonero_1_1monero__multisig__init__result.html" alt="monero::monero_multisig_init_result" shape="rect" coords="258,448,506,472"/>
<area href="structmonero_1_1monero__multisig__sign__result.html" alt="monero::monero_multisig_sign_result" shape="rect" coords="258,504,506,528"/>
<area href="structmonero_1_1monero__output.html" alt="monero::monero_output" shape="rect" coords="258,560,506,584"/>
<area href="structmonero_1_1monero__send__request.html" alt="monero::monero_send_request" shape="rect" coords="258,616,506,640"/>
<area href="structmonero_1_1monero__subaddress.html" alt="monero::monero_subaddress" shape="rect" coords="258,672,506,696"/>
<area href="structmonero_1_1monero__transfer.html" alt="monero::monero_transfer" shape="rect" coords="258,728,506,752"/>
<area href="structmonero_1_1monero__tx.html" alt="monero::monero_tx" shape="rect" coords="258,784,506,808"/>
<area href="structmonero_1_1monero__tx__set.html" alt="monero::monero_tx_set" shape="rect" coords="258,840,506,864"/>
</map>
</div></div>
<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:aff4103707ee262cc4bd15d8e789adddc"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmonero_1_1serializable__struct.html#aff4103707ee262cc4bd15d8e789adddc">serialize</a> () const</td></tr>
<tr class="separator:aff4103707ee262cc4bd15d8e789adddc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1674afdced731c1687d37c05f3e7a9be"><td class="memItemLeft" align="right" valign="top">virtual boost::property_tree::ptree&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmonero_1_1serializable__struct.html#a1674afdced731c1687d37c05f3e7a9be">to_property_tree</a> () const =0</td></tr>
<tr class="separator:a1674afdced731c1687d37c05f3e7a9be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base struct which can be serialized. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aff4103707ee262cc4bd15d8e789adddc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff4103707ee262cc4bd15d8e789adddc">&#9670;&nbsp;</a></span>serialize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string monero::serializable_struct::serialize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Serializes the struct to a json string.</p>
<dl class="section return"><dt>Returns</dt><dd>the struct serialized to a json string </dd></dl>
</div>
</div>
<a id="a1674afdced731c1687d37c05f3e7a9be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1674afdced731c1687d37c05f3e7a9be">&#9670;&nbsp;</a></span>to_property_tree()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual boost::property_tree::ptree monero::serializable_struct::to_property_tree </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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the struct to a property tree.</p>
<dl class="section return"><dt>Returns</dt><dd>the converted property tree </dd></dl>
<p>Implemented in <a class="el" href="structmonero_1_1monero__multisig__sign__result.html#a053b59d597ff0cccbc89d54363e0f90c">monero::monero_multisig_sign_result</a>, <a class="el" href="structmonero_1_1monero__multisig__init__result.html#ac204e060fa06f24b3c2e571699b3ed9d">monero::monero_multisig_init_result</a>, <a class="el" href="structmonero_1_1monero__multisig__info.html#a3d910679e504f022a0d0a022d3c82b14">monero::monero_multisig_info</a>, <a class="el" href="structmonero_1_1monero__check__reserve.html#ad0c68f1f9292c462b9a87fdc5b84c27c">monero::monero_check_reserve</a>, <a class="el" href="structmonero_1_1monero__check__tx.html#acd887894552f4e94f9fa7e1641c53515">monero::monero_check_tx</a>, <a class="el" href="structmonero_1_1monero__check.html#a7a6ef3c88c37395642e2c519dfdcc246">monero::monero_check</a>, <a class="el" href="structmonero_1_1monero__key__image__import__result.html#a3e73289149f6aa37760e406165bb0edc">monero::monero_key_image_import_result</a>, <a class="el" href="structmonero_1_1monero__send__request.html#a71e56c039a357c178de342edd9ae0481">monero::monero_send_request</a>, <a class="el" href="structmonero_1_1monero__integrated__address.html#a22078831c51ef860868a1b6bfad2ea24">monero::monero_integrated_address</a>, <a class="el" href="structmonero_1_1monero__tx__set.html#aa440129585740f3a2d3a6f5e3ab19913">monero::monero_tx_set</a>, <a class="el" href="structmonero_1_1monero__tx__query.html#acffeb6bf3c558fa6db8ba7cc3f5658c3">monero::monero_tx_query</a>, <a class="el" href="structmonero_1_1monero__tx__wallet.html#a38332602a4ba4d43dc7b04f5f774a9f3">monero::monero_tx_wallet</a>, <a class="el" href="structmonero_1_1monero__output__query.html#aed180b284800897658175df13809086e">monero::monero_output_query</a>, <a class="el" href="structmonero_1_1monero__output__wallet.html#aee2dc54f465719999f78c44cd0c677a2">monero::monero_output_wallet</a>, <a class="el" href="structmonero_1_1monero__output.html#a6426edac595e680d34b78cd8709bfbcb">monero::monero_output</a>, <a class="el" href="structmonero_1_1monero__transfer__query.html#aad73282bc4d791ddd6e064c46e1e5b0b">monero::monero_transfer_query</a>, <a class="el" href="structmonero_1_1monero__key__image.html#ac7440270a4c250ddcffc99eb021320db">monero::monero_key_image</a>, <a class="el" href="structmonero_1_1monero__tx.html#a85861294812884fe5899bee3438f0049">monero::monero_tx</a>, <a class="el" href="structmonero_1_1monero__outgoing__transfer.html#a0a44f6722238b7c766811245ff57eb06">monero::monero_outgoing_transfer</a>, <a class="el" href="structmonero_1_1monero__incoming__transfer.html#acc3c15bfd199eb94591fb87cffa2359a">monero::monero_incoming_transfer</a>, <a class="el" href="structmonero_1_1monero__transfer.html#aac19cca1774b0b46b1bd78336772dfa7">monero::monero_transfer</a>, <a class="el" href="structmonero_1_1monero__block.html#a1210cc81324e8232e05893fcc8a38b09">monero::monero_block</a>, <a class="el" href="structmonero_1_1monero__block__header.html#abfb6486a0f190a2538c79a8cf63b8709">monero::monero_block_header</a>, <a class="el" href="structmonero_1_1monero__account.html#aca680b5cf23a357f8c49d843b9d1e715">monero::monero_account</a>, and <a class="el" href="structmonero_1_1monero__subaddress.html#af083b578419da9d69bffb6b3bd3e1cda">monero::monero_subaddress</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>daemon/<a class="el" href="monero__daemon__model_8h_source.html">monero_daemon_model.h</a></li>
<li>daemon/monero_daemon_model.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>