mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
291 lines
17 KiB
HTML
291 lines
17 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: ripple::RCLTxSet::MutableTxSet Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</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>
|
|
<!-- 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="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a></li><li class="navelem"><a class="el" href="classripple_1_1RCLTxSet_1_1MutableTxSet.html">MutableTxSet</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classripple_1_1RCLTxSet_1_1MutableTxSet-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">ripple::RCLTxSet::MutableTxSet Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::RCLTxSet::MutableTxSet:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1RCLTxSet_1_1MutableTxSet__coll__graph.png" border="0" usemap="#aripple_1_1RCLTxSet_1_1MutableTxSet_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1RCLTxSet_1_1MutableTxSet_coll__map" id="aripple_1_1RCLTxSet_1_1MutableTxSet_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="2125,73,2315,113"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1865,73,2036,113"/>
|
|
<area shape="poly" title=" " alt="" coords="2049,90,2125,90,2125,95,2049,95"/>
|
|
<area shape="rect" href="classripple_1_1SHAMap.html" title="A SHAMap is both a radix tree with a fan-out of 16 and a Merkle tree." alt="" coords="1672,80,1795,105"/>
|
|
<area shape="poly" title=" " alt="" coords="1809,90,1865,90,1865,95,1809,95"/>
|
|
<area shape="rect" href="classripple_1_1Family.html" title=" " alt="" coords="1405,5,1515,31"/>
|
|
<area shape="poly" title=" " alt="" coords="1529,28,1649,58,1703,77,1701,82,1647,63,1528,34"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1405,55,1515,80"/>
|
|
<area shape="poly" title=" " alt="" coords="1529,71,1672,84,1672,90,1529,76"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="1089,55,1235,80"/>
|
|
<area shape="poly" title=" " alt="" coords="1249,65,1404,65,1404,70,1249,70"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,365,108,391"/>
|
|
<area shape="poly" title=" " alt="" coords="64,351,89,295,108,263,130,234,174,184,214,147,235,133,260,123,289,117,323,115,1461,115,1573,110,1672,99,1672,104,1574,115,1461,121,323,121,290,123,261,128,238,138,217,151,178,187,134,237,112,266,94,297,69,354"/>
|
|
<area shape="rect" href="classripple_1_1SHAMapTreeNode.html" title=" " alt="" coords="1071,237,1253,263"/>
|
|
<area shape="poly" title=" " alt="" coords="72,352,110,302,168,245,202,218,240,197,280,182,323,177,904,177,970,183,1034,198,1091,217,1134,235,1132,240,1089,222,1033,203,969,188,904,182,324,182,282,187,242,202,205,223,171,249,114,306,76,355"/>
|
|
<area shape="rect" href="structripple_1_1IntrusiveRefCounts.html" title="Implement the strong count, weak count, and bit flags for an intrusive pointer." alt="" coords="544,365,735,391"/>
|
|
<area shape="poly" title=" " alt="" coords="122,375,544,375,544,381,122,381"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="221,427,428,452"/>
|
|
<area shape="poly" title=" " alt="" coords="95,394,133,409,221,427,220,432,131,414,93,399"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="241,477,409,517"/>
|
|
<area shape="poly" title=" " alt="" coords="79,399,104,423,133,444,186,466,241,481,240,486,185,471,131,448,100,427,76,403"/>
|
|
<area shape="rect" href="classripple_1_1SharedIntrusive.html" title=" " alt="" coords="1353,169,1567,209"/>
|
|
<area shape="poly" title=" " alt="" coords="1579,170,1647,149,1685,127,1716,103,1719,108,1688,131,1649,154,1581,175"/>
|
|
<area shape="poly" title=" " alt="" coords="1237,232,1362,206,1363,211,1239,237"/>
|
|
<area shape="poly" title=" " alt="" coords="699,359,1003,281,1097,260,1098,265,1005,286,701,364"/>
|
|
<area shape="poly" title=" " alt="" coords="441,423,519,409,597,388,599,393,521,414,442,428"/>
|
|
<area shape="rect" href="classripple_1_1SHAMapHash.html" title=" " alt="" coords="825,348,980,373"/>
|
|
<area shape="poly" title=" " alt="" coords="945,340,1130,260,1132,265,947,345"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="569,475,710,515"/>
|
|
<area shape="poly" title=" " alt="" coords="691,467,875,371,878,376,693,471"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="281,543,369,568"/>
|
|
<area shape="poly" title=" " alt="" coords="382,548,448,541,519,529,578,513,580,518,521,534,449,546,383,554"/>
|
|
<area shape="poly" title=" " alt="" coords="423,494,569,493,569,498,423,499"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a40208f5e2b910e8029c01622f3f43d17" id="r_a40208f5e2b910e8029c01622f3f43d17"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLTxSet_1_1MutableTxSet.html#a40208f5e2b910e8029c01622f3f43d17">MutableTxSet</a> (<a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const &src)</td></tr>
|
|
<tr class="separator:a40208f5e2b910e8029c01622f3f43d17"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a7e78d5009c441d0cb03ad1fa96af4c" id="r_a5a7e78d5009c441d0cb03ad1fa96af4c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLTxSet_1_1MutableTxSet.html#a5a7e78d5009c441d0cb03ad1fa96af4c">insert</a> (<a class="el" href="classripple_1_1RCLTxSet.html#a4b6da03b618a8963fc39f1a404a6d95d">Tx</a> const &t)</td></tr>
|
|
<tr class="memdesc:a5a7e78d5009c441d0cb03ad1fa96af4c"><td class="mdescLeft"> </td><td class="mdescRight">Insert a new transaction into the set. <br /></td></tr>
|
|
<tr class="separator:a5a7e78d5009c441d0cb03ad1fa96af4c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaeb1840dbfd56d09763703048a531f23" id="r_aaeb1840dbfd56d09763703048a531f23"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLTxSet_1_1MutableTxSet.html#aaeb1840dbfd56d09763703048a531f23">erase</a> (<a class="el" href="classripple_1_1RCLCxTx.html#af23a5fc53012f97206cc37602b3301ce">Tx::ID</a> const &entry)</td></tr>
|
|
<tr class="memdesc:aaeb1840dbfd56d09763703048a531f23"><td class="mdescLeft"> </td><td class="mdescRight">Remove a transaction from the set. <br /></td></tr>
|
|
<tr class="separator:aaeb1840dbfd56d09763703048a531f23"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:ac01bbc29be2927e78898903a96dc35a7" id="r_ac01bbc29be2927e78898903a96dc35a7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1SHAMap.html">SHAMap</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLTxSet_1_1MutableTxSet.html#ac01bbc29be2927e78898903a96dc35a7">map_</a></td></tr>
|
|
<tr class="memdesc:ac01bbc29be2927e78898903a96dc35a7"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classripple_1_1SHAMap.html" title="A SHAMap is both a radix tree with a fan-out of 16 and a Merkle tree.">SHAMap</a> representing the transactions. <br /></td></tr>
|
|
<tr class="separator:ac01bbc29be2927e78898903a96dc35a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:ae77e0f98f13b953d575d7872bf6e1186" id="r_ae77e0f98f13b953d575d7872bf6e1186"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLTxSet_1_1MutableTxSet.html#ae77e0f98f13b953d575d7872bf6e1186">RCLTxSet</a></td></tr>
|
|
<tr class="separator:ae77e0f98f13b953d575d7872bf6e1186"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p class="definition">Definition at line <a class="el" href="RCLCxTx_8h_source.html#l00071">71</a> of file <a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a40208f5e2b910e8029c01622f3f43d17" name="a40208f5e2b910e8029c01622f3f43d17"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40208f5e2b910e8029c01622f3f43d17">◆ </a></span>MutableTxSet()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::RCLTxSet::MutableTxSet::MutableTxSet </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const & </td>
|
|
<td class="paramname"><em>src</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCxTx_8h_source.html#l00078">78</a> of file <a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a5a7e78d5009c441d0cb03ad1fa96af4c" name="a5a7e78d5009c441d0cb03ad1fa96af4c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5a7e78d5009c441d0cb03ad1fa96af4c">◆ </a></span>insert()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLTxSet::MutableTxSet::insert </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLTxSet.html#a4b6da03b618a8963fc39f1a404a6d95d">Tx</a> const & </td>
|
|
<td class="paramname"><em>t</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Insert a new transaction into the set. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">t</td><td>The transaction to insert. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Whether the transaction took place. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCxTx_8h_source.html#l00088">88</a> of file <a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaeb1840dbfd56d09763703048a531f23" name="aaeb1840dbfd56d09763703048a531f23"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaeb1840dbfd56d09763703048a531f23">◆ </a></span>erase()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLTxSet::MutableTxSet::erase </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxTx.html#af23a5fc53012f97206cc37602b3301ce">Tx::ID</a> const & </td>
|
|
<td class="paramname"><em>entry</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Remove a transaction from the set. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">entry</td><td>The ID of the transaction to remove. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Whether the transaction was removed. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCxTx_8h_source.html#l00099">99</a> of file <a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
|
|
<a id="ae77e0f98f13b953d575d7872bf6e1186" name="ae77e0f98f13b953d575d7872bf6e1186"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae77e0f98f13b953d575d7872bf6e1186">◆ </a></span>RCLTxSet</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">friend class <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCxTx_8h_source.html#l00073">73</a> of file <a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ac01bbc29be2927e78898903a96dc35a7" name="ac01bbc29be2927e78898903a96dc35a7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac01bbc29be2927e78898903a96dc35a7">◆ </a></span>map_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1SHAMap.html">SHAMap</a>> ripple::RCLTxSet::MutableTxSet::map_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The <a class="el" href="classripple_1_1SHAMap.html" title="A SHAMap is both a radix tree with a fan-out of 16 and a Merkle tree.">SHAMap</a> representing the transactions. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCxTx_8h_source.html#l00075">75</a> of file <a class="el" href="RCLCxTx_8h_source.html">RCLCxTx.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</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>
|