Files
rippled/classripple_1_1detail_1_1AccountIdCache.html
2022-08-26 20:04:15 +00:00

249 lines
14 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::detail::AccountIdCache Class 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="namespaceripple_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="classripple_1_1detail_1_1AccountIdCache.html">AccountIdCache</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1detail_1_1AccountIdCache-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::detail::AccountIdCache Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Caches the base58 representations of AccountIDs.
<a href="classripple_1_1detail_1_1AccountIdCache.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for ripple::detail::AccountIdCache:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1detail_1_1AccountIdCache__coll__graph.png" border="0" usemap="#ripple_1_1detail_1_1AccountIdCache_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1detail_1_1AccountIdCache_coll__map" id="ripple_1_1detail_1_1AccountIdCache_coll__map">
<area shape="rect" title="Caches the base58 representations of AccountIDs." alt="" coords="1400,87,1576,129"/>
<area shape="rect" href="classripple_1_1hardened__hash.html" title="Seed functor once per construction." alt="" coords="1109,14,1276,55"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="805,14,963,55"/>
<area shape="rect" title=" " alt="" coords="571,21,609,48"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1103,80,1282,136"/>
<area shape="rect" href="structripple_1_1detail_1_1AccountIdCache_1_1CachedAccountID.html" title=" " alt="" coords="792,87,976,129"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="487,87,693,129"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,57,389,98"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,64,108,91"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,124,349,151"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1089,160,1296,187"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="833,160,935,187"/>
</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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1detail_1_1AccountIdCache_1_1CachedAccountID.html">CachedAccountID</a></td></tr>
<tr class="separator:"><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:a7233e0e35d6a1c46fe5a023a947188a5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1AccountIdCache.html#a7233e0e35d6a1c46fe5a023a947188a5">AccountIdCache</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> count)</td></tr>
<tr class="separator:a7233e0e35d6a1c46fe5a023a947188a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6737ae220bf5ede07e1f39727aba9e49"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1AccountIdCache.html#a6737ae220bf5ede07e1f39727aba9e49">toBase58</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;id)</td></tr>
<tr class="separator:a6737ae220bf5ede07e1f39727aba9e49"><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:abcab07160f2103c0e213c3235993458b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="el" href="structripple_1_1detail_1_1AccountIdCache_1_1CachedAccountID.html">CachedAccountID</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1AccountIdCache.html#abcab07160f2103c0e213c3235993458b">cache_</a></td></tr>
<tr class="separator:abcab07160f2103c0e213c3235993458b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89e8a4a2d59fd222b3915ae5614c0452"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1hardened__hash.html">hardened_hash</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1AccountIdCache.html#a89e8a4a2d59fd222b3915ae5614c0452">hasher_</a></td></tr>
<tr class="separator:a89e8a4a2d59fd222b3915ae5614c0452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae50ec081d3387900b5decb553e61a5b2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1AccountIdCache.html#ae50ec081d3387900b5decb553e61a5b2">locks_</a> = 0</td></tr>
<tr class="separator:ae50ec081d3387900b5decb553e61a5b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Caches the base58 representations of AccountIDs. </p>
<p class="definition">Definition at line <a class="el" href="AccountID_8cpp_source.html#l00035">35</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7233e0e35d6a1c46fe5a023a947188a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7233e0e35d6a1c46fe5a023a947188a5">&#9670;&nbsp;</a></span>AccountIdCache()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::detail::AccountIdCache::AccountIdCache </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td>
<td class="paramname"><em>count</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="AccountID_8cpp_source.html#l00054">54</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6737ae220bf5ede07e1f39727aba9e49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6737ae220bf5ede07e1f39727aba9e49">&#9670;&nbsp;</a></span>toBase58()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> ripple::detail::AccountIdCache::toBase58 </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &amp;&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="AccountID_8cpp_source.html#l00062">62</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="abcab07160f2103c0e213c3235993458b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcab07160f2103c0e213c3235993458b">&#9670;&nbsp;</a></span>cache_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="el" href="structripple_1_1detail_1_1AccountIdCache_1_1CachedAccountID.html">CachedAccountID</a>&gt; ripple::detail::AccountIdCache::cache_</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="AccountID_8cpp_source.html#l00045">45</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
<a id="a89e8a4a2d59fd222b3915ae5614c0452"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e8a4a2d59fd222b3915ae5614c0452">&#9670;&nbsp;</a></span>hasher_</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_1hardened__hash.html">hardened_hash</a> ripple::detail::AccountIdCache::hasher_</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="AccountID_8cpp_source.html#l00048">48</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
<a id="ae50ec081d3387900b5decb553e61a5b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae50ec081d3387900b5decb553e61a5b2">&#9670;&nbsp;</a></span>locks_</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/atomic/atomic.html">std::atomic</a>&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a>&gt; ripple::detail::AccountIdCache::locks_ = 0</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="AccountID_8cpp_source.html#l00051">51</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>