Files
rippled/classripple_1_1detail_1_1DeferredCredits.html
2025-09-18 10:58:55 -07:00

461 lines
30 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::detail::DeferredCredits 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&amp;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&amp;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="namespaceripple_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html">DeferredCredits</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1detail_1_1DeferredCredits-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::detail::DeferredCredits Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="PaymentSandbox_8h_source.html">PaymentSandbox.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for ripple::detail::DeferredCredits:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1detail_1_1DeferredCredits__coll__graph.png" border="0" usemap="#aripple_1_1detail_1_1DeferredCredits_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1detail_1_1DeferredCredits_coll__map" id="aripple_1_1detail_1_1DeferredCredits_coll__map">
<area shape="rect" title=" " alt="" coords="2091,339,2260,379"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1727,286,1945,341"/>
<area shape="poly" title=" " alt="" coords="1959,327,2091,345,2090,350,1959,332"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/tuple.html" title=" " alt="" coords="1487,243,1570,269"/>
<area shape="poly" title=" " alt="" coords="1584,263,1727,290,1726,296,1583,269"/>
<area shape="rect" href="structripple_1_1detail_1_1DeferredCredits_1_1Value.html" title=" " alt="" coords="1444,293,1613,333"/>
<area shape="poly" title=" " alt="" coords="1627,311,1727,311,1727,316,1627,316"/>
<area shape="rect" href="classripple_1_1STAmount.html" title=" " alt="" coords="1115,293,1248,318"/>
<area shape="poly" title=" " alt="" coords="1262,305,1444,309,1444,314,1262,310"/>
<area shape="rect" href="classripple_1_1STBase.html" title="A type which can be exported to a well known binary format." alt="" coords="799,303,913,329"/>
<area shape="poly" title=" " alt="" coords="927,311,1114,305,1115,310,927,316"/>
<area shape="rect" href="classripple_1_1SField.html" title="Identifies fields." alt="" coords="467,161,573,186"/>
<area shape="poly" title=" " alt="" coords="537,196,571,243,594,266,620,284,664,302,711,312,757,317,798,317,798,323,757,322,710,318,662,307,617,289,590,270,567,246,533,200"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="780,175,932,230"/>
<area shape="poly" title=" " alt="" coords="562,189,619,205,702,212,780,209,780,214,702,217,618,211,561,194"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="780,91,932,146"/>
<area shape="poly" title=" " alt="" coords="577,155,618,145,701,132,780,123,780,128,702,137,619,151,579,160"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="216,97,303,122"/>
<area shape="poly" title=" " alt="" coords="317,120,468,158,467,163,315,126"/>
<area shape="poly" title=" " alt="" coords="317,105,509,102,751,107,780,108,780,114,751,112,509,108,317,110"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="5,89,144,129"/>
<area shape="poly" title=" " alt="" coords="158,107,216,107,216,112,158,112"/>
<area shape="rect" href="classJson_1_1StaticString.html" title="Lightweight wrapper to tag static string." alt="" coords="193,161,325,186"/>
<area shape="poly" title=" " alt="" coords="339,171,467,171,467,176,339,176"/>
<area shape="poly" title=" " alt="" coords="787,238,776,244,764,251,751,256,714,264,684,268,654,266,618,256,590,242,565,224,530,188,534,184,569,220,593,238,620,251,655,261,684,263,713,259,750,251,762,246,773,239,785,234"/>
<area shape="poly" title=" " alt="" coords="788,154,751,165,705,173,657,178,574,179,573,173,657,172,704,168,750,160,786,149"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="775,353,937,393"/>
<area shape="poly" title=" " alt="" coords="950,351,1119,315,1120,321,951,356"/>
<area shape="rect" href="classripple_1_1Asset.html" title=" " alt="" coords="805,25,907,50"/>
<area shape="poly" title=" " alt="" coords="921,45,999,68,1039,87,1075,111,1097,132,1116,156,1146,208,1167,256,1179,292,1174,293,1162,258,1141,210,1111,160,1093,136,1072,115,1036,91,997,73,920,50"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/variant.html" title=" " alt="" coords="445,5,595,45"/>
<area shape="poly" title=" " alt="" coords="608,26,805,33,804,38,608,31"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="805,254,907,279"/>
<area shape="poly" title=" " alt="" coords="921,272,1114,295,1114,300,920,277"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1751,375,1921,415"/>
<area shape="poly" title=" " alt="" coords="1935,384,2066,371,2090,368,2091,373,2067,376,1936,389"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="1458,375,1599,415"/>
<area shape="poly" title=" " alt="" coords="1613,392,1750,392,1750,397,1613,397"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="1137,347,1225,373"/>
<area shape="poly" title=" " alt="" coords="1239,363,1458,385,1457,390,1239,368"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="1097,397,1265,437"/>
<area shape="poly" title=" " alt="" coords="1279,414,1420,407,1457,403,1458,408,1420,412,1280,419"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="805,429,907,454"/>
<area shape="poly" title=" " alt="" coords="921,441,1097,447,1243,448,1356,446,1468,438,1613,424,1750,406,1751,411,1614,429,1469,443,1356,451,1243,453,1097,452,921,447"/>
<area shape="poly" title=" " alt="" coords="921,434,1097,421,1097,426,921,439"/>
</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="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1detail_1_1DeferredCredits_1_1Adjustment.html">Adjustment</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1detail_1_1DeferredCredits_1_1Value.html">Value</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a008844cf1b2399cb2e46b67d84071437" id="r_a008844cf1b2399cb2e46b67d84071437"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1detail_1_1DeferredCredits_1_1Adjustment.html">Adjustment</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a008844cf1b2399cb2e46b67d84071437">adjustments</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;main, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;other, <a class="el" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> const &amp;currency) const</td></tr>
<tr class="separator:a008844cf1b2399cb2e46b67d84071437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a107d152ac39c43626efed1fd11036c" id="r_a0a107d152ac39c43626efed1fd11036c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a0a107d152ac39c43626efed1fd11036c">credit</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;sender, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;receiver, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &amp;amount, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &amp;preCreditSenderBalance)</td></tr>
<tr class="separator:a0a107d152ac39c43626efed1fd11036c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bd5dda44034352f09c578bdea51726d" id="r_a4bd5dda44034352f09c578bdea51726d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a4bd5dda44034352f09c578bdea51726d">ownerCount</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;id, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> cur, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> next)</td></tr>
<tr class="separator:a4bd5dda44034352f09c578bdea51726d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8407c8faa462cc42c1a2baf70dcf592e" id="r_a8407c8faa462cc42c1a2baf70dcf592e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a8407c8faa462cc42c1a2baf70dcf592e">ownerCount</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;id) const</td></tr>
<tr class="separator:a8407c8faa462cc42c1a2baf70dcf592e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39a6fe93bcff2c0449cdcc9dd7cad846" id="r_a39a6fe93bcff2c0449cdcc9dd7cad846"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a39a6fe93bcff2c0449cdcc9dd7cad846">apply</a> (<a class="el" href="classripple_1_1detail_1_1DeferredCredits.html">DeferredCredits</a> &amp;to)</td></tr>
<tr class="separator:a39a6fe93bcff2c0449cdcc9dd7cad846"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-types" name="pri-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:a9525acc79a4b9f0a891f88f404dcef36" id="r_a9525acc79a4b9f0a891f88f404dcef36"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a9525acc79a4b9f0a891f88f404dcef36">Key</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>&lt; <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>, <a class="el" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> &gt;</td></tr>
<tr class="separator:a9525acc79a4b9f0a891f88f404dcef36"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-static-methods" name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a91901f7b4ab89470f7735e1e7029a9b9" id="r_a91901f7b4ab89470f7735e1e7029a9b9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a9525acc79a4b9f0a891f88f404dcef36">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a91901f7b4ab89470f7735e1e7029a9b9">makeKey</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;a1, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;a2, <a class="el" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> const &amp;c)</td></tr>
<tr class="separator:a91901f7b4ab89470f7735e1e7029a9b9"><td class="memSeparator" colspan="2">&#160;</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:a79e2fe0650e76cf3c71d6c6e1e5ae31c" id="r_a79e2fe0650e76cf3c71d6c6e1e5ae31c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt; <a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a9525acc79a4b9f0a891f88f404dcef36">Key</a>, <a class="el" href="structripple_1_1detail_1_1DeferredCredits_1_1Value.html">Value</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a79e2fe0650e76cf3c71d6c6e1e5ae31c">credits_</a></td></tr>
<tr class="separator:a79e2fe0650e76cf3c71d6c6e1e5ae31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b06a50d03f96e8c0bf2625d26773204" id="r_a3b06a50d03f96e8c0bf2625d26773204"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt; <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a3b06a50d03f96e8c0bf2625d26773204">ownerCounts_</a></td></tr>
<tr class="separator:a3b06a50d03f96e8c0bf2625d26773204"><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 class="definition">Definition at line <a class="el" href="PaymentSandbox_8h_source.html#l00036">36</a> of file <a class="el" href="PaymentSandbox_8h_source.html">PaymentSandbox.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a9525acc79a4b9f0a891f88f404dcef36" name="a9525acc79a4b9f0a891f88f404dcef36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9525acc79a4b9f0a891f88f404dcef36">&#9670;&#160;</a></span>Key</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a9525acc79a4b9f0a891f88f404dcef36">ripple::detail::DeferredCredits::Key</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>&lt;<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>, <a class="el" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a>&gt;</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 class="definition">Definition at line <a class="el" href="PaymentSandbox_8h_source.html#l00079">79</a> of file <a class="el" href="PaymentSandbox_8h_source.html">PaymentSandbox.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a008844cf1b2399cb2e46b67d84071437" name="a008844cf1b2399cb2e46b67d84071437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a008844cf1b2399cb2e46b67d84071437">&#9670;&#160;</a></span>adjustments()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto ripple::detail::DeferredCredits::adjustments </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>main</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> const &amp;&#160;</td>
<td class="paramname"><em>currency</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PaymentSandbox_8cpp_source.html#l00113">113</a> of file <a class="el" href="PaymentSandbox_8cpp_source.html">PaymentSandbox.cpp</a>.</p>
</div>
</div>
<a id="a0a107d152ac39c43626efed1fd11036c" name="a0a107d152ac39c43626efed1fd11036c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a107d152ac39c43626efed1fd11036c">&#9670;&#160;</a></span>credit()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::detail::DeferredCredits::credit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>sender</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>receiver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &amp;&#160;</td>
<td class="paramname"><em>amount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &amp;&#160;</td>
<td class="paramname"><em>preCreditSenderBalance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PaymentSandbox_8cpp_source.html#l00042">42</a> of file <a class="el" href="PaymentSandbox_8cpp_source.html">PaymentSandbox.cpp</a>.</p>
</div>
</div>
<a id="a4bd5dda44034352f09c578bdea51726d" name="a4bd5dda44034352f09c578bdea51726d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bd5dda44034352f09c578bdea51726d">&#9670;&#160;</a></span>ownerCount() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::detail::DeferredCredits::ownerCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>cur</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>next</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PaymentSandbox_8cpp_source.html#l00088">88</a> of file <a class="el" href="PaymentSandbox_8cpp_source.html">PaymentSandbox.cpp</a>.</p>
</div>
</div>
<a id="a8407c8faa462cc42c1a2baf70dcf592e" name="a8407c8faa462cc42c1a2baf70dcf592e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8407c8faa462cc42c1a2baf70dcf592e">&#9670;&#160;</a></span>ownerCount() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt; ripple::detail::DeferredCredits::ownerCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PaymentSandbox_8cpp_source.html#l00103">103</a> of file <a class="el" href="PaymentSandbox_8cpp_source.html">PaymentSandbox.cpp</a>.</p>
</div>
</div>
<a id="a39a6fe93bcff2c0449cdcc9dd7cad846" name="a39a6fe93bcff2c0449cdcc9dd7cad846"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39a6fe93bcff2c0449cdcc9dd7cad846">&#9670;&#160;</a></span>apply()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::detail::DeferredCredits::apply </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1detail_1_1DeferredCredits.html">DeferredCredits</a> &amp;&#160;</td>
<td class="paramname"><em>to</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PaymentSandbox_8cpp_source.html#l00142">142</a> of file <a class="el" href="PaymentSandbox_8cpp_source.html">PaymentSandbox.cpp</a>.</p>
</div>
</div>
<a id="a91901f7b4ab89470f7735e1e7029a9b9" name="a91901f7b4ab89470f7735e1e7029a9b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91901f7b4ab89470f7735e1e7029a9b9">&#9670;&#160;</a></span>makeKey()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">auto ripple::detail::DeferredCredits::makeKey </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>a1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>a2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> const &amp;&#160;</td>
<td class="paramname"><em>c</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PaymentSandbox_8cpp_source.html#l00030">30</a> of file <a class="el" href="PaymentSandbox_8cpp_source.html">PaymentSandbox.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a79e2fe0650e76cf3c71d6c6e1e5ae31c" name="a79e2fe0650e76cf3c71d6c6e1e5ae31c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79e2fe0650e76cf3c71d6c6e1e5ae31c">&#9670;&#160;</a></span>credits_</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/container/map.html">std::map</a>&lt;<a class="el" href="classripple_1_1detail_1_1DeferredCredits.html#a9525acc79a4b9f0a891f88f404dcef36">Key</a>, <a class="el" href="structripple_1_1detail_1_1DeferredCredits_1_1Value.html">Value</a>&gt; ripple::detail::DeferredCredits::credits_</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 class="definition">Definition at line <a class="el" href="PaymentSandbox_8h_source.html#l00092">92</a> of file <a class="el" href="PaymentSandbox_8h_source.html">PaymentSandbox.h</a>.</p>
</div>
</div>
<a id="a3b06a50d03f96e8c0bf2625d26773204" name="a3b06a50d03f96e8c0bf2625d26773204"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b06a50d03f96e8c0bf2625d26773204">&#9670;&#160;</a></span>ownerCounts_</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/container/map.html">std::map</a>&lt;<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&gt; ripple::detail::DeferredCredits::ownerCounts_</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 class="definition">Definition at line <a class="el" href="PaymentSandbox_8h_source.html#l00093">93</a> of file <a class="el" href="PaymentSandbox_8h_source.html">PaymentSandbox.h</a>.</p>
</div>
</div>
</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.8
</small></address>
</body>
</html>