Files
rippled/classripple_1_1detail_1_1AccountIdCache.html
2025-08-19 09:49:50 -07:00

263 lines
15 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="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="#aripple_1_1detail_1_1AccountIdCache_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1detail_1_1AccountIdCache_coll__map" id="aripple_1_1detail_1_1AccountIdCache_coll__map">
<area shape="rect" title="Caches the base58 representations of AccountIDs." alt="" coords="1367,103,1543,143"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1070,23,1249,78"/>
<area shape="poly" title=" " alt="" coords="1263,73,1372,100,1371,105,1261,78"/>
<area shape="rect" href="structripple_1_1detail_1_1AccountIdCache_1_1CachedAccountID.html" title=" " alt="" coords="759,31,943,71"/>
<area shape="poly" title=" " alt="" coords="956,48,1070,48,1070,53,956,53"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="487,31,693,71"/>
<area shape="poly" title=" " alt="" coords="707,48,758,48,758,53,707,53"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,10,349,35"/>
<area shape="poly" title=" " alt="" coords="363,26,486,38,486,43,363,31"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,60,389,100"/>
<area shape="poly" title=" " alt="" coords="403,67,486,59,487,64,403,73"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,67,108,93"/>
<area shape="poly" title=" " alt="" coords="122,77,221,77,221,83,122,83"/>
<area shape="rect" href="classripple_1_1hardened__hash.html" title="Seed functor once per construction." alt="" coords="1076,103,1243,143"/>
<area shape="poly" title=" " alt="" coords="1256,120,1367,120,1367,125,1256,125"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="771,103,930,143"/>
<area shape="poly" title=" " alt="" coords="943,120,1076,120,1076,125,943,125"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1056,167,1263,193"/>
<area shape="poly" title=" " alt="" coords="1239,162,1366,137,1367,142,1240,167"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="799,167,902,193"/>
<area shape="poly" title=" " alt="" coords="916,177,1056,177,1056,183,916,183"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" 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 id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7233e0e35d6a1c46fe5a023a947188a5" id="r_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" id="r_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 id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:abcab07160f2103c0e213c3235993458b" id="r_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" id="r_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" id="r_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#l00043">43</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" name="a7233e0e35d6a1c46fe5a023a947188a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7233e0e35d6a1c46fe5a023a947188a5">&#9670;&#160;</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#l00062">62</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" name="a6737ae220bf5ede07e1f39727aba9e49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6737ae220bf5ede07e1f39727aba9e49">&#9670;&#160;</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#l00070">70</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" name="abcab07160f2103c0e213c3235993458b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcab07160f2103c0e213c3235993458b">&#9670;&#160;</a></span>cache_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="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#l00053">53</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
<a id="a89e8a4a2d59fd222b3915ae5614c0452" name="a89e8a4a2d59fd222b3915ae5614c0452"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e8a4a2d59fd222b3915ae5614c0452">&#9670;&#160;</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#l00056">56</a> of file <a class="el" href="AccountID_8cpp_source.html">AccountID.cpp</a>.</p>
</div>
</div>
<a id="ae50ec081d3387900b5decb553e61a5b2" name="ae50ec081d3387900b5decb553e61a5b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae50ec081d3387900b5decb553e61a5b2">&#9670;&#160;</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#l00059">59</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="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>