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

167 lines
23 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: CachedView.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&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="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_df67e75ba07853ef5c3c9d8f74c2f968.html">ledger</a></li><li class="navelem"><a class="el" href="dir_149e605da568dfe4e38f251dde8fdf1b.html">impl</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">CachedView.cpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;ripple/ledger/CachedView.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;ripple/basics/contract.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/Serializer.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>detail {</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keywordtype">bool</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1CachedViewImpl.html#a68bb9ce15af8016d45d70129fb269078"> 28</a></span>&#160;<a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a68bb9ce15af8016d45d70129fb269078">CachedViewImpl::exists</a> (<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>&amp; k)<span class="keyword"> const</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#af8db00c9a63969516a98cded17930845">read</a>(k) != <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;}</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;SLE const&gt;</a></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1CachedViewImpl.html#af8db00c9a63969516a98cded17930845"> 34</a></span>&#160;<a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#af8db00c9a63969516a98cded17930845">CachedViewImpl::read</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>&amp; k)<span class="keyword"> const</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#af882e84e266d9b4bc2194de80b638898">mutex_</a>);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> iter = <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#abb9b4ee7c94d09ad4f649c397484f329">map_</a>.find(k.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">if</span> (iter != <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#abb9b4ee7c94d09ad4f649c397484f329">map_</a>.end())</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordflow">if</span> (!iter-&gt;second || !k.<a class="code" href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802">check</a>(*iter-&gt;second))</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordflow">return</span> iter-&gt;second;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; }</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; }</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a819e64d9e4b739b67502f77c1d7100b3">digest</a> = <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a470f48833caf730009dcfc76428aacf2">base_</a>.<a class="code" href="classripple_1_1DigestAwareReadView.html#a53ace1e8c4dc9d45e56d02f4fc385c3f">digest</a>(k.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a819e64d9e4b739b67502f77c1d7100b3">digest</a>)</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">auto</span> sle = <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a463c3b77580aa8e9b2a945a4b56ca748">cache_</a>.<a class="code" href="classripple_1_1CachedSLEs.html#a8c5f73f01940233efbe84def5d105cee">fetch</a>(*<a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a819e64d9e4b739b67502f77c1d7100b3">digest</a>, [&amp;]() { <span class="keywordflow">return</span> <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#a470f48833caf730009dcfc76428aacf2">base_</a>.<a class="code" href="classripple_1_1ReadView.html#a3351e0244f921234d5ba005a07ddf539">read</a>(k); });</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#af882e84e266d9b4bc2194de80b638898">mutex_</a>);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> er = <a class="code" href="classripple_1_1detail_1_1CachedViewImpl.html#abb9b4ee7c94d09ad4f649c397484f329">map_</a>.emplace(k.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>, sle);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span>&amp; iter = er.first;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordtype">bool</span> <span class="keyword">const</span> inserted = er.second;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">if</span> (iter-&gt;second &amp;&amp; !k.<a class="code" href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802">check</a>(*iter-&gt;second))</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; {</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">if</span> (!inserted)</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; {</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// On entry, this function did not find this key in map_. Now something</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">// (another thread?) has inserted the sle into the map and it has</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="comment">// the wrong type.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">&quot;CachedView::read: wrong type&quot;</span>);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; }</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">return</span> iter-&gt;second;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;}</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;} <span class="comment">// detail</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;} <span class="comment">// ripple</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructripple_1_1Keylet_html"><div class="ttname"><a href="structripple_1_1Keylet.html">ripple::Keylet</a></div><div class="ttdoc">A pair of SHAMap key and LedgerEntryType.</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00038">Keylet.h:38</a></div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_a463c3b77580aa8e9b2a945a4b56ca748"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#a463c3b77580aa8e9b2a945a4b56ca748">ripple::detail::CachedViewImpl::cache_</a></div><div class="ttdeci">CachedSLEs &amp; cache_</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8h_source.html#l00040">CachedView.h:40</a></div></div>
<div class="ttc" id="aclassripple_1_1CachedSLEs_html_a8c5f73f01940233efbe84def5d105cee"><div class="ttname"><a href="classripple_1_1CachedSLEs.html#a8c5f73f01940233efbe84def5d105cee">ripple::CachedSLEs::fetch</a></div><div class="ttdeci">value_type fetch(digest_type const &amp;digest, Handler const &amp;h)</div><div class="ttdoc">Fetch an item from the cache.</div><div class="ttdef"><b>Definition:</b> <a href="CachedSLEs_8h_source.html#l00068">CachedSLEs.h:68</a></div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_a819e64d9e4b739b67502f77c1d7100b3"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#a819e64d9e4b739b67502f77c1d7100b3">ripple::detail::CachedViewImpl::digest</a></div><div class="ttdeci">boost::optional&lt; digest_type &gt; digest(key_type const &amp;key) const override</div><div class="ttdoc">Return the digest associated with the key.</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8h_source.html#l00146">CachedView.h:146</a></div></div>
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_af8db00c9a63969516a98cded17930845"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#af8db00c9a63969516a98cded17930845">ripple::detail::CachedViewImpl::read</a></div><div class="ttdeci">std::shared_ptr&lt; SLE const &gt; read(Keylet const &amp;k) const override</div><div class="ttdoc">Return the state item associated with a key.</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8cpp_source.html#l00034">CachedView.cpp:34</a></div></div>
<div class="ttc" id="astructripple_1_1Keylet_html_a482983062843a8682fcea76a309c73db"><div class="ttname"><a href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">ripple::Keylet::key</a></div><div class="ttdeci">uint256 key</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00041">Keylet.h:41</a></div></div>
<div class="ttc" id="aclassripple_1_1DigestAwareReadView_html_a53ace1e8c4dc9d45e56d02f4fc385c3f"><div class="ttname"><a href="classripple_1_1DigestAwareReadView.html#a53ace1e8c4dc9d45e56d02f4fc385c3f">ripple::DigestAwareReadView::digest</a></div><div class="ttdeci">virtual boost::optional&lt; digest_type &gt; digest(key_type const &amp;key) const =0</div><div class="ttdoc">Return the digest associated with the key.</div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html_a3351e0244f921234d5ba005a07ddf539"><div class="ttname"><a href="classripple_1_1ReadView.html#a3351e0244f921234d5ba005a07ddf539">ripple::ReadView::read</a></div><div class="ttdeci">virtual std::shared_ptr&lt; SLE const &gt; read(Keylet const &amp;k) const =0</div><div class="ttdoc">Return the state item associated with a key.</div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_abb9b4ee7c94d09ad4f649c397484f329"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#abb9b4ee7c94d09ad4f649c397484f329">ripple::detail::CachedViewImpl::map_</a></div><div class="ttdeci">std::unordered_map&lt; key_type, std::shared_ptr&lt; SLE const &gt;, hardened_hash&lt;&gt; &gt; map_</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8h_source.html#l00044">CachedView.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_a470f48833caf730009dcfc76428aacf2"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#a470f48833caf730009dcfc76428aacf2">ripple::detail::CachedViewImpl::base_</a></div><div class="ttdeci">DigestAwareReadView const &amp; base_</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8h_source.html#l00039">CachedView.h:39</a></div></div>
<div class="ttc" id="anamespaceripple_html_aefd2f77338ce3c9a2fffc4f0b289b483"><div class="ttname"><a href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">ripple::LogicError</a></div><div class="ttdeci">void LogicError(std::string const &amp;how) noexcept</div><div class="ttdoc">Called when faulty logic causes a broken invariant.</div><div class="ttdef"><b>Definition:</b> <a href="contract_8cpp_source.html#l00050">contract.cpp:50</a></div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_a68bb9ce15af8016d45d70129fb269078"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#a68bb9ce15af8016d45d70129fb269078">ripple::detail::CachedViewImpl::exists</a></div><div class="ttdeci">bool exists(Keylet const &amp;k) const override</div><div class="ttdoc">Determine if a state item exists.</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8cpp_source.html#l00028">CachedView.cpp:28</a></div></div>
<div class="ttc" id="astructripple_1_1Keylet_html_a1e8ccd4a50a894a338c789fc566d8802"><div class="ttname"><a href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802">ripple::Keylet::check</a></div><div class="ttdeci">bool check(STLedgerEntry const &amp;) const</div><div class="ttdoc">Returns true if the SLE matches the type.</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8cpp_source.html#l00026">Keylet.cpp:26</a></div></div>
<div class="ttc" id="aclassripple_1_1detail_1_1CachedViewImpl_html_af882e84e266d9b4bc2194de80b638898"><div class="ttname"><a href="classripple_1_1detail_1_1CachedViewImpl.html#af882e84e266d9b4bc2194de80b638898">ripple::detail::CachedViewImpl::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="CachedView_8h_source.html#l00041">CachedView.h:41</a></div></div>
<!-- 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>