mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
214 lines
28 KiB
HTML
214 lines
28 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: UintTypes.h 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&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&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_1e765e6a8d5970800a535eb2615ec474.html">protocol</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">UintTypes.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <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> <span class="comment"> Copyright (c) 2014 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <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> <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> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <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> <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> <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> <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> <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> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/basics/UnorderedContainers.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/basics/base_uint.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/beast/utility/Zero.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/protocol/AccountID.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1CurrencyTag.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1detail_1_1CurrencyTag.html">CurrencyTag</a></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1detail_1_1CurrencyTag.html#aa2ac911ec9341a0dc93b305fb0b7aaf7">CurrencyTag</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> };</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1DirectoryTag.html"> 37</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1detail_1_1DirectoryTag.html">DirectoryTag</a></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1detail_1_1DirectoryTag.html#a521fa2fa39e42e3c399120cd22fdcd49">DirectoryTag</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> };</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1NodeIDTag.html"> 43</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1detail_1_1NodeIDTag.html">NodeIDTag</a></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1detail_1_1NodeIDTag.html#a05e31c5436691e2a5f88baae3a8dc499">NodeIDTag</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> };</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> } <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="namespaceripple.html#a0f0ddc0b5af7c70fb933c95f851abde7"> 53</a></span> <span class="keyword">using</span> <a class="code" href="classripple_1_1base__uint.html">Directory</a> = <a class="code" href="classripple_1_1base__uint.html">base_uint<256, detail::DirectoryTag></a>;</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4"> 56</a></span> <span class="keyword">using</span> <a class="code" href="classripple_1_1base__uint.html">Currency</a> = <a class="code" href="classripple_1_1base__uint.html">base_uint<160, detail::CurrencyTag></a>;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209"> 59</a></span> <span class="keyword">using</span> <a class="code" href="classripple_1_1base__uint.html">NodeID</a> = <a class="code" href="classripple_1_1base__uint.html">base_uint<160, detail::NodeIDTag></a>;</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <a class="code" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>();</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <a class="code" href="namespaceripple.html#a46d77721784151245d971c433809471f">noCurrency</a>();</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <a class="code" href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">badCurrency</a>();</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <a class="code" href="namespaceripple.html#a20d30277b9c78756b3d14493055a307c">isXRP</a>(<a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>& c)</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> c == beast::zero;</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> }</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(<a class="code" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> <span class="keyword">const</span>& c);</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <a class="code" href="namespaceripple.html#a791ac17da7afb28eaa4c229daa4ccef5">to_currency</a>(<a class="code" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a>&, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <a class="code" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a></div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <a class="code" href="namespaceripple.html#a791ac17da7afb28eaa4c229daa4ccef5">to_currency</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&);</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <a class="code" href="namespaceripple.html#ad2cbc273400d06e5ff80501de15410e3">operator<<</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>& os, <a class="code" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a> <span class="keyword">const</span>& x)</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> {</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  os << <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(x);</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> os;</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> }</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> } <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keyword">namespace </span><a class="code" href="namespacestd.html">std</a> {</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">template</span> <></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01ripple_1_1Currency_01_4.html"> 115</a></span> <span class="keyword">struct </span><a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a><<a class="code" href="namespaceripple.html">ripple</a>::Currency> : <a class="code" href="classripple_1_1hardened__hash.html">ripple::Currency::hasher</a></div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> {</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">explicit</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/hash/hash.html">hash</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> };</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">template</span> <></div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01ripple_1_1NodeID_01_4.html"> 121</a></span> <span class="keyword">struct </span><a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a><<a class="code" href="namespaceripple.html">ripple</a>::NodeID> : <a class="code" href="classripple_1_1hardened__hash.html">ripple::NodeID::hasher</a></div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> {</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">explicit</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/hash/hash.html">hash</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> };</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keyword">template</span> <></div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01ripple_1_1Directory_01_4.html"> 127</a></span> <span class="keyword">struct </span><a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a><<a class="code" href="namespaceripple.html">ripple</a>::Directory> : <a class="code" href="classripple_1_1hardened__hash.html">ripple::Directory::hasher</a></div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> {</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">explicit</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/hash/hash.html">hash</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> };</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> } <span class="comment">// namespace std</span></div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="anamespaceripple_html_a0d78fe5b5eff36774b5be525cbcc3972"><div class="ttname"><a href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">ripple::badCurrency</a></div><div class="ttdeci">Currency const & badCurrency()</div><div class="ttdoc">We deliberately disallow the currency that looks like "XRP" because too many people were using it ins...</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00135">UintTypes.cpp:135</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a791ac17da7afb28eaa4c229daa4ccef5"><div class="ttname"><a href="namespaceripple.html#a791ac17da7afb28eaa4c229daa4ccef5">ripple::to_currency</a></div><div class="ttdeci">bool to_currency(Currency &currency, std::string const &code)</div><div class="ttdoc">Tries to convert a string to a Currency, returns true on success.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00080">UintTypes.cpp:80</a></div></div>
|
|
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1DirectoryTag_html_a521fa2fa39e42e3c399120cd22fdcd49"><div class="ttname"><a href="classripple_1_1detail_1_1DirectoryTag.html#a521fa2fa39e42e3c399120cd22fdcd49">ripple::detail::DirectoryTag::DirectoryTag</a></div><div class="ttdeci">DirectoryTag()=default</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a46d77721784151245d971c433809471f"><div class="ttname"><a href="namespaceripple.html#a46d77721784151245d971c433809471f">ripple::noCurrency</a></div><div class="ttdeci">Currency const & noCurrency()</div><div class="ttdoc">A placeholder for empty currencies.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00128">UintTypes.cpp:128</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1CurrencyTag_html_aa2ac911ec9341a0dc93b305fb0b7aaf7"><div class="ttname"><a href="classripple_1_1detail_1_1CurrencyTag.html#aa2ac911ec9341a0dc93b305fb0b7aaf7">ripple::detail::CurrencyTag::CurrencyTag</a></div><div class="ttdeci">CurrencyTag()=default</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ad2cbc273400d06e5ff80501de15410e3"><div class="ttname"><a href="namespaceripple.html#ad2cbc273400d06e5ff80501de15410e3">ripple::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)</div><div class="ttdef"><b>Definition:</b> <a href="Offer_8h_source.html#l00242">Offer.h:242</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00075">base_uint.h:75</a></div></div>
|
|
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1hardened__hash_html"><div class="ttname"><a href="classripple_1_1hardened__hash.html">ripple::hardened_hash</a></div><div class="ttdoc">Seed functor once per construction.</div><div class="ttdef"><b>Definition:</b> <a href="hardened__hash_8h_source.html#l00096">hardened_hash.h:96</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1DirectoryTag_html"><div class="ttname"><a href="classripple_1_1detail_1_1DirectoryTag.html">ripple::detail::DirectoryTag</a></div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8h_source.html#l00037">UintTypes.h:37</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1CurrencyTag_html"><div class="ttname"><a href="classripple_1_1detail_1_1CurrencyTag.html">ripple::detail::CurrencyTag</a></div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8h_source.html#l00031">UintTypes.h:31</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a20d30277b9c78756b3d14493055a307c"><div class="ttname"><a href="namespaceripple.html#a20d30277b9c78756b3d14493055a307c">ripple::isXRP</a></div><div class="ttdeci">bool isXRP(AccountID const &c)</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8h_source.html#l00089">AccountID.h:89</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8792cc3f99463ceba4e96dde34fe17a4"><div class="ttname"><a href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">ripple::Currency</a></div><div class="ttdeci">base_uint< 160, detail::CurrencyTag > Currency</div><div class="ttdoc">Currency is a hash representing a specific currency.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8h_source.html#l00056">UintTypes.h:56</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="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_af9776f187d3686a7fba4c2d2fbeebdf4"><div class="ttname"><a href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">ripple::to_string</a></div><div class="ttdeci">std::string to_string(Manifest const &m)</div><div class="ttdoc">Format the specified manifest to a string for debugging purposes.</div><div class="ttdef"><b>Definition:</b> <a href="app_2misc_2impl_2Manifest_8cpp_source.html#l00041">app/misc/impl/Manifest.cpp:41</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1NodeIDTag_html"><div class="ttname"><a href="classripple_1_1detail_1_1NodeIDTag.html">ripple::detail::NodeIDTag</a></div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8h_source.html#l00043">UintTypes.h:43</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a91af9326e7f471001066b6b59f24599c"><div class="ttname"><a href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">ripple::xrpCurrency</a></div><div class="ttdeci">Currency const & xrpCurrency()</div><div class="ttdoc">XRP currency.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00121">UintTypes.cpp:121</a></div></div>
|
|
<div class="ttc" id="ahash_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/hash.html">std::hash</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1NodeIDTag_html_a05e31c5436691e2a5f88baae3a8dc499"><div class="ttname"><a href="classripple_1_1detail_1_1NodeIDTag.html#a05e31c5436691e2a5f88baae3a8dc499">ripple::detail::NodeIDTag::NodeIDTag</a></div><div class="ttdeci">NodeIDTag()=default</div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|