Files
rippled/classripple_1_1CachedView.html
2025-03-25 18:44:58 +00:00

1342 lines
81 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::CachedView&lt; Base &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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1CachedView.html">CachedView</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1CachedView-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::CachedView&lt; Base &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">
<p>Wraps a <a class="el" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests.">DigestAwareReadView</a> to provide caching.
<a href="classripple_1_1CachedView.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="CachedView_8h_source.html">CachedView.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ripple::CachedView&lt; Base &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1CachedView__inherit__graph.png" border="0" usemap="#aripple_1_1CachedView_3_01Base_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="aripple_1_1CachedView_3_01Base_01_4_inherit__map" id="aripple_1_1CachedView_3_01Base_01_4_inherit__map">
<area shape="rect" title="Wraps a DigestAwareReadView to provide caching." alt="" coords="43,225,189,265"/>
<area shape="rect" href="classripple_1_1detail_1_1CachedViewImpl.html" title=" " alt="" coords="5,152,227,177"/>
<area shape="rect" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests." alt="" coords="9,79,223,104"/>
<area shape="rect" href="classripple_1_1ReadView.html" title="A view into a ledger." alt="" coords="50,5,182,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::CachedView&lt; Base &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1CachedView__coll__graph.png" border="0" usemap="#aripple_1_1CachedView_3_01Base_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1CachedView_3_01Base_01_4_coll__map" id="aripple_1_1CachedView_3_01Base_01_4_coll__map">
<area shape="rect" title="Wraps a DigestAwareReadView to provide caching." alt="" coords="2064,536,2211,576"/>
<area shape="rect" href="classripple_1_1detail_1_1CachedViewImpl.html" title=" " alt="" coords="1768,503,1989,529"/>
<area shape="rect" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests." alt="" coords="1447,534,1661,559"/>
<area shape="rect" href="classripple_1_1ReadView.html" title="A view into a ledger." alt="" coords="1145,703,1277,729"/>
<area shape="rect" href="classripple_1_1detail_1_1ReadViewFwdRange.html" title=" " alt="" coords="1461,696,1647,736"/>
<area shape="rect" href="classripple_1_1detail_1_1ReadViewFwdRange.html" title=" " alt="" coords="1465,823,1643,863"/>
<area shape="rect" href="structripple_1_1ReadView_1_1sles__type.html" title=" " alt="" coords="1778,661,1979,686"/>
<area shape="rect" href="structripple_1_1ReadView_1_1txs__type.html" title=" " alt="" coords="1781,787,1976,813"/>
<area shape="rect" href="classripple_1_1TaggedCache.html" title="Map/cache combination." alt="" coords="1441,230,1667,314"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1156,7,1267,33"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="811,7,957,33"/>
<area shape="rect" href="classbeast_1_1abstract__clock.html" title="Abstract interface to a clock." alt="" coords="1131,220,1291,260"/>
<area shape="rect" href="structripple_1_1TaggedCache_1_1Stats.html" title=" " alt="" coords="1099,285,1324,369"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="808,182,960,207"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="507,175,677,215"/>
<area shape="rect" href="classbeast_1_1insight_1_1HookImpl.html" title=" " alt="" coords="251,182,432,207"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="9,175,193,215"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="804,391,964,417"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="507,384,677,424"/>
<area shape="rect" href="classbeast_1_1insight_1_1GaugeImpl.html" title=" " alt="" coords="247,391,436,417"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="5,384,197,424"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="840,285,928,310"/>
<area shape="rect" href="classripple_1_1partitioned__unordered__map.html" title=" " alt="" coords="1124,111,1299,195"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="1141,492,1282,532"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="1132,393,1291,418"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="1168,442,1255,467"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="815,441,953,481"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="791,133,977,158"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="1160,62,1263,87"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="1508,583,1600,609"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1455,439,1653,508"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="800,505,968,545"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="541,513,643,538"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1795,553,1962,593"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a833577e6d0c5fb244c8e321664aea6f7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#a833577e6d0c5fb244c8e321664aea6f7">base_type</a> = Base</td></tr>
<tr class="separator:a833577e6d0c5fb244c8e321664aea6f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec6ee4c2f796ba0dfecf983dfb95178"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DigestAwareReadView.html#a1ec6ee4c2f796ba0dfecf983dfb95178">digest_type</a> = <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></td></tr>
<tr class="separator:a1ec6ee4c2f796ba0dfecf983dfb95178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1430dec61fd5ef9bf4a013aab558d71"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#ab1430dec61fd5ef9bf4a013aab558d71">tx_type</a> = <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/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1STTx.html">STTx</a> const &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1STObject.html">STObject</a> const &gt; &gt;</td></tr>
<tr class="separator:ab1430dec61fd5ef9bf4a013aab558d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a937328125a7d62270f32b4e1555c5cdd"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> = <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></td></tr>
<tr class="separator:a937328125a7d62270f32b4e1555c5cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c7268164504d76bee886f296b15e814"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#a0c7268164504d76bee886f296b15e814">mapped_type</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="namespaceripple.html#abbba3966df1925ac76f6d04c0aa1abe3">SLE</a> const &gt;</td></tr>
<tr class="separator:a0c7268164504d76bee886f296b15e814"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac1eb258ee12580b560363e2a16b396a6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#ac1eb258ee12580b560363e2a16b396a6">CachedView</a> ()=delete</td></tr>
<tr class="separator:ac1eb258ee12580b560363e2a16b396a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeea4fcf3540ad16048a3cfd2abed32a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#adeea4fcf3540ad16048a3cfd2abed32a">CachedView</a> (<a class="el" href="classripple_1_1CachedView.html">CachedView</a> const &amp;)=delete</td></tr>
<tr class="separator:adeea4fcf3540ad16048a3cfd2abed32a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdc5e88d2140ab34e41912210ca866ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1CachedView.html">CachedView</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#acdc5e88d2140ab34e41912210ca866ad">operator=</a> (<a class="el" href="classripple_1_1CachedView.html">CachedView</a> const &amp;)=delete</td></tr>
<tr class="separator:acdc5e88d2140ab34e41912210ca866ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5e60386dd024e1a760fa0da52745f37"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#ab5e60386dd024e1a760fa0da52745f37">CachedView</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; Base const &gt; const &amp;<a class="el" href="classripple_1_1CachedView.html#a0d1c90c527fa2c60b04f31bdea033b53">base</a>, <a class="el" href="namespaceripple.html#a8e6dfe9770d76106ed8b7db6b398dc4b">CachedSLEs</a> &amp;cache)</td></tr>
<tr class="separator:ab5e60386dd024e1a760fa0da52745f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d1c90c527fa2c60b04f31bdea033b53"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; Base const &gt; const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#a0d1c90c527fa2c60b04f31bdea033b53">base</a> () const</td></tr>
<tr class="memdesc:a0d1c90c527fa2c60b04f31bdea033b53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the base type. <a href="classripple_1_1CachedView.html#a0d1c90c527fa2c60b04f31bdea033b53">More...</a><br /></td></tr>
<tr class="separator:a0d1c90c527fa2c60b04f31bdea033b53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68bb9ce15af8016d45d70129fb269078"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a68bb9ce15af8016d45d70129fb269078">exists</a> (<a class="el" href="structripple_1_1Keylet.html">Keylet</a> const &amp;k) const override</td></tr>
<tr class="memdesc:a68bb9ce15af8016d45d70129fb269078"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if a state item exists. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a68bb9ce15af8016d45d70129fb269078">More...</a><br /></td></tr>
<tr class="separator:a68bb9ce15af8016d45d70129fb269078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a582680a14129f2d3e08018a3044a0b4b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="namespaceripple.html#abbba3966df1925ac76f6d04c0aa1abe3">SLE</a> const &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a582680a14129f2d3e08018a3044a0b4b">read</a> (<a class="el" href="structripple_1_1Keylet.html">Keylet</a> const &amp;k) const override</td></tr>
<tr class="memdesc:a582680a14129f2d3e08018a3044a0b4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the state item associated with a key. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a582680a14129f2d3e08018a3044a0b4b">More...</a><br /></td></tr>
<tr class="separator:a582680a14129f2d3e08018a3044a0b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb1c7f57990c69df15950a4d83babc4c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#afb1c7f57990c69df15950a4d83babc4c">open</a> () const override</td></tr>
<tr class="memdesc:afb1c7f57990c69df15950a4d83babc4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this reflects an open ledger. <a href="classripple_1_1detail_1_1CachedViewImpl.html#afb1c7f57990c69df15950a4d83babc4c">More...</a><br /></td></tr>
<tr class="separator:afb1c7f57990c69df15950a4d83babc4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a670216d23345c14bc5c1cb055b81aea2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a670216d23345c14bc5c1cb055b81aea2">info</a> () const override</td></tr>
<tr class="memdesc:a670216d23345c14bc5c1cb055b81aea2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns information about the ledger. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a670216d23345c14bc5c1cb055b81aea2">More...</a><br /></td></tr>
<tr class="separator:a670216d23345c14bc5c1cb055b81aea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeda7788af08abf38fbd3e156db58faf3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1Fees.html">Fees</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#aeda7788af08abf38fbd3e156db58faf3">fees</a> () const override</td></tr>
<tr class="memdesc:aeda7788af08abf38fbd3e156db58faf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the fees for the base ledger. <a href="classripple_1_1detail_1_1CachedViewImpl.html#aeda7788af08abf38fbd3e156db58faf3">More...</a><br /></td></tr>
<tr class="separator:aeda7788af08abf38fbd3e156db58faf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae09b56129812843907916ceea46a78d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Rules.html">Rules</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#ae09b56129812843907916ceea46a78d2">rules</a> () const override</td></tr>
<tr class="memdesc:ae09b56129812843907916ceea46a78d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tx processing rules. <a href="classripple_1_1detail_1_1CachedViewImpl.html#ae09b56129812843907916ceea46a78d2">More...</a><br /></td></tr>
<tr class="separator:ae09b56129812843907916ceea46a78d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a875950bc040b2704243d0a6ac9107ed4"><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_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a875950bc040b2704243d0a6ac9107ed4">succ</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> &gt; const &amp;last=std::nullopt) const override</td></tr>
<tr class="memdesc:a875950bc040b2704243d0a6ac9107ed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the key of the next state item. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a875950bc040b2704243d0a6ac9107ed4">More...</a><br /></td></tr>
<tr class="separator:a875950bc040b2704243d0a6ac9107ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92207fdd1c5a69fafd770f23e4355fb7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a92207fdd1c5a69fafd770f23e4355fb7">slesBegin</a> () const override</td></tr>
<tr class="separator:a92207fdd1c5a69fafd770f23e4355fb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6183b176e9072137a45972a748914ac"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#ac6183b176e9072137a45972a748914ac">slesEnd</a> () const override</td></tr>
<tr class="separator:ac6183b176e9072137a45972a748914ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a479c27f06b0f8493cb052023e54a6408"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a479c27f06b0f8493cb052023e54a6408">slesUpperBound</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;key) const override</td></tr>
<tr class="separator:a479c27f06b0f8493cb052023e54a6408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1903bd286e89d517dcec9fcbef5e7e32"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#a1903bd286e89d517dcec9fcbef5e7e32">slesUpperBound</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key) const =0</td></tr>
<tr class="separator:a1903bd286e89d517dcec9fcbef5e7e32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a753ef4b364431985f504669c8fc142cc"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; txs_type::iter_base &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a753ef4b364431985f504669c8fc142cc">txsBegin</a> () const override</td></tr>
<tr class="separator:a753ef4b364431985f504669c8fc142cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b008fe9cb5458491e009407f803bf9a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; txs_type::iter_base &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a1b008fe9cb5458491e009407f803bf9a">txsEnd</a> () const override</td></tr>
<tr class="separator:a1b008fe9cb5458491e009407f803bf9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5315d4aaf5a02b646e44cbc28cfca9ec"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a5315d4aaf5a02b646e44cbc28cfca9ec">txExists</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key) const override</td></tr>
<tr class="memdesc:a5315d4aaf5a02b646e44cbc28cfca9ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if a tx exists in the tx map. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a5315d4aaf5a02b646e44cbc28cfca9ec">More...</a><br /></td></tr>
<tr class="separator:a5315d4aaf5a02b646e44cbc28cfca9ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27043f0ad97acde4fc0e2fc6103d4f85"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1ReadView.html#ab1430dec61fd5ef9bf4a013aab558d71">tx_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a27043f0ad97acde4fc0e2fc6103d4f85">txRead</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key) const override</td></tr>
<tr class="memdesc:a27043f0ad97acde4fc0e2fc6103d4f85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a transaction from the tx map. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a27043f0ad97acde4fc0e2fc6103d4f85">More...</a><br /></td></tr>
<tr class="separator:a27043f0ad97acde4fc0e2fc6103d4f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a33558e8776cb28bb8d122d61c701fa"><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_1DigestAwareReadView.html#a1ec6ee4c2f796ba0dfecf983dfb95178">digest_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a3a33558e8776cb28bb8d122d61c701fa">digest</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key) const override</td></tr>
<tr class="memdesc:a3a33558e8776cb28bb8d122d61c701fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the digest associated with the key. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a3a33558e8776cb28bb8d122d61c701fa">More...</a><br /></td></tr>
<tr class="separator:a3a33558e8776cb28bb8d122d61c701fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1427aa6cbbda99c50b9ca0ebf6e0d0b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#a1427aa6cbbda99c50b9ca0ebf6e0d0b3">parentCloseTime</a> () const</td></tr>
<tr class="memdesc:a1427aa6cbbda99c50b9ca0ebf6e0d0b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the close time of the previous ledger. <a href="classripple_1_1ReadView.html#a1427aa6cbbda99c50b9ca0ebf6e0d0b3">More...</a><br /></td></tr>
<tr class="separator:a1427aa6cbbda99c50b9ca0ebf6e0d0b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac284afc905c482953c35c61b459fd85b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#ac284afc905c482953c35c61b459fd85b">seq</a> () const</td></tr>
<tr class="memdesc:ac284afc905c482953c35c61b459fd85b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sequence number of the base ledger. <a href="classripple_1_1ReadView.html#ac284afc905c482953c35c61b459fd85b">More...</a><br /></td></tr>
<tr class="separator:ac284afc905c482953c35c61b459fd85b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e1b7628e44e758a0359061c4b17c96"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classripple_1_1STAmount.html">STAmount</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#a81e1b7628e44e758a0359061c4b17c96">balanceHook</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;account, <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;issuer, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &amp;amount) const</td></tr>
<tr class="separator:a81e1b7628e44e758a0359061c4b17c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6989ce9f6240d5c600d3a4f526f89d29"><td class="memItemLeft" align="right" valign="top">virtual <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_1ReadView.html#a6989ce9f6240d5c600d3a4f526f89d29">ownerCountHook</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;account, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> count) const</td></tr>
<tr class="separator:a6989ce9f6240d5c600d3a4f526f89d29"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afd166083a5c60300819b4385d92e51cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1ReadView_1_1sles__type.html">sles_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#afd166083a5c60300819b4385d92e51cb">sles</a></td></tr>
<tr class="memdesc:afd166083a5c60300819b4385d92e51cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterable range of ledger state items. <a href="classripple_1_1ReadView.html#afd166083a5c60300819b4385d92e51cb">More...</a><br /></td></tr>
<tr class="separator:afd166083a5c60300819b4385d92e51cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c70dc4b36e757ed6472b0aef460d858"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1ReadView_1_1txs__type.html">txs_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1ReadView.html#a5c70dc4b36e757ed6472b0aef460d858">txs</a></td></tr>
<tr class="separator:a5c70dc4b36e757ed6472b0aef460d858"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a7d1df728f980eaa20c8bcab8cbde08a4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; Base const &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1CachedView.html#a7d1df728f980eaa20c8bcab8cbde08a4">sp_</a></td></tr>
<tr class="separator:a7d1df728f980eaa20c8bcab8cbde08a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a470f48833caf730009dcfc76428aacf2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1DigestAwareReadView.html">DigestAwareReadView</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a470f48833caf730009dcfc76428aacf2">base_</a></td></tr>
<tr class="separator:a470f48833caf730009dcfc76428aacf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a463c3b77580aa8e9b2a945a4b56ca748"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a8e6dfe9770d76106ed8b7db6b398dc4b">CachedSLEs</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a463c3b77580aa8e9b2a945a4b56ca748">cache_</a></td></tr>
<tr class="separator:a463c3b77580aa8e9b2a945a4b56ca748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af882e84e266d9b4bc2194de80b638898"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#af882e84e266d9b4bc2194de80b638898">mutex_</a></td></tr>
<tr class="separator:af882e84e266d9b4bc2194de80b638898"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f2a80272a6891bb4ac27a26ac3e91d2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a>&lt; <a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a>, <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1hardened__hash.html">hardened_hash</a>&lt;&gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a7f2a80272a6891bb4ac27a26ac3e91d2">map_</a></td></tr>
<tr class="separator:a7f2a80272a6891bb4ac27a26ac3e91d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class Base&gt;<br />
class ripple::CachedView&lt; Base &gt;</div><p >Wraps a <a class="el" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests.">DigestAwareReadView</a> to provide caching. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Base</td><td>A subclass of <a class="el" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests.">DigestAwareReadView</a> </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00156">156</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a833577e6d0c5fb244c8e321664aea6f7" name="a833577e6d0c5fb244c8e321664aea6f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833577e6d0c5fb244c8e321664aea6f7">&#9670;&#160;</a></span>base_type</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::base_type = Base</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00164">164</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a1ec6ee4c2f796ba0dfecf983dfb95178" name="a1ec6ee4c2f796ba0dfecf983dfb95178"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ec6ee4c2f796ba0dfecf983dfb95178">&#9670;&#160;</a></span>digest_type</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1DigestAwareReadView.html#a1ec6ee4c2f796ba0dfecf983dfb95178">ripple::DigestAwareReadView::digest_type</a> = <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></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="ReadView_8h_source.html#l00258">258</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="ab1430dec61fd5ef9bf4a013aab558d71" name="ab1430dec61fd5ef9bf4a013aab558d71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1430dec61fd5ef9bf4a013aab558d71">&#9670;&#160;</a></span>tx_type</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1ReadView.html#ab1430dec61fd5ef9bf4a013aab558d71">ripple::ReadView::tx_type</a> = <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/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="classripple_1_1STTx.html">STTx</a> const&gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="classripple_1_1STObject.html">STObject</a> const&gt; &gt;</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="ReadView_8h_source.html#l00054">54</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a937328125a7d62270f32b4e1555c5cdd" name="a937328125a7d62270f32b4e1555c5cdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a937328125a7d62270f32b4e1555c5cdd">&#9670;&#160;</a></span>key_type</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">ripple::ReadView::key_type</a> = <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></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="ReadView_8h_source.html#l00057">57</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a0c7268164504d76bee886f296b15e814" name="a0c7268164504d76bee886f296b15e814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c7268164504d76bee886f296b15e814">&#9670;&#160;</a></span>mapped_type</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1ReadView.html#a0c7268164504d76bee886f296b15e814">ripple::ReadView::mapped_type</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="namespaceripple.html#abbba3966df1925ac76f6d04c0aa1abe3">SLE</a> const&gt;</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="ReadView_8h_source.html#l00059">59</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac1eb258ee12580b560363e2a16b396a6" name="ac1eb258ee12580b560363e2a16b396a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1eb258ee12580b560363e2a16b396a6">&#9670;&#160;</a></span>CachedView() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::CachedView </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="adeea4fcf3540ad16048a3cfd2abed32a" name="adeea4fcf3540ad16048a3cfd2abed32a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeea4fcf3540ad16048a3cfd2abed32a">&#9670;&#160;</a></span>CachedView() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::CachedView </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1CachedView.html">CachedView</a>&lt; Base &gt; const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab5e60386dd024e1a760fa0da52745f37" name="ab5e60386dd024e1a760fa0da52745f37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5e60386dd024e1a760fa0da52745f37">&#9670;&#160;</a></span>CachedView() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::CachedView </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; Base const &gt; const &amp;&#160;</td>
<td class="paramname"><em>base</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a8e6dfe9770d76106ed8b7db6b398dc4b">CachedSLEs</a> &amp;&#160;</td>
<td class="paramname"><em>cache</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="CachedView_8h_source.html#l00171">171</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acdc5e88d2140ab34e41912210ca866ad" name="acdc5e88d2140ab34e41912210ca866ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdc5e88d2140ab34e41912210ca866ad">&#9670;&#160;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1CachedView.html">CachedView</a> &amp; <a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1CachedView.html">CachedView</a>&lt; Base &gt; const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0d1c90c527fa2c60b04f31bdea033b53" name="a0d1c90c527fa2c60b04f31bdea033b53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d1c90c527fa2c60b04f31bdea033b53">&#9670;&#160;</a></span>base()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; Base const &gt; const &amp; <a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::base </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the base type. </p>
<dl class="section note"><dt>Note</dt><dd>This breaks encapsulation and bypasses the cache. </dd></dl>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00181">181</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a68bb9ce15af8016d45d70129fb269078" name="a68bb9ce15af8016d45d70129fb269078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68bb9ce15af8016d45d70129fb269078">&#9670;&#160;</a></span>exists()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::detail::CachedViewImpl::exists </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1Keylet.html">Keylet</a> const &amp;&#160;</td>
<td class="paramname"><em>k</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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Determine if a state item exists. </p>
<dl class="section note"><dt>Note</dt><dd>This can be more efficient than calling read.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if a SLE is associated with the specified key. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#ac1d377c35a8332d069b09be8f4008dec">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8cpp_source.html#l00028">28</a> of file <a class="el" href="CachedView_8cpp_source.html">CachedView.cpp</a>.</p>
</div>
</div>
<a id="a582680a14129f2d3e08018a3044a0b4b" name="a582680a14129f2d3e08018a3044a0b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a582680a14129f2d3e08018a3044a0b4b">&#9670;&#160;</a></span>read()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="namespaceripple.html#abbba3966df1925ac76f6d04c0aa1abe3">SLE</a> const &gt; ripple::detail::CachedViewImpl::read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1Keylet.html">Keylet</a> const &amp;&#160;</td>
<td class="paramname"><em>k</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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the state item associated with a key. </p>
<p >Effects: If the key exists, gives the caller ownership of the non-modifiable corresponding SLE.</p>
<dl class="section note"><dt>Note</dt><dd>While the returned SLE is <code>const</code> from the perspective of the caller, it can be changed by other callers through raw operations.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>nullptr</code> if the key is not present or if the type does not match. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a0583a050ea7799ba331f6222a905f304">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8cpp_source.html#l00034">34</a> of file <a class="el" href="CachedView_8cpp_source.html">CachedView.cpp</a>.</p>
</div>
</div>
<a id="afb1c7f57990c69df15950a4d83babc4c" name="afb1c7f57990c69df15950a4d83babc4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb1c7f57990c69df15950a4d83babc4c">&#9670;&#160;</a></span>open()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::detail::CachedViewImpl::open </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this reflects an open ledger. </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a8dc63ee1e4ae7b2f96823e146c53d03e">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00065">65</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a670216d23345c14bc5c1cb055b81aea2" name="a670216d23345c14bc5c1cb055b81aea2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a670216d23345c14bc5c1cb055b81aea2">&#9670;&#160;</a></span>info()</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#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> const &amp; ripple::detail::CachedViewImpl::info </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns information about the ledger. </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#aca9d5e022d68fdd94bf3c8e36a294a96">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00071">71</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="aeda7788af08abf38fbd3e156db58faf3" name="aeda7788af08abf38fbd3e156db58faf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeda7788af08abf38fbd3e156db58faf3">&#9670;&#160;</a></span>fees()</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="structripple_1_1Fees.html">Fees</a> const &amp; ripple::detail::CachedViewImpl::fees </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the fees for the base ledger. </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a9944284a00f671a4a9d9e00f9b28b258">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00077">77</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="ae09b56129812843907916ceea46a78d2" name="ae09b56129812843907916ceea46a78d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae09b56129812843907916ceea46a78d2">&#9670;&#160;</a></span>rules()</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_1Rules.html">Rules</a> const &amp; ripple::detail::CachedViewImpl::rules </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the tx processing rules. </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#aceb3d74acaae18b238022337e5f250ce">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00083">83</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a875950bc040b2704243d0a6ac9107ed4" name="a875950bc040b2704243d0a6ac9107ed4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a875950bc040b2704243d0a6ac9107ed4">&#9670;&#160;</a></span>succ()</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_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> &gt; ripple::detail::CachedViewImpl::succ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;&#160;</td>
<td class="paramname"><em>key</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; <a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>last</em> = <code>std::nullopt</code>&#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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the key of the next state item. </p>
<p >This returns the key of the first state item whose key is greater than the specified key. If no such key is present, std::nullopt is returned.</p>
<p >If <code>last</code> is engaged, returns std::nullopt when the key returned would be outside the open interval (key, last). </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a15b3629cee45ef3f5af4cef06f42e54a">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00089">89</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a92207fdd1c5a69fafd770f23e4355fb7" name="a92207fdd1c5a69fafd770f23e4355fb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92207fdd1c5a69fafd770f23e4355fb7">&#9670;&#160;</a></span>slesBegin()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt; ripple::detail::CachedViewImpl::slesBegin </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1ReadView.html#ae42d4f16315f6e357fbaf7157991470a">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00097">97</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="ac6183b176e9072137a45972a748914ac" name="ac6183b176e9072137a45972a748914ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6183b176e9072137a45972a748914ac">&#9670;&#160;</a></span>slesEnd()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt; ripple::detail::CachedViewImpl::slesEnd </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a4ca795f655eb8b6b9ade9c1634e0ef17">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00103">103</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a479c27f06b0f8493cb052023e54a6408" name="a479c27f06b0f8493cb052023e54a6408"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a479c27f06b0f8493cb052023e54a6408">&#9670;&#160;</a></span>slesUpperBound() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt; ripple::detail::CachedViewImpl::slesUpperBound </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>key</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">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00109">109</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a1903bd286e89d517dcec9fcbef5e7e32" name="a1903bd286e89d517dcec9fcbef5e7e32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1903bd286e89d517dcec9fcbef5e7e32">&#9670;&#160;</a></span>slesUpperBound() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; sles_type::iter_base &gt; ripple::ReadView::slesUpperBound </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a753ef4b364431985f504669c8fc142cc" name="a753ef4b364431985f504669c8fc142cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a753ef4b364431985f504669c8fc142cc">&#9670;&#160;</a></span>txsBegin()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; txs_type::iter_base &gt; ripple::detail::CachedViewImpl::txsBegin </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a1d146422823dc32b9e846be1ddc8f318">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00115">115</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a1b008fe9cb5458491e009407f803bf9a" name="a1b008fe9cb5458491e009407f803bf9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b008fe9cb5458491e009407f803bf9a">&#9670;&#160;</a></span>txsEnd()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; txs_type::iter_base &gt; ripple::detail::CachedViewImpl::txsEnd </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1ReadView.html#adc67c7456b33e839513ef233845846d9">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00121">121</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a5315d4aaf5a02b646e44cbc28cfca9ec" name="a5315d4aaf5a02b646e44cbc28cfca9ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5315d4aaf5a02b646e44cbc28cfca9ec">&#9670;&#160;</a></span>txExists()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::detail::CachedViewImpl::txExists </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;&#160;</td>
<td class="paramname"><em>key</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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if a tx exists in the tx map. </p>
<p >A tx exists in the map if it is part of the base ledger, or if it is a newly inserted tx. </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#af95bff423d062ed89665e9f628972ece">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00127">127</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a27043f0ad97acde4fc0e2fc6103d4f85" name="a27043f0ad97acde4fc0e2fc6103d4f85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27043f0ad97acde4fc0e2fc6103d4f85">&#9670;&#160;</a></span>txRead()</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_1ReadView.html#ab1430dec61fd5ef9bf4a013aab558d71">tx_type</a> ripple::detail::CachedViewImpl::txRead </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;&#160;</td>
<td class="paramname"><em>key</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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Read a transaction from the tx map. </p>
<p >If the view represents an open ledger, the metadata object will be empty.</p>
<dl class="section return"><dt>Returns</dt><dd>A pair of nullptr if the key is not found in the tx map. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#af88b035a71531a9b27ee2fa25d0444e9">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00133">133</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a3a33558e8776cb28bb8d122d61c701fa" name="a3a33558e8776cb28bb8d122d61c701fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a33558e8776cb28bb8d122d61c701fa">&#9670;&#160;</a></span>digest()</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_1DigestAwareReadView.html#a1ec6ee4c2f796ba0dfecf983dfb95178">digest_type</a> &gt; ripple::detail::CachedViewImpl::digest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;&#160;</td>
<td class="paramname"><em>key</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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the digest associated with the key. </p>
<dl class="section return"><dt>Returns</dt><dd>std::nullopt if the item does not exist. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1DigestAwareReadView.html#a5ad294c301202590c41d55ec7b506edc">ripple::DigestAwareReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00143">143</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a1427aa6cbbda99c50b9ca0ebf6e0d0b3" name="a1427aa6cbbda99c50b9ca0ebf6e0d0b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1427aa6cbbda99c50b9ca0ebf6e0d0b3">&#9670;&#160;</a></span>parentCloseTime()</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_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> ripple::ReadView::parentCloseTime </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">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the close time of the previous ledger. </p>
<p class="definition">Definition at line <a class="el" href="ReadView_8h_source.html#l00112">112</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="ac284afc905c482953c35c61b459fd85b" name="ac284afc905c482953c35c61b459fd85b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac284afc905c482953c35c61b459fd85b">&#9670;&#160;</a></span>seq()</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#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ripple::ReadView::seq </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">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the sequence number of the base ledger. </p>
<p class="definition">Definition at line <a class="el" href="ReadView_8h_source.html#l00119">119</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a81e1b7628e44e758a0359061c4b17c96" name="a81e1b7628e44e758a0359061c4b17c96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e1b7628e44e758a0359061c4b17c96">&#9670;&#160;</a></span>balanceHook()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classripple_1_1STAmount.html">STAmount</a> ripple::ReadView::balanceHook </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>account</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>issuer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &amp;&#160;</td>
<td class="paramname"><em>amount</em>&#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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented in <a class="el" href="classripple_1_1PaymentSandbox.html#a96457b37722d895c585bcd260dd08a0f">ripple::PaymentSandbox</a>.</p>
<p class="definition">Definition at line <a class="el" href="ReadView_8h_source.html#l00179">179</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a6989ce9f6240d5c600d3a4f526f89d29" name="a6989ce9f6240d5c600d3a4f526f89d29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6989ce9f6240d5c600d3a4f526f89d29">&#9670;&#160;</a></span>ownerCountHook()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ripple::ReadView::ownerCountHook </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>account</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>count</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">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented in <a class="el" href="classripple_1_1PaymentSandbox.html#a0e77b6bdc540075e1c8e5a6f447c4b13">ripple::PaymentSandbox</a>.</p>
<p class="definition">Definition at line <a class="el" href="ReadView_8h_source.html#l00193">193</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a7d1df728f980eaa20c8bcab8cbde08a4" name="a7d1df728f980eaa20c8bcab8cbde08a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d1df728f980eaa20c8bcab8cbde08a4">&#9670;&#160;</a></span>sp_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Base &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/memory/shared_ptr.html">std::shared_ptr</a>&lt;Base const&gt; <a class="el" href="classripple_1_1CachedView.html">ripple::CachedView</a>&lt; Base &gt;::sp_</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="CachedView_8h_source.html#l00161">161</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a470f48833caf730009dcfc76428aacf2" name="a470f48833caf730009dcfc76428aacf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a470f48833caf730009dcfc76428aacf2">&#9670;&#160;</a></span>base_</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_1DigestAwareReadView.html">DigestAwareReadView</a> const&amp; ripple::detail::CachedViewImpl::base_</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="CachedView_8h_source.html#l00038">38</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a463c3b77580aa8e9b2a945a4b56ca748" name="a463c3b77580aa8e9b2a945a4b56ca748"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a463c3b77580aa8e9b2a945a4b56ca748">&#9670;&#160;</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="el" href="namespaceripple.html#a8e6dfe9770d76106ed8b7db6b398dc4b">CachedSLEs</a>&amp; ripple::detail::CachedViewImpl::cache_</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="CachedView_8h_source.html#l00039">39</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="af882e84e266d9b4bc2194de80b638898" name="af882e84e266d9b4bc2194de80b638898"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af882e84e266d9b4bc2194de80b638898">&#9670;&#160;</a></span>mutex_</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/thread/mutex.html">std::mutex</a> ripple::detail::CachedViewImpl::mutex_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</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="CachedView_8h_source.html#l00040">40</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a7f2a80272a6891bb4ac27a26ac3e91d2" name="a7f2a80272a6891bb4ac27a26ac3e91d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f2a80272a6891bb4ac27a26ac3e91d2">&#9670;&#160;</a></span>map_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a>&lt;<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a>, <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1hardened__hash.html">hardened_hash</a>&lt;&gt; &gt; ripple::detail::CachedViewImpl::map_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</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="CachedView_8h_source.html#l00041">41</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="afd166083a5c60300819b4385d92e51cb" name="afd166083a5c60300819b4385d92e51cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd166083a5c60300819b4385d92e51cb">&#9670;&#160;</a></span>sles</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="structripple_1_1ReadView_1_1sles__type.html">sles_type</a> ripple::ReadView::sles</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>Iterable range of ledger state items. </p>
<dl class="section note"><dt>Note</dt><dd>Visiting each state entry in the ledger can become quite expensive as the ledger grows. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ReadView_8h_source.html#l00246">246</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a5c70dc4b36e757ed6472b0aef460d858" name="a5c70dc4b36e757ed6472b0aef460d858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c70dc4b36e757ed6472b0aef460d858">&#9670;&#160;</a></span>txs</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="structripple_1_1ReadView_1_1txs__type.html">txs_type</a> ripple::ReadView::txs</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="ReadView_8h_source.html#l00249">249</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>