Files
rippled/classripple_1_1CachedView.html
2020-04-15 21:15:02 +00:00

1326 lines
79 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_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</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>
<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="#ripple_1_1CachedView_3_01Base_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1CachedView_3_01Base_01_4_inherit__map" id="ripple_1_1CachedView_3_01Base_01_4_inherit__map">
<area shape="rect" title="Wraps a DigestAwareReadView to provide caching." alt="" coords="43,229,189,271"/>
<area shape="rect" href="classripple_1_1detail_1_1CachedViewImpl.html" title=" " alt="" coords="5,155,227,181"/>
<area shape="rect" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests." alt="" coords="9,80,223,107"/>
<area shape="rect" href="classripple_1_1ReadView.html" title="A view into a ledger." alt="" coords="51,5,181,32"/>
</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="#ripple_1_1CachedView_3_01Base_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1CachedView_3_01Base_01_4_coll__map" id="ripple_1_1CachedView_3_01Base_01_4_coll__map">
<area shape="rect" title="Wraps a DigestAwareReadView to provide caching." alt="" coords="3217,538,3364,579"/>
<area shape="rect" href="classripple_1_1detail_1_1CachedViewImpl.html" title=" " alt="" coords="2921,504,3143,531"/>
<area shape="rect" href="classripple_1_1DigestAwareReadView.html" title="ReadView that associates keys with digests." alt="" coords="2611,584,2824,611"/>
<area shape="rect" href="classripple_1_1ReadView.html" title="A view into a ledger." alt="" coords="2325,712,2455,739"/>
<area shape="rect" href="classripple_1_1detail_1_1ReadViewFwdRange.html" title=" " alt="" coords="2629,697,2805,753"/>
<area shape="rect" href="classripple_1_1detail_1_1ReadViewFwdRange.html" title=" " alt="" coords="2629,778,2805,819"/>
<area shape="rect" href="structripple_1_1ReadView_1_1sles__type.html" title=" " alt="" coords="2932,664,3132,691"/>
<area shape="rect" href="structripple_1_1ReadView_1_1txs__type.html" title=" " alt="" coords="2935,821,3129,848"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="2344,413,2436,440"/>
<area shape="rect" href="classripple_1_1CachedSLEs.html" title="Caches SLEs by their digest." alt="" coords="2645,335,2790,361"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="2617,475,2818,560"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2301,602,2479,643"/>
<area shape="rect" href="classripple_1_1STLedgerEntry.html" title=" " alt="" coords="1889,665,2050,692"/>
<area shape="rect" href="classripple_1_1STObject.html" title=" " alt="" coords="1528,725,1653,752"/>
<area shape="rect" href="classripple_1_1STBase.html" title="A type which can be exported to a well known binary format." alt="" coords="626,733,741,760"/>
<area shape="rect" href="classripple_1_1detail_1_1STVar.html" title=" " alt="" coords="876,733,1025,760"/>
<area shape="rect" href="classripple_1_1SField.html" title="Identifies fields." alt="" coords="292,779,397,805"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="605,785,761,826"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="28,753,115,780"/>
<area shape="rect" href="classJson_1_1StaticString.html" title="Lightweight wrapper to tag static string." alt="" coords="5,804,137,831"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1185,835,1347,877"/>
<area shape="rect" href="classripple_1_1SOTemplate.html" title="Defines the fields and their attributes within a STObject." alt="" coords="1193,667,1339,693"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="881,683,1020,709"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="879,617,1022,658"/>
<area shape="rect" href="classripple_1_1SOElement.html" title="An element in a SOTemplate." alt="" coords="614,624,753,651"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/functional/reference_wrapper.html" title=" " alt="" coords="257,617,432,658"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1195,718,1337,759"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/aligned_storage.html" title=" " alt="" coords="606,850,761,891"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="639,515,727,541"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="1520,566,1661,607"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1509,658,1672,699"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="1182,566,1350,607"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="899,565,1002,592"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container.html" title=" " alt="" coords="2283,287,2497,387"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container_1_1Buckets.html" title=" " alt="" coords="1874,92,2065,177"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1490,83,1691,168"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container_1_1config__t.html" title=" " alt="" coords="1874,204,2065,289"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container_1_1ValueHash.html" title=" " alt="" coords="1495,339,1686,424"/>
<area shape="rect" href="classbeast_1_1detail_1_1empty__base__optimization.html" title=" " alt="" coords="1160,361,1372,402"/>
<area shape="rect" title=" " alt="" coords="923,368,978,395"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container_1_1KeyValueEqual.html" title=" " alt="" coords="1489,448,1692,533"/>
<area shape="rect" href="classbeast_1_1detail_1_1empty__base__optimization.html" title=" " alt="" coords="1147,449,1385,490"/>
<area shape="rect" title=" " alt="" coords="909,456,992,483"/>
<area shape="rect" href="classbeast_1_1detail_1_1empty__base__optimization.html" title=" " alt="" coords="1481,192,1700,248"/>
<area shape="rect" title=" " alt="" coords="1199,207,1333,233"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/functional/reference_wrapper.html" title=" " alt="" coords="1495,273,1686,314"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/conditional.html" title=" " alt="" coords="1796,314,2143,531"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container_1_1chronological__t.html" title=" " alt="" coords="1866,556,2073,641"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2949,555,3115,597"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-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#a97b0522def3fedd095dafaed6b4aba3c">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 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:a446bf249300d9ec1c8c43b1356ba1785"><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#a446bf249300d9ec1c8c43b1356ba1785">operator=</a> (<a class="el" href="classripple_1_1CachedView.html">CachedView</a> const &amp;)=delete</td></tr>
<tr class="separator:a446bf249300d9ec1c8c43b1356ba1785"><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#a832345e9656d0c77823fbd990a85f24f">base</a>, <a class="el" href="classripple_1_1CachedSLEs.html">CachedSLEs</a> &amp;cache)</td></tr>
<tr class="separator:ab5e60386dd024e1a760fa0da52745f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a832345e9656d0c77823fbd990a85f24f"><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#a832345e9656d0c77823fbd990a85f24f">base</a> () const</td></tr>
<tr class="memdesc:a832345e9656d0c77823fbd990a85f24f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the base type. <a href="classripple_1_1CachedView.html#a832345e9656d0c77823fbd990a85f24f">More...</a><br /></td></tr>
<tr class="separator:a832345e9656d0c77823fbd990a85f24f"><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:af8db00c9a63969516a98cded17930845"><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#a97b0522def3fedd095dafaed6b4aba3c">SLE</a> const &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#af8db00c9a63969516a98cded17930845">read</a> (<a class="el" href="structripple_1_1Keylet.html">Keylet</a> const &amp;k) const override</td></tr>
<tr class="memdesc:af8db00c9a63969516a98cded17930845"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the state item associated with a key. <a href="classripple_1_1detail_1_1CachedViewImpl.html#af8db00c9a63969516a98cded17930845">More...</a><br /></td></tr>
<tr class="separator:af8db00c9a63969516a98cded17930845"><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:a7a7588db26208689d2224b068625dae2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a7a7588db26208689d2224b068625dae2">info</a> () const override</td></tr>
<tr class="memdesc:a7a7588db26208689d2224b068625dae2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns information about the ledger. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a7a7588db26208689d2224b068625dae2">More...</a><br /></td></tr>
<tr class="separator:a7a7588db26208689d2224b068625dae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad874e14e567ad31774ccf4756aac3bac"><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#ad874e14e567ad31774ccf4756aac3bac">fees</a> () const override</td></tr>
<tr class="memdesc:ad874e14e567ad31774ccf4756aac3bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the fees for the base ledger. <a href="classripple_1_1detail_1_1CachedViewImpl.html#ad874e14e567ad31774ccf4756aac3bac">More...</a><br /></td></tr>
<tr class="separator:ad874e14e567ad31774ccf4756aac3bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e3b1b79b6af545c3dfcee40dd0d5299"><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#a8e3b1b79b6af545c3dfcee40dd0d5299">rules</a> () const override</td></tr>
<tr class="memdesc:a8e3b1b79b6af545c3dfcee40dd0d5299"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tx processing rules. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a8e3b1b79b6af545c3dfcee40dd0d5299">More...</a><br /></td></tr>
<tr class="separator:a8e3b1b79b6af545c3dfcee40dd0d5299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7773c892f7298830387e6f49711060b9"><td class="memItemLeft" align="right" valign="top">boost::optional&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#a7773c892f7298830387e6f49711060b9">succ</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key, boost::optional&lt; <a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> &gt; const &amp;last=boost::none) const override</td></tr>
<tr class="memdesc:a7773c892f7298830387e6f49711060b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the key of the next state item. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a7773c892f7298830387e6f49711060b9">More...</a><br /></td></tr>
<tr class="separator:a7773c892f7298830387e6f49711060b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4724f686191546657263061e5b0ea951"><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; <a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">sles_type::iter_base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a4724f686191546657263061e5b0ea951">slesBegin</a> () const override</td></tr>
<tr class="separator:a4724f686191546657263061e5b0ea951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c5f58a30877fc28056f58063a01389"><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; <a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">sles_type::iter_base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a77c5f58a30877fc28056f58063a01389">slesEnd</a> () const override</td></tr>
<tr class="separator:a77c5f58a30877fc28056f58063a01389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae165ae0cb1f8c8f40043e7fd81e7ab70"><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; <a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">sles_type::iter_base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#ae165ae0cb1f8c8f40043e7fd81e7ab70">slesUpperBound</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;key) const override</td></tr>
<tr class="separator:ae165ae0cb1f8c8f40043e7fd81e7ab70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a245ca68b74f82d291bfb29fbf3d6a5"><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; <a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">txs_type::iter_base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a6a245ca68b74f82d291bfb29fbf3d6a5">txsBegin</a> () const override</td></tr>
<tr class="separator:a6a245ca68b74f82d291bfb29fbf3d6a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82ccc6fe5d28a3de1621deb839ef20d4"><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; <a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">txs_type::iter_base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1CachedViewImpl.html#a82ccc6fe5d28a3de1621deb839ef20d4">txsEnd</a> () const override</td></tr>
<tr class="separator:a82ccc6fe5d28a3de1621deb839ef20d4"><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:a819e64d9e4b739b67502f77c1d7100b3"><td class="memItemLeft" align="right" valign="top">boost::optional&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#a819e64d9e4b739b67502f77c1d7100b3">digest</a> (<a class="el" href="classripple_1_1ReadView.html#a937328125a7d62270f32b4e1555c5cdd">key_type</a> const &amp;key) const override</td></tr>
<tr class="memdesc:a819e64d9e4b739b67502f77c1d7100b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the digest associated with the key. <a href="classripple_1_1detail_1_1CachedViewImpl.html#a819e64d9e4b739b67502f77c1d7100b3">More...</a><br /></td></tr>
<tr class="separator:a819e64d9e4b739b67502f77c1d7100b3"><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#a16ab89d505feb8a59bf35abddfe1fb2c">AccountID</a> const &amp;account, <a class="el" href="namespaceripple.html#a16ab89d505feb8a59bf35abddfe1fb2c">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#a16ab89d505feb8a59bf35abddfe1fb2c">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 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 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="classripple_1_1CachedSLEs.html">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:abb9b4ee7c94d09ad4f649c397484f329"><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="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="namespaceripple.html#a97b0522def3fedd095dafaed6b4aba3c">SLE</a> const &gt;, <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#abb9b4ee7c94d09ad4f649c397484f329">map_</a></td></tr>
<tr class="separator:abb9b4ee7c94d09ad4f649c397484f329"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class Base&gt;<br />
class ripple::CachedView&lt; Base &gt;</h3>
<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#l00160">160</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833577e6d0c5fb244c8e321664aea6f7">&#9670;&nbsp;</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;::<a class="el" href="classripple_1_1CachedView.html#a833577e6d0c5fb244c8e321664aea6f7">base_type</a> = Base</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00170">170</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a1ec6ee4c2f796ba0dfecf983dfb95178"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ec6ee4c2f796ba0dfecf983dfb95178">&#9670;&nbsp;</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#l00411">411</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="ab1430dec61fd5ef9bf4a013aab558d71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1430dec61fd5ef9bf4a013aab558d71">&#9670;&nbsp;</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#l00191">191</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a937328125a7d62270f32b4e1555c5cdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a937328125a7d62270f32b4e1555c5cdd">&#9670;&nbsp;</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#l00193">193</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a0c7268164504d76bee886f296b15e814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c7268164504d76bee886f296b15e814">&#9670;&nbsp;</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#a97b0522def3fedd095dafaed6b4aba3c">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#l00196">196</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1eb258ee12580b560363e2a16b396a6">&#9670;&nbsp;</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;::<a class="el" href="classripple_1_1CachedView.html">CachedView</a> </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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeea4fcf3540ad16048a3cfd2abed32a">&#9670;&nbsp;</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;::<a class="el" href="classripple_1_1CachedView.html">CachedView</a> </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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5e60386dd024e1a760fa0da52745f37">&#9670;&nbsp;</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;::<a class="el" href="classripple_1_1CachedView.html">CachedView</a> </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="classripple_1_1CachedSLEs.html">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#l00176">176</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="a446bf249300d9ec1c8c43b1356ba1785"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a446bf249300d9ec1c8c43b1356ba1785">&#9670;&nbsp;</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="a832345e9656d0c77823fbd990a85f24f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a832345e9656d0c77823fbd990a85f24f">&#9670;&nbsp;</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#l00188">188</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a68bb9ce15af8016d45d70129fb269078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68bb9ce15af8016d45d70129fb269078">&#9670;&nbsp;</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="af8db00c9a63969516a98cded17930845"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8db00c9a63969516a98cded17930845">&#9670;&nbsp;</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#a97b0522def3fedd095dafaed6b4aba3c">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#a3351e0244f921234d5ba005a07ddf539">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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb1c7f57990c69df15950a4d83babc4c">&#9670;&nbsp;</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#l00069">69</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a7a7588db26208689d2224b068625dae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a7588db26208689d2224b068625dae2">&#9670;&nbsp;</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="structripple_1_1LedgerInfo.html">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#a9263b10d706a447166b229ad8e3b574c">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00075">75</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="ad874e14e567ad31774ccf4756aac3bac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad874e14e567ad31774ccf4756aac3bac">&#9670;&nbsp;</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#a9bbdb3fb4754482a8d6c6e6d25c2d1eb">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00081">81</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a8e3b1b79b6af545c3dfcee40dd0d5299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e3b1b79b6af545c3dfcee40dd0d5299">&#9670;&nbsp;</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#aaf2fa03be723bb78d8bdf41614a75a30">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00087">87</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a7773c892f7298830387e6f49711060b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7773c892f7298830387e6f49711060b9">&#9670;&nbsp;</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">boost::optional&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">boost::optional&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>boost::none</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, boost::none is returned.</p>
<p>If <code>last</code> is engaged, returns boost::none when the key returned would be outside the open interval (key, last). </p>
<p>Implements <a class="el" href="classripple_1_1ReadView.html#a2b1718fdf4ffd63d8fe7650f66114804">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00093">93</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a4724f686191546657263061e5b0ea951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4724f686191546657263061e5b0ea951">&#9670;&nbsp;</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;<a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">sles_type::iter_base</a>&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#a70b1654cf02d2af0c3d34faf6be218ac">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00100">100</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a77c5f58a30877fc28056f58063a01389"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77c5f58a30877fc28056f58063a01389">&#9670;&nbsp;</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;<a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">sles_type::iter_base</a>&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#a6940351c76fe355db59a9f8ff6bf807b">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00106">106</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="ae165ae0cb1f8c8f40043e7fd81e7ab70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae165ae0cb1f8c8f40043e7fd81e7ab70">&#9670;&nbsp;</a></span>slesUpperBound()</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;<a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">sles_type::iter_base</a>&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">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#abccd7f2f0b2ebfaafc8fedd6cc7ad081">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00112">112</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a6a245ca68b74f82d291bfb29fbf3d6a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a245ca68b74f82d291bfb29fbf3d6a5">&#9670;&nbsp;</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;<a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">txs_type::iter_base</a>&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#a8bf980722b37ba7a57614fa7c92c7d11">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00118">118</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a82ccc6fe5d28a3de1621deb839ef20d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82ccc6fe5d28a3de1621deb839ef20d4">&#9670;&nbsp;</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;<a class="el" href="classripple_1_1detail_1_1ReadViewFwdRange.html#ad0e2a978fcfc47b2a937b536f1ed948f">txs_type::iter_base</a>&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#afbcb8704c56e927eca2cb81bcb42f912">ripple::ReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00124">124</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a5315d4aaf5a02b646e44cbc28cfca9ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5315d4aaf5a02b646e44cbc28cfca9ec">&#9670;&nbsp;</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#l00130">130</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a27043f0ad97acde4fc0e2fc6103d4f85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27043f0ad97acde4fc0e2fc6103d4f85">&#9670;&nbsp;</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#l00136">136</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a819e64d9e4b739b67502f77c1d7100b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a819e64d9e4b739b67502f77c1d7100b3">&#9670;&nbsp;</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">boost::optional&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>boost::none if the item does not exist. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1DigestAwareReadView.html#a53ace1e8c4dc9d45e56d02f4fc385c3f">ripple::DigestAwareReadView</a>.</p>
<p class="definition">Definition at line <a class="el" href="CachedView_8h_source.html#l00146">146</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a1427aa6cbbda99c50b9ca0ebf6e0d0b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1427aa6cbbda99c50b9ca0ebf6e0d0b3">&#9670;&nbsp;</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#l00251">251</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="ac284afc905c482953c35c61b459fd85b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac284afc905c482953c35c61b459fd85b">&#9670;&nbsp;</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#l00258">258</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a81e1b7628e44e758a0359061c4b17c96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e1b7628e44e758a0359061c4b17c96">&#9670;&nbsp;</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#a16ab89d505feb8a59bf35abddfe1fb2c">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#a16ab89d505feb8a59bf35abddfe1fb2c">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#l00323">323</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a6989ce9f6240d5c600d3a4f526f89d29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6989ce9f6240d5c600d3a4f526f89d29">&#9670;&nbsp;</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#a16ab89d505feb8a59bf35abddfe1fb2c">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#l00337">337</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d1df728f980eaa20c8bcab8cbde08a4">&#9670;&nbsp;</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#l00165">165</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a470f48833caf730009dcfc76428aacf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a470f48833caf730009dcfc76428aacf2">&#9670;&nbsp;</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#l00039">39</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="a463c3b77580aa8e9b2a945a4b56ca748"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a463c3b77580aa8e9b2a945a4b56ca748">&#9670;&nbsp;</a></span>cache_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1CachedSLEs.html">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#l00040">40</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="af882e84e266d9b4bc2194de80b638898"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af882e84e266d9b4bc2194de80b638898">&#9670;&nbsp;</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#l00041">41</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="abb9b4ee7c94d09ad4f649c397484f329"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb9b4ee7c94d09ad4f649c397484f329">&#9670;&nbsp;</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="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="namespaceripple.html#a97b0522def3fedd095dafaed6b4aba3c">SLE</a> const&gt;, <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#l00044">44</a> of file <a class="el" href="CachedView_8h_source.html">CachedView.h</a>.</p>
</div>
</div>
<a id="afd166083a5c60300819b4385d92e51cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd166083a5c60300819b4385d92e51cb">&#9670;&nbsp;</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#l00398">398</a> of file <a class="el" href="ReadView_8h_source.html">ReadView.h</a>.</p>
</div>
</div>
<a id="a5c70dc4b36e757ed6472b0aef460d858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c70dc4b36e757ed6472b0aef460d858">&#9670;&nbsp;</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#l00401">401</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="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>