mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
295 lines
51 KiB
HTML
295 lines
51 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: SHAMapTreeNode.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>
|
|
<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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_24457b513c1d1ae078f19eaa8a988688.html">shamap</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">SHAMapTreeNode.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifndef RIPPLE_SHAMAP_SHAMAPTREENODE_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_SHAMAP_SHAMAPTREENODE_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <xrpld/shamap/SHAMapItem.h></span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/shamap/SHAMapNodeID.h></span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/basics/IntrusivePointer.h></span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpl/basics/IntrusiveRefCounts.h></span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <xrpl/basics/SHAMapHash.h></span></div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <xrpl/protocol/Serializer.h></span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a>></span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment">// These are wire-protocol identifiers used during serialization to encode the</span></div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="comment">// type of a node. They should not be arbitrarily be changed.</span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c"> 38</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c">wireTypeTransaction</a> = 0;</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544"> 39</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544">wireTypeAccountState</a> = 1;</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014"> 40</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014">wireTypeInner</a> = 2;</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765"> 41</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765">wireTypeCompressedInner</a> = 3;</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0"> 42</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0">wireTypeTransactionWithMeta</a> = 4;</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
|
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58"> 44</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a> {</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248">tnINNER</a> = 1,</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6">tnTRANSACTION_NM</a> = 2, <span class="comment">// transaction, no metadata</span></div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150">tnTRANSACTION_MD</a> = 3, <span class="comment">// transaction, with metadata</span></div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b">tnACCOUNT_STATE</a> = 4</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="foldopen" id="foldopen00051" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html"> 51</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structripple_1_1IntrusiveRefCounts.html">IntrusiveRefCounts</a></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span>{</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d"> 54</a></span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb"> 62</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29"> 65</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29">SHAMapTreeNode</a>(<a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596"> 67</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596">operator=</a>(<a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="foldopen" id="foldopen00075" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad"> 75</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">SHAMapTreeNode</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) noexcept : <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> {</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
|
<div class="foldopen" id="foldopen00079" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d"> 79</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">SHAMapTreeNode</a>(</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>,</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash) noexcept</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> : <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>(hash), <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> {</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3"> 88</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3">~SHAMapTreeNode</a>() noexcept = default;</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="comment">// Needed to support weak intrusive pointers</span></div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> virtual <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a64f40d0054cf899e4c2f0894635234a8"> 92</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a64f40d0054cf899e4c2f0894635234a8">partialDestructor</a>() {};</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
|
<div class="foldopen" id="foldopen00118" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1"> 118</a></span> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3"> 129</a></span> <a class="code hl_function" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">unshare</a>()</div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> {</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a> = 0;</div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classripple_1_1SharedIntrusive.html">intr_ptr::SharedPtr<SHAMapTreeNode></a></div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="group__SHAMap.html#ga9c0a61604e6f1979cfc86366dfc16759"> 136</a></span> <a class="code hl_function" href="group__SHAMap.html#ga9c0a61604e6f1979cfc86366dfc16759">clone</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd"> 141</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd">updateHash</a>() = 0;</div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00145" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00"> 145</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00">getHash</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a></div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090"> 152</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090">getType</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875"> 156</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875">isLeaf</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e"> 160</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e">isInner</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da"> 164</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da">serializeForWire</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61"> 168</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61">serializeWithPrefix</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">getString</a>(<a class="code hl_class" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f"> 174</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f">invariants</a>(<span class="keywordtype">bool</span> is_root = <span class="keyword">false</span>) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1SharedIntrusive.html">intr_ptr::SharedPtr<SHAMapTreeNode></a></div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a9e3ffc0cc01232ed3866dd229a31372b">makeFromPrefix</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> rawNode, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1SharedIntrusive.html">intr_ptr::SharedPtr<SHAMapTreeNode></a></div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ae1d129d85dd65647313d018be3cc07b8">makeFromWire</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> rawNode);</div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1SharedIntrusive.html">intr_ptr::SharedPtr<SHAMapTreeNode></a></div>
|
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a45111c7107712c36897fe203771e7b6f">makeTransaction</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
|
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1SharedIntrusive.html">intr_ptr::SharedPtr<SHAMapTreeNode></a></div>
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a1509744396aadfc490e0c0fa12428a64">makeAccountState</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1SharedIntrusive.html">intr_ptr::SharedPtr<SHAMapTreeNode></a></div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a659a0520c2befa6c8b723a045edffaf6">makeTransactionWithMeta</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span>} <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> </div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapHash_html"><div class="ttname"><a href="classripple_1_1SHAMapHash.html">ripple::SHAMapHash</a></div><div class="ttdef"><b>Definition</b> <a href="SHAMapHash_8h_source.html#l00033">SHAMapHash.h:34</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html">ripple::SHAMapNodeID</a></div><div class="ttdoc">Identifies a node inside a SHAMap.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8h_source.html#l00033">SHAMapNodeID.h:34</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html">ripple::SHAMapTreeNode</a></div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00051">SHAMapTreeNode.h:52</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a01b8cfb105c1f931d97926da231f0596"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596">ripple::SHAMapTreeNode::operator=</a></div><div class="ttdeci">SHAMapTreeNode & operator=(SHAMapTreeNode const &)=delete</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a1509744396aadfc490e0c0fa12428a64"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a1509744396aadfc490e0c0fa12428a64">ripple::SHAMapTreeNode::makeAccountState</a></div><div class="ttdeci">static intr_ptr::SharedPtr< SHAMapTreeNode > makeAccountState(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8cpp_source.html#l00081">SHAMapTreeNode.cpp:81</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a16ec50906918863e49031dbc14b2aea3"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3">ripple::SHAMapTreeNode::~SHAMapTreeNode</a></div><div class="ttdeci">virtual ~SHAMapTreeNode() noexcept=default</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a2dbee3cfa72319c01b649f4c255a5a9d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">ripple::SHAMapTreeNode::getString</a></div><div class="ttdeci">virtual std::string getString(SHAMapNodeID const &) const</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8cpp_source.html#l00182">SHAMapTreeNode.cpp:182</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a3feaa925a9dc0e847049e6c4cfbb6875"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875">ripple::SHAMapTreeNode::isLeaf</a></div><div class="ttdeci">virtual bool isLeaf() const =0</div><div class="ttdoc">Determines if this is a leaf node.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a45111c7107712c36897fe203771e7b6f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a45111c7107712c36897fe203771e7b6f">ripple::SHAMapTreeNode::makeTransaction</a></div><div class="ttdeci">static intr_ptr::SharedPtr< SHAMapTreeNode > makeTransaction(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8cpp_source.html#l00036">SHAMapTreeNode.cpp:36</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a5d6ab29492fb57f985168b8b67ba0f29"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(SHAMapTreeNode const &)=delete</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a64f40d0054cf899e4c2f0894635234a8"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a64f40d0054cf899e4c2f0894635234a8">ripple::SHAMapTreeNode::partialDestructor</a></div><div class="ttdeci">virtual void partialDestructor()</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00092">SHAMapTreeNode.h:92</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a659a0520c2befa6c8b723a045edffaf6"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a659a0520c2befa6c8b723a045edffaf6">ripple::SHAMapTreeNode::makeTransactionWithMeta</a></div><div class="ttdeci">static intr_ptr::SharedPtr< SHAMapTreeNode > makeTransactionWithMeta(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8cpp_source.html#l00052">SHAMapTreeNode.cpp:52</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a6bdd2d5b35200db414ead5041495f7dd"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd">ripple::SHAMapTreeNode::updateHash</a></div><div class="ttdeci">virtual void updateHash()=0</div><div class="ttdoc">Recalculate the hash of this node.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a705bca4eb622097a917a3cac5c3a013d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">ripple::SHAMapTreeNode::hash_</a></div><div class="ttdeci">SHAMapHash hash_</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00054">SHAMapTreeNode.h:54</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a75913d63884566b418422b8114d274ad"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(std::uint32_t cowid) noexcept</div><div class="ttdoc">Construct a node.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00075">SHAMapTreeNode.h:75</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a7aff7622ccd8ffd0be9367518b39436e"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e">ripple::SHAMapTreeNode::isInner</a></div><div class="ttdeci">virtual bool isInner() const =0</div><div class="ttdoc">Determines if this is an inner node.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a7f27d867484104446867c0f50adc5ffb"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">ripple::SHAMapTreeNode::cowid_</a></div><div class="ttdeci">std::uint32_t cowid_</div><div class="ttdoc">Determines the owning SHAMap, if any.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00062">SHAMapTreeNode.h:62</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a80832069374ff1ff0473b1eca6ece09f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f">ripple::SHAMapTreeNode::invariants</a></div><div class="ttdeci">virtual void invariants(bool is_root=false) const =0</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a9e3ffc0cc01232ed3866dd229a31372b"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a9e3ffc0cc01232ed3866dd229a31372b">ripple::SHAMapTreeNode::makeFromPrefix</a></div><div class="ttdeci">static intr_ptr::SharedPtr< SHAMapTreeNode > makeFromPrefix(Slice rawNode, SHAMapHash const &hash)</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8cpp_source.html#l00146">SHAMapTreeNode.cpp:146</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ac061590096c0673e149b4b75340ea02d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(std::uint32_t cowid, SHAMapHash const &hash) noexcept</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00079">SHAMapTreeNode.h:79</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_acb3c6246b5d9ec2162ef4a9c18959a00"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00">ripple::SHAMapTreeNode::getHash</a></div><div class="ttdeci">SHAMapHash const & getHash() const</div><div class="ttdoc">Return the hash of this node.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00145">SHAMapTreeNode.h:145</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ad46f1e9ad54cbfff3af4c21991f659da"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da">ripple::SHAMapTreeNode::serializeForWire</a></div><div class="ttdeci">virtual void serializeForWire(Serializer &) const =0</div><div class="ttdoc">Serialize the node in a format appropriate for sending over the wire.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae1888014b78e231a2ce381f8871fad61"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61">ripple::SHAMapTreeNode::serializeWithPrefix</a></div><div class="ttdeci">virtual void serializeWithPrefix(Serializer &) const =0</div><div class="ttdoc">Serialize the node in a format appropriate for hashing.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae1d129d85dd65647313d018be3cc07b8"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae1d129d85dd65647313d018be3cc07b8">ripple::SHAMapTreeNode::makeFromWire</a></div><div class="ttdeci">static intr_ptr::SharedPtr< SHAMapTreeNode > makeFromWire(Slice rawNode)</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8cpp_source.html#l00114">SHAMapTreeNode.cpp:114</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_aebfb8013182e80c9c2436764cf018090"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090">ripple::SHAMapTreeNode::getType</a></div><div class="ttdeci">virtual SHAMapNodeType getType() const =0</div><div class="ttdoc">Determines the type of node.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1Serializer_html"><div class="ttname"><a href="classripple_1_1Serializer.html">ripple::Serializer</a></div><div class="ttdef"><b>Definition</b> <a href="Serializer_8h_source.html#l00040">Serializer.h:41</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SharedIntrusive_html"><div class="ttname"><a href="classripple_1_1SharedIntrusive.html">ripple::SharedIntrusive</a></div><div class="ttdoc">A shared intrusive pointer class that supports weak pointers.</div><div class="ttdef"><b>Definition</b> <a href="IntrusivePointer_8h_source.html#l00087">IntrusivePointer.h:88</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition</b> <a href="Slice_8h_source.html#l00045">Slice.h:46</a></div></div>
|
|
<div class="ttc" id="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
|
|
<div class="ttc" id="agroup__SHAMap_html_ga766bfbd4b6d8fdfd9e60ebcd603da6a3"><div class="ttname"><a href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">ripple::SHAMapTreeNode::unshare</a></div><div class="ttdeci">void unshare()</div><div class="ttdoc">If this node is shared with another map, mark it as no longer shared.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00129">SHAMapTreeNode.h:129</a></div></div>
|
|
<div class="ttc" id="agroup__SHAMap_html_ga9c0a61604e6f1979cfc86366dfc16759"><div class="ttname"><a href="group__SHAMap.html#ga9c0a61604e6f1979cfc86366dfc16759">ripple::SHAMapTreeNode::clone</a></div><div class="ttdeci">virtual intr_ptr::SharedPtr< SHAMapTreeNode > clone(std::uint32_t cowid) const =0</div><div class="ttdoc">Make a copy of this node, setting the owner.</div></div>
|
|
<div class="ttc" id="agroup__SHAMap_html_gac9adec7146a8bea60fe6acf6c1ed98d1"><div class="ttname"><a href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">ripple::SHAMapTreeNode::cowid</a></div><div class="ttdeci">std::uint32_t cowid() const</div><div class="ttdoc">Returns the SHAMap that owns this node.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00118">SHAMapTreeNode.h:118</a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a13f504b80b64e611448d2ca65dc08544"><div class="ttname"><a href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544">ripple::wireTypeAccountState</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeAccountState</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00039">SHAMapTreeNode.h:39</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32350973ba137a0eb4153335a37dd765"><div class="ttname"><a href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765">ripple::wireTypeCompressedInner</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeCompressedInner</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00041">SHAMapTreeNode.h:41</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac55314c93492ab8b29354cf6356b7014"><div class="ttname"><a href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014">ripple::wireTypeInner</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeInner</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00040">SHAMapTreeNode.h:40</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac956f6a414aa8c9a20c598f4388e013c"><div class="ttname"><a href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c">ripple::wireTypeTransaction</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeTransaction</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00038">SHAMapTreeNode.h:38</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_acfb0a178d3b182e58fb4736dc90347f0"><div class="ttname"><a href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0">ripple::wireTypeTransactionWithMeta</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeTransactionWithMeta</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00042">SHAMapTreeNode.h:42</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">ripple::SHAMapNodeType</a></div><div class="ttdeci">SHAMapNodeType</div><div class="ttdef"><b>Definition</b> <a href="SHAMapTreeNode_8h_source.html#l00044">SHAMapTreeNode.h:44</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150">ripple::SHAMapNodeType::tnTRANSACTION_MD</a></div><div class="ttdeci">@ tnTRANSACTION_MD</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248">ripple::SHAMapNodeType::tnINNER</a></div><div class="ttdeci">@ tnINNER</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6">ripple::SHAMapNodeType::tnTRANSACTION_NM</a></div><div class="ttdeci">@ tnTRANSACTION_NM</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b">ripple::SHAMapNodeType::tnACCOUNT_STATE</a></div><div class="ttdeci">@ tnACCOUNT_STATE</div></div>
|
|
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1IntrusiveRefCounts_html"><div class="ttname"><a href="structripple_1_1IntrusiveRefCounts.html">ripple::IntrusiveRefCounts</a></div><div class="ttdoc">Implement the strong count, weak count, and bit flags for an intrusive pointer.</div><div class="ttdef"><b>Definition</b> <a href="IntrusiveRefCounts_8h_source.html#l00059">IntrusiveRefCounts.h:60</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|