Files
rippled/classripple_1_1BookStep.html
2022-03-31 17:56:44 +00:00

1198 lines
64 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::BookStep&lt; TIn, TOut, TDerived &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1BookStep.html">BookStep</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="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classripple_1_1BookStep-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::BookStep&lt; TIn, TOut, TDerived &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ripple::BookStep&lt; TIn, TOut, TDerived &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1BookStep__inherit__graph.png" border="0" usemap="#ripple_1_1BookStep_3_01TIn_00_01TOut_00_01TDerived_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1BookStep_3_01TIn_00_01TOut_00_01TDerived_01_4_inherit__map" id="ripple_1_1BookStep_3_01TIn_00_01TOut_00_01TDerived_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="5,109,173,151"/>
<area shape="rect" title=" " alt="" coords="6,5,173,61"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::BookStep&lt; TIn, TOut, TDerived &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1BookStep__coll__graph.png" border="0" usemap="#ripple_1_1BookStep_3_01TIn_00_01TOut_00_01TDerived_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1BookStep_3_01TIn_00_01TOut_00_01TDerived_01_4_coll__map" id="ripple_1_1BookStep_3_01TIn_00_01TOut_00_01TDerived_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="1391,195,1559,237"/>
<area shape="rect" title=" " alt="" coords="1107,5,1273,61"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,189,108,216"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,270,389,311"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1113,137,1267,178"/>
<area shape="rect" href="classripple_1_1Step.html" title="A step in a payment path." alt="" coords="1142,203,1238,229"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1135,253,1245,280"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="831,196,977,223"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="487,315,693,357"/>
<area shape="rect" href="classripple_1_1Issue.html" title="A currency issued by an account." alt="" coords="853,313,955,340"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="491,250,689,291"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,195,349,221"/>
<area shape="rect" href="classripple_1_1Book.html" title="Specifies an order book." alt="" coords="1140,304,1240,331"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="823,247,985,289"/>
</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 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_1BookStep_1_1Cache.html">Cache</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 name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab23316f1d5eeccb27abb43e2300134f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ab23316f1d5eeccb27abb43e2300134f0">BookStep</a> (<a class="el" href="structripple_1_1StrandContext.html">StrandContext</a> const &amp;ctx, <a class="el" href="classripple_1_1Issue.html">Issue</a> const &amp;in, <a class="el" href="classripple_1_1Issue.html">Issue</a> const &amp;out)</td></tr>
<tr class="separator:ab23316f1d5eeccb27abb43e2300134f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9078a99ce222b97f9fb3d166633b1b49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Book.html">Book</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a9078a99ce222b97f9fb3d166633b1b49">book</a> () const</td></tr>
<tr class="separator:a9078a99ce222b97f9fb3d166633b1b49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77fb59fc1a3c9c2253a048890ff86d75"><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_1EitherAmount.html">EitherAmount</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a77fb59fc1a3c9c2253a048890ff86d75">cachedIn</a> () const override</td></tr>
<tr class="separator:a77fb59fc1a3c9c2253a048890ff86d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa19df35277d506a0fa73682bb5df5352"><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_1EitherAmount.html">EitherAmount</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#aa19df35277d506a0fa73682bb5df5352">cachedOut</a> () const override</td></tr>
<tr class="separator:aa19df35277d506a0fa73682bb5df5352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10ac9ca8fbb6813d60be0c7b605698e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#aa10ac9ca8fbb6813d60be0c7b605698e">debtDirection</a> (<a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &amp;sb, <a class="el" href="namespaceripple.html#a2fca0f72cfacc04d15ad41d84ebf46fd">StrandDirection</a> dir) const override</td></tr>
<tr class="separator:aa10ac9ca8fbb6813d60be0c7b605698e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73a3c4e14cf4668e59a421b106ecefea"><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="classripple_1_1Book.html">Book</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a73a3c4e14cf4668e59a421b106ecefea">bookStepBook</a> () const override</td></tr>
<tr class="separator:a73a3c4e14cf4668e59a421b106ecefea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae34588a45abed1c1eeb250976ad360c5"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; Quality &gt;, <a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ae34588a45abed1c1eeb250976ad360c5">qualityUpperBound</a> (<a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &amp;v, <a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a> prevStepDir) const override</td></tr>
<tr class="separator:ae34588a45abed1c1eeb250976ad360c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2361abd05389001f3c40e19fa667b289"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a2361abd05389001f3c40e19fa667b289">offersUsed</a> () const override</td></tr>
<tr class="separator:a2361abd05389001f3c40e19fa667b289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2b69d5c94b1303c7554eadcb0a4b759"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; TIn, TOut &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#aa2b69d5c94b1303c7554eadcb0a4b759">revImp</a> (<a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;sb, <a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;afView, boost::container::flat_set&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt; &amp;ofrsToRm, TOut const &amp;out)</td></tr>
<tr class="separator:aa2b69d5c94b1303c7554eadcb0a4b759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac360725d48ffbe2a589ae0f4ca23c569"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; TIn, TOut &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ac360725d48ffbe2a589ae0f4ca23c569">fwdImp</a> (<a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;sb, <a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;afView, boost::container::flat_set&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt; &amp;ofrsToRm, TIn const &amp;in)</td></tr>
<tr class="separator:ac360725d48ffbe2a589ae0f4ca23c569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75e0f046afee8b75774801a2e6ffaae0"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; bool, <a class="el" href="structripple_1_1EitherAmount.html">EitherAmount</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a75e0f046afee8b75774801a2e6ffaae0">validFwd</a> (<a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;sb, <a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;afView, <a class="el" href="structripple_1_1EitherAmount.html">EitherAmount</a> const &amp;in) override</td></tr>
<tr class="separator:a75e0f046afee8b75774801a2e6ffaae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68b0358a5053e3f81802c1bfaaaef647"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#adfb760bc3e4ccb79d5d4f6ecff2f1817">TER</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a68b0358a5053e3f81802c1bfaaaef647">check</a> (<a class="el" href="structripple_1_1StrandContext.html">StrandContext</a> const &amp;ctx) const</td></tr>
<tr class="separator:a68b0358a5053e3f81802c1bfaaaef647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace12c7abd57b6509bed56198d087ac36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ace12c7abd57b6509bed56198d087ac36">inactive</a> () const override</td></tr>
<tr class="separator:ace12c7abd57b6509bed56198d087ac36"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ab16dcf7219babffcc905cc5d331aa118"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ab16dcf7219babffcc905cc5d331aa118">logStringImpl</a> (char const *name) const</td></tr>
<tr class="separator:ab16dcf7219babffcc905cc5d331aa118"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:adc5b4e33834322d5f72e4269c5e9e99e"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#adc5b4e33834322d5f72e4269c5e9e99e">getMaxOffersToConsume</a> (<a class="el" href="structripple_1_1StrandContext.html">StrandContext</a> const &amp;ctx)</td></tr>
<tr class="separator:adc5b4e33834322d5f72e4269c5e9e99e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2bf64f6adbca271822b63d46f3c1493a"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a2bf64f6adbca271822b63d46f3c1493a">maxOffersToConsume_</a></td></tr>
<tr class="separator:a2bf64f6adbca271822b63d46f3c1493a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1c9905d2af71cf8b6695ad869685c36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Book.html">Book</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ae1c9905d2af71cf8b6695ad869685c36">book_</a></td></tr>
<tr class="separator:ae1c9905d2af71cf8b6695ad869685c36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcfc11f791a68e736bda624503a8496d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#afcfc11f791a68e736bda624503a8496d">strandSrc_</a></td></tr>
<tr class="separator:afcfc11f791a68e736bda624503a8496d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9d4f2a380bfab569355b12fbbab6ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#aca9d4f2a380bfab569355b12fbbab6ee">strandDst_</a></td></tr>
<tr class="separator:aca9d4f2a380bfab569355b12fbbab6ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa509ba8767d485dba40e339b745c5558"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Step.html">Step</a> const *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#aa509ba8767d485dba40e339b745c5558">prevStep_</a> = nullptr</td></tr>
<tr class="separator:aa509ba8767d485dba40e339b745c5558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6de326d2b18de2d293079abc85d53f5"><td class="memItemLeft" align="right" valign="top">const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ac6de326d2b18de2d293079abc85d53f5">ownerPaysTransferFee_</a></td></tr>
<tr class="separator:ac6de326d2b18de2d293079abc85d53f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae94d993f7db69ca6aaa4517b02292ec0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#ae94d993f7db69ca6aaa4517b02292ec0">inactive_</a> = false</td></tr>
<tr class="separator:ae94d993f7db69ca6aaa4517b02292ec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a299b70f6c07de70b1bea38dda9200882"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a299b70f6c07de70b1bea38dda9200882">offersUsed_</a> = 0</td></tr>
<tr class="memdesc:a299b70f6c07de70b1bea38dda9200882"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of offers consumed or partially consumed the last time the step ran, including expired and unfunded offers. <a href="classripple_1_1BookStep.html#a299b70f6c07de70b1bea38dda9200882">More...</a><br /></td></tr>
<tr class="separator:a299b70f6c07de70b1bea38dda9200882"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a185d95a05e0e860f20ab1320288f163d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a185d95a05e0e860f20ab1320288f163d">j_</a></td></tr>
<tr class="separator:a185d95a05e0e860f20ab1320288f163d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc3ab79671a0301e2679b9929ae80640"><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_1BookStep_1_1Cache.html">Cache</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#afc3ab79671a0301e2679b9929ae80640">cache_</a></td></tr>
<tr class="separator:afc3ab79671a0301e2679b9929ae80640"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a9960216d74d520047bacde5598dac46a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a9960216d74d520047bacde5598dac46a">equal</a> (<a class="el" href="classripple_1_1Step.html">Step</a> const &amp;rhs) const override</td></tr>
<tr class="separator:a9960216d74d520047bacde5598dac46a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7342a15a2176a19d7bfa38396915381c"><td class="memTemplParams" colspan="2">template&lt;class Callback &gt; </td></tr>
<tr class="memitem:a7342a15a2176a19d7bfa38396915381c"><td class="memTemplItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; boost::container::flat_set&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a7342a15a2176a19d7bfa38396915381c">forEachOffer</a> (<a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;sb, <a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;afView, <a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a> prevStepDebtDir, Callback &amp;callback) const</td></tr>
<tr class="separator:a7342a15a2176a19d7bfa38396915381c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d1f925ee2b12c32026c219ab66f533e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a2d1f925ee2b12c32026c219ab66f533e">consumeOffer</a> (<a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;sb, <a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; &amp;offer, TAmounts&lt; TIn, TOut &gt; const &amp;ofrAmt, TAmounts&lt; TIn, TOut &gt; const &amp;stepAmt, TOut const &amp;ownerGives) const</td></tr>
<tr class="separator:a2d1f925ee2b12c32026c219ab66f533e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a1b410d353a7b9ef4829b8bd951aa4cd3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#a1b410d353a7b9ef4829b8bd951aa4cd3">operator==</a> (<a class="el" href="classripple_1_1BookStep.html">BookStep</a> const &amp;lhs, <a class="el" href="classripple_1_1BookStep.html">BookStep</a> const &amp;rhs)</td></tr>
<tr class="separator:a1b410d353a7b9ef4829b8bd951aa4cd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa870ebc3315d3fc49d4b52c5b58fd400"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookStep.html#aa870ebc3315d3fc49d4b52c5b58fd400">operator!=</a> (<a class="el" href="classripple_1_1BookStep.html">BookStep</a> const &amp;lhs, <a class="el" href="classripple_1_1BookStep.html">BookStep</a> const &amp;rhs)</td></tr>
<tr class="separator:aa870ebc3315d3fc49d4b52c5b58fd400"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class TIn, class TOut, class TDerived&gt;<br />
class ripple::BookStep&lt; TIn, TOut, TDerived &gt;</h3>
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00042">42</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab23316f1d5eeccb27abb43e2300134f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab23316f1d5eeccb27abb43e2300134f0">&#9670;&nbsp;</a></span>BookStep()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::<a class="el" href="classripple_1_1BookStep.html">BookStep</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1StrandContext.html">StrandContext</a> const &amp;&#160;</td>
<td class="paramname"><em>ctx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Issue.html">Issue</a> const &amp;&#160;</td>
<td class="paramname"><em>in</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Issue.html">Issue</a> const &amp;&#160;</td>
<td class="paramname"><em>out</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="BookStep_8cpp_source.html#l00085">85</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="adc5b4e33834322d5f72e4269c5e9e99e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc5b4e33834322d5f72e4269c5e9e99e">&#9670;&nbsp;</a></span>getMaxOffersToConsume()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static uint32_t <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::getMaxOffersToConsume </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1StrandContext.html">StrandContext</a> const &amp;&#160;</td>
<td class="paramname"><em>ctx</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00077">77</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a9078a99ce222b97f9fb3d166633b1b49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9078a99ce222b97f9fb3d166633b1b49">&#9670;&nbsp;</a></span>book()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1Book.html">Book</a> const&amp; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::book </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00097">97</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a77fb59fc1a3c9c2253a048890ff86d75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77fb59fc1a3c9c2253a048890ff86d75">&#9670;&nbsp;</a></span>cachedIn()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/utility/optional.html">std::optional</a>&lt;<a class="el" href="structripple_1_1EitherAmount.html">EitherAmount</a>&gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::cachedIn </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00103">103</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aa19df35277d506a0fa73682bb5df5352"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa19df35277d506a0fa73682bb5df5352">&#9670;&nbsp;</a></span>cachedOut()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/utility/optional.html">std::optional</a>&lt;<a class="el" href="structripple_1_1EitherAmount.html">EitherAmount</a>&gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::cachedOut </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00111">111</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aa10ac9ca8fbb6813d60be0c7b605698e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa10ac9ca8fbb6813d60be0c7b605698e">&#9670;&nbsp;</a></span>debtDirection()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::debtDirection </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &amp;&#160;</td>
<td class="paramname"><em>sb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a2fca0f72cfacc04d15ad41d84ebf46fd">StrandDirection</a>&#160;</td>
<td class="paramname"><em>dir</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00119">119</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a73a3c4e14cf4668e59a421b106ecefea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73a3c4e14cf4668e59a421b106ecefea">&#9670;&nbsp;</a></span>bookStepBook()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/utility/optional.html">std::optional</a>&lt;<a class="el" href="classripple_1_1Book.html">Book</a>&gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::bookStepBook </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00126">126</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ae34588a45abed1c1eeb250976ad360c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae34588a45abed1c1eeb250976ad360c5">&#9670;&nbsp;</a></span>qualityUpperBound()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; Quality &gt;, <a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a> &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::qualityUpperBound </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a>&#160;</td>
<td class="paramname"><em>prevStepDir</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00476">476</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a2361abd05389001f3c40e19fa667b289"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2361abd05389001f3c40e19fa667b289">&#9670;&nbsp;</a></span>offersUsed()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/types/integer.html">std::uint32_t</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::offersUsed</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00495">495</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aa2b69d5c94b1303c7554eadcb0a4b759"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2b69d5c94b1303c7554eadcb0a4b759">&#9670;&nbsp;</a></span>revImp()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; TIn, TOut &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::revImp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;&#160;</td>
<td class="paramname"><em>sb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;&#160;</td>
<td class="paramname"><em>afView</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">boost::container::flat_set&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>ofrsToRm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TOut const &amp;&#160;</td>
<td class="paramname"><em>out</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="BookStep_8cpp_source.html#l00720">720</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ac360725d48ffbe2a589ae0f4ca23c569"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac360725d48ffbe2a589ae0f4ca23c569">&#9670;&nbsp;</a></span>fwdImp()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; TIn, TOut &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::fwdImp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;&#160;</td>
<td class="paramname"><em>sb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;&#160;</td>
<td class="paramname"><em>afView</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">boost::container::flat_set&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>ofrsToRm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TIn const &amp;&#160;</td>
<td class="paramname"><em>in</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="BookStep_8cpp_source.html#l00841">841</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a75e0f046afee8b75774801a2e6ffaae0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75e0f046afee8b75774801a2e6ffaae0">&#9670;&nbsp;</a></span>validFwd()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/utility/pair.html">std::pair</a>&lt; bool, <a class="el" href="structripple_1_1EitherAmount.html">EitherAmount</a> &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::validFwd </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;&#160;</td>
<td class="paramname"><em>sb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;&#160;</td>
<td class="paramname"><em>afView</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1EitherAmount.html">EitherAmount</a> const &amp;&#160;</td>
<td class="paramname"><em>in</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">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l01011">1011</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a68b0358a5053e3f81802c1bfaaaef647"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68b0358a5053e3f81802c1bfaaaef647">&#9670;&nbsp;</a></span>check()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#adfb760bc3e4ccb79d5d4f6ecff2f1817">TER</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::check </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1StrandContext.html">StrandContext</a> const &amp;&#160;</td>
<td class="paramname"><em>ctx</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l01049">1049</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ace12c7abd57b6509bed56198d087ac36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace12c7abd57b6509bed56198d087ac36">&#9670;&nbsp;</a></span>inactive()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::inactive </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00161">161</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ab16dcf7219babffcc905cc5d331aa118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab16dcf7219babffcc905cc5d331aa118">&#9670;&nbsp;</a></span>logStringImpl()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/string/basic_string.html">std::string</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::logStringImpl </td>
<td>(</td>
<td class="paramtype">char const *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00168">168</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a9960216d74d520047bacde5598dac46a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9960216d74d520047bacde5598dac46a">&#9670;&nbsp;</a></span>equal()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::equal </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Step.html">Step</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00467">467</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a7342a15a2176a19d7bfa38396915381c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7342a15a2176a19d7bfa38396915381c">&#9670;&nbsp;</a></span>forEachOffer()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<div class="memtemplate">
template&lt;class Callback &gt; </div>
<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/utility/pair.html">std::pair</a>&lt; boost::container::flat_set&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::forEachOffer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;&#160;</td>
<td class="paramname"><em>sb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1ApplyView.html">ApplyView</a> &amp;&#160;</td>
<td class="paramname"><em>afView</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a>&#160;</td>
<td class="paramname"><em>prevStepDebtDir</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Callback &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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="BookStep_8cpp_source.html#l00550">550</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a2d1f925ee2b12c32026c219ab66f533e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d1f925ee2b12c32026c219ab66f533e">&#9670;&nbsp;</a></span>consumeOffer()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::consumeOffer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a> &amp;&#160;</td>
<td class="paramname"><em>sb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; &amp;&#160;</td>
<td class="paramname"><em>offer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TAmounts&lt; TIn, TOut &gt; const &amp;&#160;</td>
<td class="paramname"><em>ofrAmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TAmounts&lt; TIn, TOut &gt; const &amp;&#160;</td>
<td class="paramname"><em>stepAmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TOut const &amp;&#160;</td>
<td class="paramname"><em>ownerGives</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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="BookStep_8cpp_source.html#l00672">672</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a1b410d353a7b9ef4829b8bd951aa4cd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b410d353a7b9ef4829b8bd951aa4cd3">&#9670;&nbsp;</a></span>operator==</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1BookStep.html">BookStep</a>&lt; TIn, TOut, TDerived &gt; const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1BookStep.html">BookStep</a>&lt; TIn, TOut, TDerived &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</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">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00181">181</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aa870ebc3315d3fc49d4b52c5b58fd400"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa870ebc3315d3fc49d4b52c5b58fd400">&#9670;&nbsp;</a></span>operator!=</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1BookStep.html">BookStep</a>&lt; TIn, TOut, TDerived &gt; const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1BookStep.html">BookStep</a>&lt; TIn, TOut, TDerived &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</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">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00187">187</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2bf64f6adbca271822b63d46f3c1493a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bf64f6adbca271822b63d46f3c1493a">&#9670;&nbsp;</a></span>maxOffersToConsume_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const uint32_t <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::maxOffersToConsume_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00045">45</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ae1c9905d2af71cf8b6695ad869685c36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1c9905d2af71cf8b6695ad869685c36">&#9670;&nbsp;</a></span>book_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1Book.html">Book</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::book_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00046">46</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="afcfc11f791a68e736bda624503a8496d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcfc11f791a68e736bda624503a8496d">&#9670;&nbsp;</a></span>strandSrc_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::strandSrc_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00047">47</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aca9d4f2a380bfab569355b12fbbab6ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca9d4f2a380bfab569355b12fbbab6ee">&#9670;&nbsp;</a></span>strandDst_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::strandDst_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00048">48</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aa509ba8767d485dba40e339b745c5558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa509ba8767d485dba40e339b745c5558">&#9670;&nbsp;</a></span>prevStep_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1Step.html">Step</a> const* const <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::prevStep_ = nullptr</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00050">50</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ac6de326d2b18de2d293079abc85d53f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6de326d2b18de2d293079abc85d53f5">&#9670;&nbsp;</a></span>ownerPaysTransferFee_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const bool <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::ownerPaysTransferFee_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00051">51</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="ae94d993f7db69ca6aaa4517b02292ec0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae94d993f7db69ca6aaa4517b02292ec0">&#9670;&nbsp;</a></span>inactive_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::inactive_ = false</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00053">53</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a299b70f6c07de70b1bea38dda9200882"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a299b70f6c07de70b1bea38dda9200882">&#9670;&nbsp;</a></span>offersUsed_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/types/integer.html">std::uint32_t</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::offersUsed_ = 0</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of offers consumed or partially consumed the last time the step ran, including expired and unfunded offers. </p>
<p>N.B. This this not the total number offers consumed by this step for the entire payment, it is only the number the last time it ran. Offers may be partially consumed multiple times during a payment. </p>
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00061">61</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a185d95a05e0e860f20ab1320288f163d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a185d95a05e0e860f20ab1320288f163d">&#9670;&nbsp;</a></span>j_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::j_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00062">62</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="afc3ab79671a0301e2679b9929ae80640"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc3ab79671a0301e2679b9929ae80640">&#9670;&nbsp;</a></span>cache_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut , class TDerived &gt; </div>
<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/utility/optional.html">std::optional</a>&lt;<a class="el" href="structripple_1_1BookStep_1_1Cache.html">Cache</a>&gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, TDerived &gt;::cache_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00074">74</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>