This commit is contained in:
bthomee
2025-08-19 09:49:50 -07:00
parent bb5efdeec8
commit e7f4ae8bed
14888 changed files with 259444 additions and 168566 deletions

View File

@@ -3,7 +3,7 @@
<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.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: SHAMapLeafNode.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -29,7 +29,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -46,6 +46,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;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()"
@@ -105,6 +110,7 @@ $(function() {
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="foldopen" id="foldopen00030" data-start="{" data-end="};">
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapLeafNode.html"> 30</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1SHAMapLeafNode.html">SHAMapLeafNode</a> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>{</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">protected</span>:</div>
@@ -125,16 +131,20 @@ $(function() {
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapLeafNode.html#a1073515afa378a278effb467e7f0e3b4"> 47</a></span> <a class="code hl_function" href="classripple_1_1SHAMapLeafNode.html#a1073515afa378a278effb467e7f0e3b4">operator=</a>(<a class="code hl_class" href="classripple_1_1SHAMapLeafNode.html">SHAMapLeafNode</a> <span class="keyword">const</span>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00050" data-start="{" data-end="}">
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapLeafNode.html#a89119bf73fc1ac226331cd7948e92a2c"> 50</a></span> <a class="code hl_function" href="classripple_1_1SHAMapLeafNode.html#a89119bf73fc1ac226331cd7948e92a2c">isLeaf</a>() const final<span class="keyword"> override</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> }</div>
</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00056" data-start="{" data-end="}">
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapLeafNode.html#a80ab1af0864fa332e24e4403efa2ccdd"> 56</a></span> <a class="code hl_function" href="classripple_1_1SHAMapLeafNode.html#a80ab1af0864fa332e24e4403efa2ccdd">isInner</a>() const final<span class="keyword"> override</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> }</div>
</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_function" href="classripple_1_1SHAMapLeafNode.html#af777f590d86414bb7a88decd5b001110">invariants</a>(<span class="keywordtype">bool</span> is_root = <span class="keyword">false</span>) const final override;</div>
@@ -149,34 +159,35 @@ $(function() {
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_namespace" href="namespacestd.html">std</a>::<span class="keywordtype">string</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_function" href="classripple_1_1SHAMapLeafNode.html#a281c972c705ae159866a146f3556c4e6">getString</a>(<a class="code hl_class" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> const&amp;) const final override;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span>};</div>
</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="preprocessor">#endif</span></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#l00032">SHAMapHash.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapItem_html"><div class="ttname"><a href="classripple_1_1SHAMapItem.html">ripple::SHAMapItem</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapItem_8h_source.html#l00035">SHAMapItem.h:36</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html">ripple::SHAMapLeafNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8h_source.html#l00030">SHAMapLeafNode.h:31</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#l00032">SHAMapHash.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapItem_html"><div class="ttname"><a href="classripple_1_1SHAMapItem.html">ripple::SHAMapItem</a></div><div class="ttdef"><b>Definition</b> <a href="SHAMapItem_8h_source.html#l00035">SHAMapItem.h:36</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html">ripple::SHAMapLeafNode</a></div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8h_source.html#l00030">SHAMapLeafNode.h:31</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a1073515afa378a278effb467e7f0e3b4"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a1073515afa378a278effb467e7f0e3b4">ripple::SHAMapLeafNode::operator=</a></div><div class="ttdeci">SHAMapLeafNode &amp; operator=(SHAMapLeafNode const &amp;)=delete</div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a281c972c705ae159866a146f3556c4e6"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a281c972c705ae159866a146f3556c4e6">ripple::SHAMapLeafNode::getString</a></div><div class="ttdeci">std::string getString(SHAMapNodeID const &amp;) const final override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8cpp_source.html#l00068">SHAMapLeafNode.cpp:68</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a80ab1af0864fa332e24e4403efa2ccdd"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a80ab1af0864fa332e24e4403efa2ccdd">ripple::SHAMapLeafNode::isInner</a></div><div class="ttdeci">bool isInner() const final override</div><div class="ttdoc">Determines if this is an inner node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8h_source.html#l00056">SHAMapLeafNode.h:56</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a8629b790383fb14f7fab214002e793ee"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a8629b790383fb14f7fab214002e793ee">ripple::SHAMapLeafNode::item_</a></div><div class="ttdeci">boost::intrusive_ptr&lt; SHAMapItem const &gt; item_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8h_source.html#l00033">SHAMapLeafNode.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a89119bf73fc1ac226331cd7948e92a2c"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a89119bf73fc1ac226331cd7948e92a2c">ripple::SHAMapLeafNode::isLeaf</a></div><div class="ttdeci">bool isLeaf() const final override</div><div class="ttdoc">Determines if this is a leaf node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8h_source.html#l00050">SHAMapLeafNode.h:50</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_ada83f0df874a2c0050a54daf1d3ea883"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#ada83f0df874a2c0050a54daf1d3ea883">ripple::SHAMapLeafNode::setItem</a></div><div class="ttdeci">bool setItem(boost::intrusive_ptr&lt; SHAMapItem const &gt; i)</div><div class="ttdoc">Set the item that this node points to and update the node's hash.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8cpp_source.html#l00055">SHAMapLeafNode.cpp:55</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a281c972c705ae159866a146f3556c4e6"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a281c972c705ae159866a146f3556c4e6">ripple::SHAMapLeafNode::getString</a></div><div class="ttdeci">std::string getString(SHAMapNodeID const &amp;) const final override</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8cpp_source.html#l00068">SHAMapLeafNode.cpp:68</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a80ab1af0864fa332e24e4403efa2ccdd"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a80ab1af0864fa332e24e4403efa2ccdd">ripple::SHAMapLeafNode::isInner</a></div><div class="ttdeci">bool isInner() const final override</div><div class="ttdoc">Determines if this is an inner node.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8h_source.html#l00056">SHAMapLeafNode.h:56</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a8629b790383fb14f7fab214002e793ee"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a8629b790383fb14f7fab214002e793ee">ripple::SHAMapLeafNode::item_</a></div><div class="ttdeci">boost::intrusive_ptr&lt; SHAMapItem const &gt; item_</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8h_source.html#l00033">SHAMapLeafNode.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_a89119bf73fc1ac226331cd7948e92a2c"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#a89119bf73fc1ac226331cd7948e92a2c">ripple::SHAMapLeafNode::isLeaf</a></div><div class="ttdeci">bool isLeaf() const final override</div><div class="ttdoc">Determines if this is a leaf node.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8h_source.html#l00050">SHAMapLeafNode.h:50</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_ada83f0df874a2c0050a54daf1d3ea883"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#ada83f0df874a2c0050a54daf1d3ea883">ripple::SHAMapLeafNode::setItem</a></div><div class="ttdeci">bool setItem(boost::intrusive_ptr&lt; SHAMapItem const &gt; i)</div><div class="ttdoc">Set the item that this node points to and update the node's hash.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8cpp_source.html#l00055">SHAMapLeafNode.cpp:55</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_ae9fb8b34f68068af8132f4799c862f71"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#ae9fb8b34f68068af8132f4799c862f71">ripple::SHAMapLeafNode::SHAMapLeafNode</a></div><div class="ttdeci">SHAMapLeafNode(SHAMapLeafNode const &amp;)=delete</div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_af777f590d86414bb7a88decd5b001110"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#af777f590d86414bb7a88decd5b001110">ripple::SHAMapLeafNode::invariants</a></div><div class="ttdeci">void invariants(bool is_root=false) const final override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8cpp_source.html#l00093">SHAMapLeafNode.cpp:93</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_afee48bd94530b5ad6dfe4a403d8455c4"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#afee48bd94530b5ad6dfe4a403d8455c4">ripple::SHAMapLeafNode::peekItem</a></div><div class="ttdeci">boost::intrusive_ptr&lt; SHAMapItem const &gt; const &amp; peekItem() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapLeafNode_8cpp_source.html#l00049">SHAMapLeafNode.cpp:49</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_1SHAMapLeafNode_html_af777f590d86414bb7a88decd5b001110"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#af777f590d86414bb7a88decd5b001110">ripple::SHAMapLeafNode::invariants</a></div><div class="ttdeci">void invariants(bool is_root=false) const final override</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8cpp_source.html#l00093">SHAMapLeafNode.cpp:93</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapLeafNode_html_afee48bd94530b5ad6dfe4a403d8455c4"><div class="ttname"><a href="classripple_1_1SHAMapLeafNode.html#afee48bd94530b5ad6dfe4a403d8455c4">ripple::SHAMapLeafNode::peekItem</a></div><div class="ttdeci">boost::intrusive_ptr&lt; SHAMapItem const &gt; const &amp; peekItem() const</div><div class="ttdef"><b>Definition</b> <a href="SHAMapLeafNode_8cpp_source.html#l00049">SHAMapLeafNode.cpp:49</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="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_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="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="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition:</b> <a href="IPAddress_8h_source.html#l00101">IPAddress.h:101</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="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition</b> <a href="IPAddress_8h_source.html#l00101">IPAddress.h:101</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="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<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>