Files
rippled/classripple_1_1BookOfferCrossingStep.html
2023-06-23 05:24:05 +00:00

1400 lines
80 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::BookOfferCrossingStep&lt; TIn, TOut &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_1BookOfferCrossingStep.html">BookOfferCrossingStep</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<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="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1BookOfferCrossingStep-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::BookOfferCrossingStep&lt; TIn, TOut &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ripple::BookOfferCrossingStep&lt; TIn, TOut &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1BookOfferCrossingStep__inherit__graph.png" border="0" usemap="#ripple_1_1BookOfferCrossingStep_3_01TIn_00_01TOut_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1BookOfferCrossingStep_3_01TIn_00_01TOut_01_4_inherit__map" id="ripple_1_1BookOfferCrossingStep_3_01TIn_00_01TOut_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="19,228,207,269"/>
<area shape="rect" href="classripple_1_1BookStep.html" title=" " alt="" coords="5,124,220,180"/>
<area shape="rect" title=" " alt="" coords="25,5,201,76"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::BookOfferCrossingStep&lt; TIn, TOut &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1BookOfferCrossingStep__coll__graph.png" border="0" usemap="#ripple_1_1BookOfferCrossingStep_3_01TIn_00_01TOut_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1BookOfferCrossingStep_3_01TIn_00_01TOut_01_4_coll__map" id="ripple_1_1BookOfferCrossingStep_3_01TIn_00_01TOut_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="1664,211,1852,252"/>
<area shape="rect" href="classripple_1_1BookStep.html" title=" " alt="" coords="1400,203,1615,259"/>
<area shape="rect" title=" " alt="" coords="1107,5,1283,76"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,205,108,231"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,285,389,327"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1117,152,1272,193"/>
<area shape="rect" href="classripple_1_1Step.html" title="A step in a payment path." alt="" coords="1147,218,1243,245"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1139,269,1250,295"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="831,211,977,238"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="487,331,693,372"/>
<area shape="rect" href="classripple_1_1Issue.html" title="A currency issued by an account." alt="" coords="853,329,955,355"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="491,265,689,307"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,210,349,237"/>
<area shape="rect" href="classripple_1_1Book.html" title="Specifies an order book." alt="" coords="1145,319,1245,346"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="823,263,985,304"/>
</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="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0e77f31ed38237773634e5dc858528ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#a0e77f31ed38237773634e5dc858528ef">BookOfferCrossingStep</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:a0e77f31ed38237773634e5dc858528ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ca9e83de3b815322427a661a0c8ad8d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#a8ca9e83de3b815322427a661a0c8ad8d">limitSelfCrossQuality</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;strandSrc, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;strandDst, <a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; const &amp;offer, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; Quality &gt; &amp;ofrQ, <a class="el" href="classripple_1_1FlowOfferStream.html">FlowOfferStream</a>&lt; TIn, TOut &gt; &amp;offers, bool const offerAttempted) const</td></tr>
<tr class="separator:a8ca9e83de3b815322427a661a0c8ad8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb1b67df199c0693fe59d40561f99e76"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#aeb1b67df199c0693fe59d40561f99e76">checkQualityThreshold</a> (<a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; const &amp;offer) const</td></tr>
<tr class="separator:aeb1b67df199c0693fe59d40561f99e76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42b35ba6f25f09390f197f21da10742d"><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_1BookOfferCrossingStep.html#a42b35ba6f25f09390f197f21da10742d">getOfrInRate</a> (<a class="el" href="classripple_1_1Step.html">Step</a> const *prevStep, <a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; const &amp;offer, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> trIn) const</td></tr>
<tr class="separator:a42b35ba6f25f09390f197f21da10742d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b48228284fea330ac1ee3d966bace8e"><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_1BookOfferCrossingStep.html#a8b48228284fea330ac1ee3d966bace8e">getOfrOutRate</a> (<a class="el" href="classripple_1_1Step.html">Step</a> const *prevStep, <a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; const &amp;offer, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;strandDst, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> trOut) const</td></tr>
<tr class="separator:a8b48228284fea330ac1ee3d966bace8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97539be753f0b82b0b7a158645816f11"><td class="memItemLeft" align="right" valign="top">Quality&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#a97539be753f0b82b0b7a158645816f11">adjustQualityWithFees</a> (<a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &amp;v, Quality const &amp;ofrQ, <a class="el" href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">DebtDirection</a> prevStepDir) const</td></tr>
<tr class="separator:a97539be753f0b82b0b7a158645816f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44f67791a0ab19c59c65fc086292b8ab"><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_1BookOfferCrossingStep.html#a44f67791a0ab19c59c65fc086292b8ab">logString</a> () const override</td></tr>
<tr class="separator:a44f67791a0ab19c59c65fc086292b8ab"><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></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></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></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; Cache &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="memItemLeft" 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="memItemRight" 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="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a0c5d11e67ca87b8c7ca8c57746d99cbd"><td class="memItemLeft" align="right" valign="top">static Quality&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#a0c5d11e67ca87b8c7ca8c57746d99cbd">getQuality</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; Quality &gt; const &amp;limitQuality)</td></tr>
<tr class="separator:a0c5d11e67ca87b8c7ca8c57746d99cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a9c5aa8d405f8115d99067dd75deb0a99"><td class="memItemLeft" align="right" valign="top">const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#a9c5aa8d405f8115d99067dd75deb0a99">defaultPath_</a></td></tr>
<tr class="separator:a9c5aa8d405f8115d99067dd75deb0a99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a600754881934fd1c6013062009600d2f"><td class="memItemLeft" align="right" valign="top">const Quality&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1BookOfferCrossingStep.html#a600754881934fd1c6013062009600d2f">qualityThreshold_</a></td></tr>
<tr class="separator:a600754881934fd1c6013062009600d2f"><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&gt;<br />
class ripple::BookOfferCrossingStep&lt; TIn, TOut &gt;</h3>
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00311">311</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="a0e77f31ed38237773634e5dc858528ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e77f31ed38237773634e5dc858528ef">&#9670;&nbsp;</a></span>BookOfferCrossingStep()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::<a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</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#l00331">331</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="a0c5d11e67ca87b8c7ca8c57746d99cbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c5d11e67ca87b8c7ca8c57746d99cbd">&#9670;&nbsp;</a></span>getQuality()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Quality <a class="el" href="classripple_1_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::getQuality </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; Quality &gt; const &amp;&#160;</td>
<td class="paramname"><em>limitQuality</em></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="BookStep_8cpp_source.html#l00321">321</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a8ca9e83de3b815322427a661a0c8ad8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ca9e83de3b815322427a661a0c8ad8d">&#9670;&nbsp;</a></span>limitSelfCrossQuality()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classripple_1_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::limitSelfCrossQuality </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>strandSrc</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>strandDst</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; const &amp;&#160;</td>
<td class="paramname"><em>offer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; Quality &gt; &amp;&#160;</td>
<td class="paramname"><em>ofrQ</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1FlowOfferStream.html">FlowOfferStream</a>&lt; TIn, TOut &gt; &amp;&#160;</td>
<td class="paramname"><em>offers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool const&#160;</td>
<td class="paramname"><em>offerAttempted</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="BookStep_8cpp_source.html#l00342">342</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="aeb1b67df199c0693fe59d40561f99e76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb1b67df199c0693fe59d40561f99e76">&#9670;&nbsp;</a></span>checkQualityThreshold()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classripple_1_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::checkQualityThreshold </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1TOffer.html">TOffer</a>&lt; TIn, TOut &gt; const &amp;&#160;</td>
<td class="paramname"><em>offer</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#l00399">399</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a42b35ba6f25f09390f197f21da10742d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42b35ba6f25f09390f197f21da10742d">&#9670;&nbsp;</a></span>getOfrInRate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<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_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::getOfrInRate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Step.html">Step</a> const *&#160;</td>
<td class="paramname"><em>prevStep</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; const &amp;&#160;</td>
<td class="paramname"><em>offer</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>trIn</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="BookStep_8cpp_source.html#l00407">407</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a8b48228284fea330ac1ee3d966bace8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b48228284fea330ac1ee3d966bace8e">&#9670;&nbsp;</a></span>getOfrOutRate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<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_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::getOfrOutRate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Step.html">Step</a> const *&#160;</td>
<td class="paramname"><em>prevStep</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; const &amp;&#160;</td>
<td class="paramname"><em>offer</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>strandDst</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>trOut</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="BookStep_8cpp_source.html#l00424">424</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a97539be753f0b82b0b7a158645816f11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97539be753f0b82b0b7a158645816f11">&#9670;&nbsp;</a></span>adjustQualityWithFees()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<table class="memname">
<tr>
<td class="memname">Quality <a class="el" href="classripple_1_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::adjustQualityWithFees </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">Quality const &amp;&#160;</td>
<td class="paramname"><em>ofrQ</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>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00438">438</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a44f67791a0ab19c59c65fc086292b8ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44f67791a0ab19c59c65fc086292b8ab">&#9670;&nbsp;</a></span>logString()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &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_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::logString </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#l00453">453</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</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">
<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> const&amp; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::book</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::cachedIn</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::cachedOut</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::bookStepBook</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::offersUsed</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">inherited</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">
<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; TIn, TOut &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00738">738</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">
<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; TIn, TOut &gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00860">860</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l01031">1031</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">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l01069">1069</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::inactive</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00558">558</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &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 class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="BookStep_8cpp_source.html#l00690">690</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="a9c5aa8d405f8115d99067dd75deb0a99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c5aa8d405f8115d99067dd75deb0a99">&#9670;&nbsp;</a></span>defaultPath_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &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_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::defaultPath_</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#l00459">459</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<a id="a600754881934fd1c6013062009600d2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a600754881934fd1c6013062009600d2f">&#9670;&nbsp;</a></span>qualityThreshold_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TIn , class TOut &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const Quality <a class="el" href="classripple_1_1BookOfferCrossingStep.html">ripple::BookOfferCrossingStep</a>&lt; TIn, TOut &gt;::qualityThreshold_</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#l00460">460</a> of file <a class="el" href="BookStep_8cpp_source.html">BookStep.cpp</a>.</p>
</div>
</div>
<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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::maxOffersToConsume_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::book_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::strandSrc_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::strandDst_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::prevStep_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::ownerPaysTransferFee_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::inactive_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::offersUsed_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classripple_1_1Number.html">Number</a> 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">
<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, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::j_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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">
<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;Cache&gt; <a class="el" href="classripple_1_1BookStep.html">ripple::BookStep</a>&lt; TIn, TOut, <a class="el" href="classripple_1_1BookOfferCrossingStep.html">BookOfferCrossingStep</a>&lt; TIn, TOut &gt; &gt;::cache_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</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>