Files
rippled/structripple_1_1NodeStore_1_1uniformIntDistribution.html
2021-10-22 02:12:39 +00:00

462 lines
29 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::NodeStore::uniformIntDistribution&lt; IntType &gt; Struct 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="namespaceripple_1_1NodeStore.html">NodeStore</a></li><li class="navelem"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">uniformIntDistribution</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<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-methods">Private Member Functions</a> &#124;
<a href="structripple_1_1NodeStore_1_1uniformIntDistribution-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::NodeStore::uniformIntDistribution&lt; IntType &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="elRef" href="http://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution.html">std::uniform_int_distribution</a> is platform dependent.
<a href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#details">More...</a></p>
<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_1NodeStore_1_1uniformIntDistribution_1_1paramType.html">paramType</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-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a69c2c2c4c7bda292fbcb82c5634a57f7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> = IntType</td></tr>
<tr class="separator:a69c2c2c4c7bda292fbcb82c5634a57f7"><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:a1c7f8801c6568c5aec7cd3cadf2f45c3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a1c7f8801c6568c5aec7cd3cadf2f45c3">uniformIntDistribution</a> (const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#ab034e709ceaff7dd2896b83ede829221">a</a>=0, const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a4dbe50275acb8457ea27c0f392e5bb11">b</a>=<a class="elRef" href="http://en.cppreference.com/w/cpp/types/numeric_limits.html">std::numeric_limits</a>&lt; <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> &gt;::<a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a749c9540bdd0f556e9057c07badbb269">max</a>())</td></tr>
<tr class="separator:a1c7f8801c6568c5aec7cd3cadf2f45c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb3723c9f00fff9602e32bffcf153eaa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#abb3723c9f00fff9602e32bffcf153eaa">uniformIntDistribution</a> (const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution_1_1paramType.html">paramType</a> &amp;params)</td></tr>
<tr class="separator:abb3723c9f00fff9602e32bffcf153eaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcfea845a549d59702c54d7b82f6877d"><td class="memTemplParams" colspan="2">template&lt;class Generator &gt; </td></tr>
<tr class="memitem:abcfea845a549d59702c54d7b82f6877d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#abcfea845a549d59702c54d7b82f6877d">operator()</a> (Generator &amp;g) const</td></tr>
<tr class="separator:abcfea845a549d59702c54d7b82f6877d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97dc738bf3a92942c3fbe1312fe2b82b"><td class="memTemplParams" colspan="2">template&lt;class Generator &gt; </td></tr>
<tr class="memitem:a97dc738bf3a92942c3fbe1312fe2b82b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a97dc738bf3a92942c3fbe1312fe2b82b">operator()</a> (Generator &amp;g, const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution_1_1paramType.html">paramType</a> &amp;params) const</td></tr>
<tr class="separator:a97dc738bf3a92942c3fbe1312fe2b82b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab034e709ceaff7dd2896b83ede829221"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#ab034e709ceaff7dd2896b83ede829221">a</a> () const</td></tr>
<tr class="separator:ab034e709ceaff7dd2896b83ede829221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dbe50275acb8457ea27c0f392e5bb11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a4dbe50275acb8457ea27c0f392e5bb11">b</a> () const</td></tr>
<tr class="separator:a4dbe50275acb8457ea27c0f392e5bb11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04a8b1519d0c2fa2bdf4884723410770"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a04a8b1519d0c2fa2bdf4884723410770">min</a> () const</td></tr>
<tr class="separator:a04a8b1519d0c2fa2bdf4884723410770"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a749c9540bdd0f556e9057c07badbb269"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a749c9540bdd0f556e9057c07badbb269">max</a> () const</td></tr>
<tr class="separator:a749c9540bdd0f556e9057c07badbb269"><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:acdc62721e6c934d28d7b041b1b218e53"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#acdc62721e6c934d28d7b041b1b218e53">A</a></td></tr>
<tr class="separator:acdc62721e6c934d28d7b041b1b218e53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80230ac588abedbd7083b079c788e9a2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a80230ac588abedbd7083b079c788e9a2">B</a></td></tr>
<tr class="separator:a80230ac588abedbd7083b079c788e9a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:aea86fd88a284db2025ae71d4daf09bb5"><td class="memTemplParams" colspan="2">template&lt;class Generator &gt; </td></tr>
<tr class="memitem:aea86fd88a284db2025ae71d4daf09bb5"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#aea86fd88a284db2025ae71d4daf09bb5">rnd</a> (Generator &amp;g, const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#ab034e709ceaff7dd2896b83ede829221">a</a>, const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a4dbe50275acb8457ea27c0f392e5bb11">b</a>) const</td></tr>
<tr class="separator:aea86fd88a284db2025ae71d4daf09bb5"><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 IntType = int&gt;<br />
struct ripple::NodeStore::uniformIntDistribution&lt; IntType &gt;</h3>
<p><a class="elRef" href="http://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution.html">std::uniform_int_distribution</a> is platform dependent. </p>
<p>Unit test for deterministic shards is the following: it generates predictable accounts and transactions, packs them into ledgers and makes the shard. The hash of this shard should be equal to the given value. On different platforms (precisely, Linux and Mac) hashes of the resulting shard was different. It was unvestigated that the problem is in the class <a class="elRef" href="http://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution.html">std::uniform_int_distribution</a> which generates different pseudorandom sequences on different platforms, but we need predictable sequence. </p>
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00060">60</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a69c2c2c4c7bda292fbcb82c5634a57f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69c2c2c4c7bda292fbcb82c5634a57f7">&#9670;&nbsp;</a></span>resultType</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::<a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> = IntType</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00062">62</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1c7f8801c6568c5aec7cd3cadf2f45c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c7f8801c6568c5aec7cd3cadf2f45c3">&#9670;&nbsp;</a></span>uniformIntDistribution() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::<a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">uniformIntDistribution</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td>
<td class="paramname"><em>a</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td>
<td class="paramname"><em>b</em> = <code><a class="elRef" href="http://en.cppreference.com/w/cpp/types/numeric_limits.html">std::numeric_limits</a>&lt;<a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&gt;::<a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a749c9540bdd0f556e9057c07badbb269">max</a>()</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00075">75</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="abb3723c9f00fff9602e32bffcf153eaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb3723c9f00fff9602e32bffcf153eaa">&#9670;&nbsp;</a></span>uniformIntDistribution() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::<a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">uniformIntDistribution</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution_1_1paramType.html">paramType</a> &amp;&#160;</td>
<td class="paramname"><em>params</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00082">82</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abcfea845a549d59702c54d7b82f6877d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcfea845a549d59702c54d7b82f6877d">&#9670;&nbsp;</a></span>operator()() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<div class="memtemplate">
template&lt;class Generator &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::operator() </td>
<td>(</td>
<td class="paramtype">Generator &amp;&#160;</td>
<td class="paramname"><em>g</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00089">89</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="a97dc738bf3a92942c3fbe1312fe2b82b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97dc738bf3a92942c3fbe1312fe2b82b">&#9670;&nbsp;</a></span>operator()() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<div class="memtemplate">
template&lt;class Generator &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::operator() </td>
<td>(</td>
<td class="paramtype">Generator &amp;&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution_1_1paramType.html">paramType</a> &amp;&#160;</td>
<td class="paramname"><em>params</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00096">96</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="ab034e709ceaff7dd2896b83ede829221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab034e709ceaff7dd2896b83ede829221">&#9670;&nbsp;</a></span>a()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::a </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00102">102</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="a4dbe50275acb8457ea27c0f392e5bb11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dbe50275acb8457ea27c0f392e5bb11">&#9670;&nbsp;</a></span>b()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::b </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00108">108</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="a04a8b1519d0c2fa2bdf4884723410770"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04a8b1519d0c2fa2bdf4884723410770">&#9670;&nbsp;</a></span>min()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::min </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00114">114</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="a749c9540bdd0f556e9057c07badbb269"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a749c9540bdd0f556e9057c07badbb269">&#9670;&nbsp;</a></span>max()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::max </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00120">120</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="aea86fd88a284db2025ae71d4daf09bb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea86fd88a284db2025ae71d4daf09bb5">&#9670;&nbsp;</a></span>rnd()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<div class="memtemplate">
template&lt;class Generator &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::rnd </td>
<td>(</td>
<td class="paramtype">Generator &amp;&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a>&#160;</td>
<td class="paramname"><em>b</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">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00128">128</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="acdc62721e6c934d28d7b041b1b218e53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdc62721e6c934d28d7b041b1b218e53">&#9670;&nbsp;</a></span>A</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::A</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00064">64</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.cpp</a>.</p>
</div>
</div>
<a id="a80230ac588abedbd7083b079c788e9a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80230ac588abedbd7083b079c788e9a2">&#9670;&nbsp;</a></span>B</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class IntType = int&gt; </div>
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html#a69c2c2c4c7bda292fbcb82c5634a57f7">resultType</a> <a class="el" href="structripple_1_1NodeStore_1_1uniformIntDistribution.html">ripple::NodeStore::uniformIntDistribution</a>&lt; IntType &gt;::B</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseShard__test_8cpp_source.html#l00064">64</a> of file <a class="el" href="DatabaseShard__test_8cpp_source.html">DatabaseShard_test.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>