mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
320 lines
61 KiB
HTML
320 lines
61 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: ApplyViewBase.cpp Source File</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&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&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="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_df67e75ba07853ef5c3c9d8f74c2f968.html">ledger</a></li><li class="navelem"><a class="el" href="dir_149e605da568dfe4e38f251dde8fdf1b.html">impl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">ApplyViewBase.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <ripple/basics/contract.h></span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <ripple/ledger/detail/ApplyViewBase.h></span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a5ac33311edadf2ca270a390aca0aaac6"> 26</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a18d0784d266ce17d5d25df3c13ce31aa">ApplyViewBase::ApplyViewBase</a>(<a class="code" href="classripple_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>* base, <a class="code" href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ApplyFlags</a> flags)</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  : flags_(flags), base_(base)</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> }</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">//---</span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a4af2aa917f94d3f031d8e53c3211f9e1"> 34</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a4af2aa917f94d3f031d8e53c3211f9e1">ApplyViewBase::open</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#a8dc63ee1e4ae7b2f96823e146c53d03e">open</a>();</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <a class="code" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a6ce0efb30729b08c4794b00a51e59aa5"> 40</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a6ce0efb30729b08c4794b00a51e59aa5">ApplyViewBase::info</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#a9263b10d706a447166b229ad8e3b574c">info</a>();</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <a class="code" href="structripple_1_1Fees.html">Fees</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a08bb2668a3260801e8f7d85b4242eb6c"> 46</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a08bb2668a3260801e8f7d85b4242eb6c">ApplyViewBase::fees</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#a9bbdb3fb4754482a8d6c6e6d25c2d1eb">fees</a>();</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> }</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <a class="code" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#af16244cf2efd903b4575a0b85c94d159"> 52</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#af16244cf2efd903b4575a0b85c94d159">ApplyViewBase::rules</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#aaf2fa03be723bb78d8bdf41614a75a30">rules</a>();</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#ab5b90b656223e19272dfe10e2dcd7f56"> 58</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#ab5b90b656223e19272dfe10e2dcd7f56">ApplyViewBase::exists</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>& k)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a555c3b482f8688a50002a5a0a5faec03">exists</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, k);</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#abb4191e08ea906c3074d4020ad6c8fde"> 64</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#abb4191e08ea906c3074d4020ad6c8fde">ApplyViewBase::succ</a>(<a class="code" href="classripple_1_1base__uint.html">key_type</a> <span class="keyword">const</span>& key, <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<key_type></a> <span class="keyword">const</span>& last)</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">const</span> -> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<key_type></a></div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> {</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">return</span> items_.succ(*base_, key, last);</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> }</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE const></a></div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a4609256b709351fe56d7039441502512"> 71</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a4609256b709351fe56d7039441502512">ApplyViewBase::read</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>& k)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a47de0fffb27709a3f9a5b12c3cf56009">read</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, k);</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a84a5864b69739165cd7d711a49a457c1"> 77</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a84a5864b69739165cd7d711a49a457c1">ApplyViewBase::slesBegin</a>() const -> <a class="code" href="namespacestd.html">std</a>::unique_ptr<<a class="code" href="structripple_1_1ReadView_1_1sles__type.html">sles_type</a>::iter_base></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> {</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#a70b1654cf02d2af0c3d34faf6be218ac">slesBegin</a>();</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> }</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a69dc208d6b5afb41607fde91bcabc018"> 83</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a69dc208d6b5afb41607fde91bcabc018">ApplyViewBase::slesEnd</a>() const -> <a class="code" href="namespacestd.html">std</a>::unique_ptr<<a class="code" href="structripple_1_1ReadView_1_1sles__type.html">sles_type</a>::iter_base></div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> {</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#a6940351c76fe355db59a9f8ff6bf807b">slesEnd</a>();</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#ae5b17c3a02eff5434906311a419734fb"> 89</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#ae5b17c3a02eff5434906311a419734fb">ApplyViewBase::slesUpperBound</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key) <span class="keyword">const</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  -> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<sles_type::iter_base></a></div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> {</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> base_->slesUpperBound(key);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a960d0fe7b6a20c4bbc4041830eb77a54"> 96</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a960d0fe7b6a20c4bbc4041830eb77a54">ApplyViewBase::txsBegin</a>() const -> <a class="code" href="namespacestd.html">std</a>::unique_ptr<<a class="code" href="structripple_1_1ReadView_1_1txs__type.html">txs_type</a>::iter_base></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> {</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#a8bf980722b37ba7a57614fa7c92c7d11">txsBegin</a>();</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a239ae0136ad4bf2b6d71e4bb195941b6"> 102</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a239ae0136ad4bf2b6d71e4bb195941b6">ApplyViewBase::txsEnd</a>() const -> <a class="code" href="namespacestd.html">std</a>::unique_ptr<<a class="code" href="structripple_1_1ReadView_1_1txs__type.html">txs_type</a>::iter_base></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> {</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#afbcb8704c56e927eca2cb81bcb42f912">txsEnd</a>();</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#ad7cd53575d79dd8f0bf93a0143957b9d"> 108</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#ad7cd53575d79dd8f0bf93a0143957b9d">ApplyViewBase::txExists</a>(<a class="code" href="classripple_1_1base__uint.html">key_type</a> <span class="keyword">const</span>& key)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>-><a class="code" href="classripple_1_1ReadView.html#af95bff423d062ed89665e9f628972ece">txExists</a>(key);</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> }</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">auto</span></div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a7da423c0d9af7e21383bffd56059aba3"> 114</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a7da423c0d9af7e21383bffd56059aba3">ApplyViewBase::txRead</a>(<a class="code" href="classripple_1_1base__uint.html">key_type</a> <span class="keyword">const</span>& key) <span class="keyword">const</span> -> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">tx_type</a></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> {</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">return</span> base_->txRead(key);</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> }</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment">//---</span></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <a class="code" href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ApplyFlags</a></div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#ad615aed650814602031c446241bbca10"> 122</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#ad615aed650814602031c446241bbca10">ApplyViewBase::flags</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#afa3c11f6434bb8d8f341c8930b68bd55">flags_</a>;</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> }</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a></div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#afe88196d7aec85f2af00d7cd0b1a28c3"> 128</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#afe88196d7aec85f2af00d7cd0b1a28c3">ApplyViewBase::peek</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>& k)</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> {</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a15ce23331a3e0efc8b82593615d06179">peek</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, k);</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> }</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a165c96d3bf59c98b608ffabcf2f70276"> 134</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a165c96d3bf59c98b608ffabcf2f70276">ApplyViewBase::erase</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a> <span class="keyword">const</span>& sle)</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> {</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a1821b259cdac453a94c4337375405924">erase</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, sle);</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a669490ced7bb2cab3a6cc704bc7286df"> 140</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a669490ced7bb2cab3a6cc704bc7286df">ApplyViewBase::insert</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a> <span class="keyword">const</span>& sle)</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a6e568a81691fe5eaa22c56fdff11303a">insert</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, sle);</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> }</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a4f12513f46ee2c194d6fb0e4d28e5543"> 146</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a4f12513f46ee2c194d6fb0e4d28e5543">ApplyViewBase::update</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a> <span class="keyword">const</span>& sle)</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> {</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a4f02173d95de431d5d65f9988e846410">update</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, sle);</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> }</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment">//---</span></div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a781e62e909b6509b1863b7305295cb39"> 154</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a781e62e909b6509b1863b7305295cb39">ApplyViewBase::rawErase</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a> <span class="keyword">const</span>& sle)</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> {</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a1f72320635a01285c1ded84ade7c9676">rawErase</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, sle);</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> }</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#aacd0fa84b0681ca34739a9fddde754a0"> 160</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#aacd0fa84b0681ca34739a9fddde754a0">ApplyViewBase::rawInsert</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a> <span class="keyword">const</span>& sle)</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> {</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#a6e568a81691fe5eaa22c56fdff11303a">insert</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, sle);</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> }</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a720bb7359587d757eff58b3f26ea4f94"> 166</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a720bb7359587d757eff58b3f26ea4f94">ApplyViewBase::rawReplace</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SLE></a> <span class="keyword">const</span>& sle)</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> {</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#ad8170222c018b2a9953559d5ca412ee6">replace</a>(*<a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">base_</a>, sle);</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> }</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1ApplyViewBase.html#a1c8f17e8aa8248be7d972ffecdd949a8"> 172</a></span> <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a1c8f17e8aa8248be7d972ffecdd949a8">ApplyViewBase::rawDestroyXRP</a>(<a class="code" href="classripple_1_1XRPAmount.html">XRPAmount</a> <span class="keyword">const</span>& fee)</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> {</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">items_</a>.<a class="code" href="classripple_1_1detail_1_1ApplyStateTable.html#aebf108c8a6b2e8e7a0f516df29d0e926">destroyXRP</a>(fee);</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> }</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> } <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> } <span class="comment">// namespace ripple</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_a9263b10d706a447166b229ad8e3b574c"><div class="ttname"><a href="classripple_1_1ReadView.html#a9263b10d706a447166b229ad8e3b574c">ripple::ReadView::info</a></div><div class="ttdeci">virtual LedgerInfo const & info() const =0</div><div class="ttdoc">Returns information about the ledger.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_abb4191e08ea906c3074d4020ad6c8fde"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#abb4191e08ea906c3074d4020ad6c8fde">ripple::detail::ApplyViewBase::succ</a></div><div class="ttdeci">std::optional< key_type > succ(key_type const &key, std::optional< key_type > const &last=std::nullopt) const override</div><div class="ttdoc">Return the key of the next state item.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00064">ApplyViewBase.cpp:64</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Keylet_html"><div class="ttname"><a href="structripple_1_1Keylet.html">ripple::Keylet</a></div><div class="ttdoc">A pair of SHAMap key and LedgerEntryType.</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00038">Keylet.h:38</a></div></div>
|
|
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a720bb7359587d757eff58b3f26ea4f94"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a720bb7359587d757eff58b3f26ea4f94">ripple::detail::ApplyViewBase::rawReplace</a></div><div class="ttdeci">void rawReplace(std::shared_ptr< SLE > const &sle) override</div><div class="ttdoc">Unconditionally replace a state item.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00166">ApplyViewBase.cpp:166</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a960d0fe7b6a20c4bbc4041830eb77a54"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a960d0fe7b6a20c4bbc4041830eb77a54">ripple::detail::ApplyViewBase::txsBegin</a></div><div class="ttdeci">std::unique_ptr< txs_type::iter_base > txsBegin() const override</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00096">ApplyViewBase.cpp:96</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1ReadView_1_1txs__type_html"><div class="ttname"><a href="structripple_1_1ReadView_1_1txs__type.html">ripple::ReadView::txs_type</a></div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00146">ReadView.h:146</a></div></div>
|
|
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a6e568a81691fe5eaa22c56fdff11303a"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a6e568a81691fe5eaa22c56fdff11303a">ripple::detail::ApplyStateTable::insert</a></div><div class="ttdeci">void insert(ReadView const &base, std::shared_ptr< SLE > const &sle)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00432">ApplyStateTable.cpp:432</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a7da423c0d9af7e21383bffd56059aba3"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a7da423c0d9af7e21383bffd56059aba3">ripple::detail::ApplyViewBase::txRead</a></div><div class="ttdeci">tx_type txRead(key_type const &key) const override</div><div class="ttdoc">Read a transaction from the tx map.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00114">ApplyViewBase.cpp:114</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_ab5b90b656223e19272dfe10e2dcd7f56"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#ab5b90b656223e19272dfe10e2dcd7f56">ripple::detail::ApplyViewBase::exists</a></div><div class="ttdeci">bool exists(Keylet const &k) const override</div><div class="ttdoc">Determine if a state item exists.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00058">ApplyViewBase.cpp:58</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_a9bbdb3fb4754482a8d6c6e6d25c2d1eb"><div class="ttname"><a href="classripple_1_1ReadView.html#a9bbdb3fb4754482a8d6c6e6d25c2d1eb">ripple::ReadView::fees</a></div><div class="ttdeci">virtual Fees const & fees() const =0</div><div class="ttdoc">Returns the fees for the base ledger.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ad2487abbcc1a5d6064b72144b461df6e"><div class="ttname"><a href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ripple::ApplyFlags</a></div><div class="ttdeci">ApplyFlags</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8h_source.html#l00029">ApplyView.h:29</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a4f12513f46ee2c194d6fb0e4d28e5543"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a4f12513f46ee2c194d6fb0e4d28e5543">ripple::detail::ApplyViewBase::update</a></div><div class="ttdeci">void update(std::shared_ptr< SLE > const &sle) override</div><div class="ttdoc">Indicate changes to a peeked SLE.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00146">ApplyViewBase.cpp:146</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_afbcb8704c56e927eca2cb81bcb42f912"><div class="ttname"><a href="classripple_1_1ReadView.html#afbcb8704c56e927eca2cb81bcb42f912">ripple::ReadView::txsEnd</a></div><div class="ttdeci">virtual std::unique_ptr< txs_type::iter_base > txsEnd() const =0</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a555c3b482f8688a50002a5a0a5faec03"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a555c3b482f8688a50002a5a0a5faec03">ripple::detail::ApplyStateTable::exists</a></div><div class="ttdeci">bool exists(ReadView const &base, Keylet const &k) const</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00268">ApplyStateTable.cpp:268</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_af95bff423d062ed89665e9f628972ece"><div class="ttname"><a href="classripple_1_1ReadView.html#af95bff423d062ed89665e9f628972ece">ripple::ReadView::txExists</a></div><div class="ttdeci">virtual bool txExists(key_type const &key) const =0</div><div class="ttdoc">Returns true if a tx exists in the tx map.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_a70b1654cf02d2af0c3d34faf6be218ac"><div class="ttname"><a href="classripple_1_1ReadView.html#a70b1654cf02d2af0c3d34faf6be218ac">ripple::ReadView::slesBegin</a></div><div class="ttdeci">virtual std::unique_ptr< sles_type::iter_base > slesBegin() const =0</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a08bb2668a3260801e8f7d85b4242eb6c"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a08bb2668a3260801e8f7d85b4242eb6c">ripple::detail::ApplyViewBase::fees</a></div><div class="ttdeci">Fees const & fees() const override</div><div class="ttdoc">Returns the fees for the base ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00046">ApplyViewBase.cpp:46</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a70888ae5727e45067b092a465e8b4552"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a70888ae5727e45067b092a465e8b4552">ripple::detail::ApplyViewBase::items_</a></div><div class="ttdeci">detail::ApplyStateTable items_</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8h_source.html#l00125">ApplyViewBase.h:125</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_aebf108c8a6b2e8e7a0f516df29d0e926"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#aebf108c8a6b2e8e7a0f516df29d0e926">ripple::detail::ApplyStateTable::destroyXRP</a></div><div class="ttdeci">void destroyXRP(XRPAmount const &fee)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00514">ApplyStateTable.cpp:514</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_ad8170222c018b2a9953559d5ca412ee6"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#ad8170222c018b2a9953559d5ca412ee6">ripple::detail::ApplyStateTable::replace</a></div><div class="ttdeci">void replace(ReadView const &base, std::shared_ptr< SLE > const &sle)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00462">ApplyStateTable.cpp:462</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a18d0784d266ce17d5d25df3c13ce31aa"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a18d0784d266ce17d5d25df3c13ce31aa">ripple::detail::ApplyViewBase::ApplyViewBase</a></div><div class="ttdeci">ApplyViewBase()=delete</div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_a8bf980722b37ba7a57614fa7c92c7d11"><div class="ttname"><a href="classripple_1_1ReadView.html#a8bf980722b37ba7a57614fa7c92c7d11">ripple::ReadView::txsBegin</a></div><div class="ttdeci">virtual std::unique_ptr< txs_type::iter_base > txsBegin() const =0</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a239ae0136ad4bf2b6d71e4bb195941b6"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a239ae0136ad4bf2b6d71e4bb195941b6">ripple::detail::ApplyViewBase::txsEnd</a></div><div class="ttdeci">std::unique_ptr< txs_type::iter_base > txsEnd() const override</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00102">ApplyViewBase.cpp:102</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a4af2aa917f94d3f031d8e53c3211f9e1"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a4af2aa917f94d3f031d8e53c3211f9e1">ripple::detail::ApplyViewBase::open</a></div><div class="ttdeci">bool open() const override</div><div class="ttdoc">Returns true if this reflects an open ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00034">ApplyViewBase.cpp:34</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Fees_html"><div class="ttname"><a href="structripple_1_1Fees.html">ripple::Fees</a></div><div class="ttdoc">Reflects the fee settings for a particular ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00049">ReadView.h:49</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a6ce0efb30729b08c4794b00a51e59aa5"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a6ce0efb30729b08c4794b00a51e59aa5">ripple::detail::ApplyViewBase::info</a></div><div class="ttdeci">LedgerInfo const & info() const override</div><div class="ttdoc">Returns information about the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00040">ApplyViewBase.cpp:40</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a69dc208d6b5afb41607fde91bcabc018"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a69dc208d6b5afb41607fde91bcabc018">ripple::detail::ApplyViewBase::slesEnd</a></div><div class="ttdeci">std::unique_ptr< sles_type::iter_base > slesEnd() const override</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00083">ApplyViewBase.cpp:83</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a2e79fdb76b7d90820337f91d88c0417a"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a2e79fdb76b7d90820337f91d88c0417a">ripple::detail::ApplyViewBase::base_</a></div><div class="ttdeci">ReadView const * base_</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8h_source.html#l00124">ApplyViewBase.h:124</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_a6940351c76fe355db59a9f8ff6bf807b"><div class="ttname"><a href="classripple_1_1ReadView.html#a6940351c76fe355db59a9f8ff6bf807b">ripple::ReadView::slesEnd</a></div><div class="ttdeci">virtual std::unique_ptr< sles_type::iter_base > slesEnd() const =0</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a1821b259cdac453a94c4337375405924"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a1821b259cdac453a94c4337375405924">ripple::detail::ApplyStateTable::erase</a></div><div class="ttdeci">void erase(ReadView const &base, std::shared_ptr< SLE > const &sle)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00381">ApplyStateTable.cpp:381</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a84a5864b69739165cd7d711a49a457c1"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a84a5864b69739165cd7d711a49a457c1">ripple::detail::ApplyViewBase::slesBegin</a></div><div class="ttdeci">std::unique_ptr< sles_type::iter_base > slesBegin() const override</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00077">ApplyViewBase.cpp:77</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a781e62e909b6509b1863b7305295cb39"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a781e62e909b6509b1863b7305295cb39">ripple::detail::ApplyViewBase::rawErase</a></div><div class="ttdeci">void rawErase(std::shared_ptr< SLE > const &sle) override</div><div class="ttdoc">Delete an existing state item.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00154">ApplyViewBase.cpp:154</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a47de0fffb27709a3f9a5b12c3cf56009"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a47de0fffb27709a3f9a5b12c3cf56009">ripple::detail::ApplyStateTable::read</a></div><div class="ttdeci">std::shared_ptr< SLE const > read(ReadView const &base, Keylet const &k) const</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00325">ApplyStateTable.cpp:325</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a1f72320635a01285c1ded84ade7c9676"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a1f72320635a01285c1ded84ade7c9676">ripple::detail::ApplyStateTable::rawErase</a></div><div class="ttdeci">void rawErase(ReadView const &base, std::shared_ptr< SLE > const &sle)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00405">ApplyStateTable.cpp:405</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a669490ced7bb2cab3a6cc704bc7286df"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a669490ced7bb2cab3a6cc704bc7286df">ripple::detail::ApplyViewBase::insert</a></div><div class="ttdeci">void insert(std::shared_ptr< SLE > const &sle) override</div><div class="ttdoc">Insert a new state SLE.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00140">ApplyViewBase.cpp:140</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a165c96d3bf59c98b608ffabcf2f70276"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a165c96d3bf59c98b608ffabcf2f70276">ripple::detail::ApplyViewBase::erase</a></div><div class="ttdeci">void erase(std::shared_ptr< SLE > const &sle) override</div><div class="ttdoc">Remove a peeked SLE.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00134">ApplyViewBase.cpp:134</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_ad615aed650814602031c446241bbca10"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#ad615aed650814602031c446241bbca10">ripple::detail::ApplyViewBase::flags</a></div><div class="ttdeci">ApplyFlags flags() const override</div><div class="ttdoc">Returns the tx apply flags.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00122">ApplyViewBase.cpp:122</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00125">ReadView.h:125</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1ReadView_1_1sles__type_html"><div class="ttname"><a href="structripple_1_1ReadView_1_1sles__type.html">ripple::ReadView::sles_type</a></div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00135">ReadView.h:135</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_aaf2fa03be723bb78d8bdf41614a75a30"><div class="ttname"><a href="classripple_1_1ReadView.html#aaf2fa03be723bb78d8bdf41614a75a30">ripple::ReadView::rules</a></div><div class="ttdeci">virtual Rules const & rules() const =0</div><div class="ttdoc">Returns the tx processing rules.</div></div>
|
|
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a4f02173d95de431d5d65f9988e846410"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a4f02173d95de431d5d65f9988e846410">ripple::detail::ApplyStateTable::update</a></div><div class="ttdeci">void update(ReadView const &base, std::shared_ptr< SLE > const &sle)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00491">ApplyStateTable.cpp:491</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Rules_html"><div class="ttname"><a href="classripple_1_1Rules.html">ripple::Rules</a></div><div class="ttdoc">Rules controlling protocol behavior.</div><div class="ttdef"><b>Definition:</b> <a href="Rules_8h_source.html#l00033">Rules.h:33</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_afa3c11f6434bb8d8f341c8930b68bd55"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#afa3c11f6434bb8d8f341c8930b68bd55">ripple::detail::ApplyViewBase::flags_</a></div><div class="ttdeci">ApplyFlags flags_</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8h_source.html#l00123">ApplyViewBase.h:123</a></div></div>
|
|
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a4609256b709351fe56d7039441502512"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a4609256b709351fe56d7039441502512">ripple::detail::ApplyViewBase::read</a></div><div class="ttdeci">std::shared_ptr< SLE const > read(Keylet const &k) const override</div><div class="ttdoc">Return the state item associated with a key.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00071">ApplyViewBase.cpp:71</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_afe88196d7aec85f2af00d7cd0b1a28c3"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#afe88196d7aec85f2af00d7cd0b1a28c3">ripple::detail::ApplyViewBase::peek</a></div><div class="ttdeci">std::shared_ptr< SLE > peek(Keylet const &k) override</div><div class="ttdoc">Prepare to modify the SLE associated with key.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00128">ApplyViewBase.cpp:128</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1LedgerInfo_html"><div class="ttname"><a href="structripple_1_1LedgerInfo.html">ripple::LedgerInfo</a></div><div class="ttdoc">Information about the notional ledger backing the view.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00075">ReadView.h:75</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_af16244cf2efd903b4575a0b85c94d159"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#af16244cf2efd903b4575a0b85c94d159">ripple::detail::ApplyViewBase::rules</a></div><div class="ttdeci">Rules const & rules() const override</div><div class="ttdoc">Returns the tx processing rules.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00052">ApplyViewBase.cpp:52</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_ad7cd53575d79dd8f0bf93a0143957b9d"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#ad7cd53575d79dd8f0bf93a0143957b9d">ripple::detail::ApplyViewBase::txExists</a></div><div class="ttdeci">bool txExists(key_type const &key) const override</div><div class="ttdoc">Returns true if a tx exists in the tx map.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00108">ApplyViewBase.cpp:108</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyStateTable_html_a15ce23331a3e0efc8b82593615d06179"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyStateTable.html#a15ce23331a3e0efc8b82593615d06179">ripple::detail::ApplyStateTable::peek</a></div><div class="ttdeci">std::shared_ptr< SLE > peek(ReadView const &base, Keylet const &k)</div><div class="ttdef"><b>Definition:</b> <a href="ApplyStateTable_8cpp_source.html#l00347">ApplyStateTable.cpp:347</a></div></div>
|
|
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1ReadView_html_a8dc63ee1e4ae7b2f96823e146c53d03e"><div class="ttname"><a href="classripple_1_1ReadView.html#a8dc63ee1e4ae7b2f96823e146c53d03e">ripple::ReadView::open</a></div><div class="ttdeci">virtual bool open() const =0</div><div class="ttdoc">Returns true if this reflects an open ledger.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_aacd0fa84b0681ca34739a9fddde754a0"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#aacd0fa84b0681ca34739a9fddde754a0">ripple::detail::ApplyViewBase::rawInsert</a></div><div class="ttdeci">void rawInsert(std::shared_ptr< SLE > const &sle) override</div><div class="ttdoc">Unconditionally insert a state item.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00160">ApplyViewBase.cpp:160</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_ae5b17c3a02eff5434906311a419734fb"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#ae5b17c3a02eff5434906311a419734fb">ripple::detail::ApplyViewBase::slesUpperBound</a></div><div class="ttdeci">std::unique_ptr< sles_type::iter_base > slesUpperBound(uint256 const &key) const override</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00089">ApplyViewBase.cpp:89</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1XRPAmount_html"><div class="ttname"><a href="classripple_1_1XRPAmount.html">ripple::XRPAmount</a></div><div class="ttdef"><b>Definition:</b> <a href="XRPAmount_8h_source.html#l00046">XRPAmount.h:46</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1ApplyViewBase_html_a1c8f17e8aa8248be7d972ffecdd949a8"><div class="ttname"><a href="classripple_1_1detail_1_1ApplyViewBase.html#a1c8f17e8aa8248be7d972ffecdd949a8">ripple::detail::ApplyViewBase::rawDestroyXRP</a></div><div class="ttdeci">void rawDestroyXRP(XRPAmount const &feeDrops) override</div><div class="ttdoc">Destroy XRP.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyViewBase_8cpp_source.html#l00172">ApplyViewBase.cpp:172</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|