This commit is contained in:
bthomee
2025-01-21 19:58:08 +00:00
parent 8b38c076f5
commit e61ca37029
15549 changed files with 1163583 additions and 908656 deletions

View File

@@ -1,9 +1,9 @@
<!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">
<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=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: STCurrency.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -19,8 +19,8 @@
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
@@ -29,21 +29,22 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<!-- Generated by Doxygen 1.9.5 -->
<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 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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
/* @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>
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -54,195 +55,200 @@ $(function() {
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
<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="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_1e765e6a8d5970800a535eb2615ec474.html">protocol</a></li> </ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0103a8ad82dcc2c51f5cde661b4b5cb7.html">xrpl</a></li><li class="navelem"><a class="el" href="dir_8d04e3c0b58cad28d7755ed462d1b6c0.html">protocol</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">STCurrency.h</div> </div>
<div class="headertitle"><div class="title">STCurrency.h</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) 2023 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">#ifndef RIPPLE_PROTOCOL_STCURRENCY_H_INCLUDED</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define RIPPLE_PROTOCOL_STCURRENCY_H_INCLUDED</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;ripple/basics/CountedObject.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/SField.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/STBase.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/Serializer.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/UintTypes.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html"> 31</a></span>&#160;<span class="keyword">class </span><a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> final : <span class="keyword">public</span> <a class="code" href="classripple_1_1STBase.html">STBase</a></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;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5"> 34</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <a class="code" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a>{};</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#ac8b5d8a643c9b1ddca47861f85bc6e8a"> 37</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classripple_1_1base__uint.html">value_type</a> = <a class="code" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>() = <span class="keywordflow">default</span>;</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="keyword">explicit</span> <a class="code" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>(<a class="code" href="classripple_1_1SerialIter.html">SerialIter</a>&amp; sit, <a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>&amp; name);</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>(<a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>&amp; name, <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>);</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; <span class="keyword">explicit</span> <a class="code" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>(<a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>&amp; name);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6">value</a>() const noexcept;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d">setCurrency</a>(<a class="code" href="classripple_1_1base__uint.html">Currency</a> const&amp; <a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>);</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; <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fc">SerializedTypeID</a></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a77577ca4305455f72d22eabeade3d5bc">getSType</a>() const override;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="namespacestd.html">std</a>::<span class="keywordtype">string</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a8723de9d23e897328611843bb6e905d5">getText</a>() const override;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="namespaceJson.html">Json</a>::Value <a class="code" href="classripple_1_1STCurrency.html#a792de3f4580f1f0c69a6178a581255f3">getJson</a>(<a class="code" href="structripple_1_1JsonOptions.html">JsonOptions</a>) const override;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a6b4b203cee334f9bbfcd3684d71ecc00">add</a>(<a class="code" href="classripple_1_1Serializer.html">Serializer</a>&amp; s) const override;</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; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a87d53e22a0677693af8a3bac59204e8f">isEquivalent</a>(const <a class="code" href="classripple_1_1STBase.html">STBase</a>&amp; t) const override;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a2d5d944b6ea324425d815dbd3a2a8458">isDefault</a>() const override;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;private:</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; static <a class="code" href="namespacestd.html">std</a>::unique_ptr&lt;<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a>&gt;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a8d5b183d4f9aeff11904f052723a32b7">construct</a>(<a class="code" href="classripple_1_1SerialIter.html">SerialIter</a>&amp;, <a class="code" href="classripple_1_1SField.html">SField</a> const&amp; name);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="classripple_1_1STBase.html">STBase</a>*</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a9cefd7d953e0ad9bd8e00a8f105621ca">copy</a>(<a class="code" href="namespacestd.html">std</a>::<span class="keywordtype">size_t</span> n, <span class="keywordtype">void</span>* buf) const override;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="classripple_1_1STBase.html">STBase</a>*</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a8e39b1de9e1852b15a71db01eb0e8131">move</a>(<a class="code" href="namespacestd.html">std</a>::<span class="keywordtype">size_t</span> n, <span class="keywordtype">void</span>* buf) override;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a5e49bd8b743617d1af92ffed7ac6b665"> 82</a></span>&#160; friend class detail::STVar;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;};</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<a class="code" href="namespaceripple.html#a2f6ecb5c0671c8eae429821a6456b704">currencyFromJson</a>(<a class="code" href="classripple_1_1SField.html">SField</a> const&amp; name, <a class="code" href="namespaceJson.html">Json</a>::Value const&amp; v);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;inline <a class="code" href="classripple_1_1base__uint.html">Currency</a> const&amp;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1"> 89</a></span>&#160;<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a>::<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;}</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="keyword">inline</span> <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6"> 95</a></span>&#160;<a class="code" href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6">STCurrency::value</a>() const noexcept</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;}</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d"> 101</a></span>&#160;<a class="code" href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d">STCurrency::setCurrency</a>(<a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>)</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;{</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a> = <a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;}</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="namespaceripple.html#a6df2b925da138d84451d65ee358323c4"> 107</a></span>&#160;<a class="code" href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">operator==</a>(<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;{</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> lhs.<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() == rhs.<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>();</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;}</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="namespaceripple.html#aff96848bc794f635f142eaf72b36aa2b"> 113</a></span>&#160;<a class="code" href="classripple_1_1STBase.html#a32ab54e85ae1082a43396f57cb0bf2d8">operator!=</a>(<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;{</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">return</span> !<a class="code" href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">operator==</a>(lhs, rhs);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;}</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="namespaceripple.html#a91a0cd3013472da6091b5c7e2e9289a5"> 119</a></span>&#160;<a class="code" href="namespaceripple.html#ae7f0e432d5fa980cfc588654bb6c77d7">operator&lt;</a>(<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;{</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">return</span> lhs.<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() &lt; rhs.<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>();</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;}</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="namespaceripple.html#a217c64023c97c43687405707aa984c93"> 125</a></span>&#160;<a class="code" href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">operator==</a>(<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;{</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">return</span> lhs.<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() == rhs;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;}</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa14ff4a43b91c4650b0dde4432b86a8c"> 131</a></span>&#160;<a class="code" href="namespaceripple.html#ae7f0e432d5fa980cfc588654bb6c77d7">operator&lt;</a>(<a class="code" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;{</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">return</span> lhs.<a class="code" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() &lt; rhs;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;}</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1STCurrency_html_a6b4b203cee334f9bbfcd3684d71ecc00"><div class="ttname"><a href="classripple_1_1STCurrency.html#a6b4b203cee334f9bbfcd3684d71ecc00">ripple::STCurrency::add</a></div><div class="ttdeci">void add(Serializer &amp;s) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00059">STCurrency.cpp:59</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a87d53e22a0677693af8a3bac59204e8f"><div class="ttname"><a href="classripple_1_1STCurrency.html#a87d53e22a0677693af8a3bac59204e8f">ripple::STCurrency::isEquivalent</a></div><div class="ttdeci">bool isEquivalent(const STBase &amp;t) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00065">STCurrency.cpp:65</a></div></div>
<div class="ttc" id="anamespaceripple_html_a2f6ecb5c0671c8eae429821a6456b704"><div class="ttname"><a href="namespaceripple.html#a2f6ecb5c0671c8eae429821a6456b704">ripple::currencyFromJson</a></div><div class="ttdeci">STCurrency currencyFromJson(SField const &amp;name, Json::Value const &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00096">STCurrency.cpp:96</a></div></div>
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fc"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fc">ripple::SerializedTypeID</a></div><div class="ttdeci">SerializedTypeID</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00106">SField.h:106</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a2d5d944b6ea324425d815dbd3a2a8458"><div class="ttname"><a href="classripple_1_1STCurrency.html#a2d5d944b6ea324425d815dbd3a2a8458">ripple::STCurrency::isDefault</a></div><div class="ttdeci">bool isDefault() const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00072">STCurrency.cpp:72</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a8723de9d23e897328611843bb6e905d5"><div class="ttname"><a href="classripple_1_1STCurrency.html#a8723de9d23e897328611843bb6e905d5">ripple::STCurrency::getText</a></div><div class="ttdeci">std::string getText() const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00048">STCurrency.cpp:48</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&lt; 160, detail::CurrencyTag &gt;</a></div></div>
<div class="ttc" id="anamespaceJson_html"><div class="ttname"><a href="namespaceJson.html">Json</a></div><div class="ttdoc">JSON (JavaScript Object Notation).</div><div class="ttdef"><b>Definition:</b> <a href="DeliverMax_8h_source.html#l00028">DeliverMax.h:28</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a7ea2402d359c5562cb81c83687449bee"><div class="ttname"><a href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">ripple::STCurrency::STCurrency</a></div><div class="ttdeci">STCurrency()=default</div></div>
<div class="ttc" id="anamespaceripple_html_ae7f0e432d5fa980cfc588654bb6c77d7"><div class="ttname"><a href="namespaceripple.html#ae7f0e432d5fa980cfc588654bb6c77d7">ripple::operator&lt;</a></div><div class="ttdeci">bool operator&lt;(CanonicalTXSet::Key const &amp;lhs, CanonicalTXSet::Key const &amp;rhs)</div><div class="ttdef"><b>Definition:</b> <a href="CanonicalTXSet_8cpp_source.html#l00025">CanonicalTXSet.cpp:25</a></div></div>
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" 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 id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2023 Ripple Labs Inc.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" 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 id="l00007" 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 id="l00008" 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 id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a id="l00011" 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 id="l00012" 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 id="l00013" 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 id="l00014" 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 id="l00015" 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 id="l00016" 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 id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifndef RIPPLE_PROTOCOL_STCURRENCY_H_INCLUDED</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_PROTOCOL_STCURRENCY_H_INCLUDED</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpl/basics/CountedObject.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpl/protocol/SField.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;xrpl/protocol/STBase.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;xrpl/protocol/Serializer.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;xrpl/protocol/UintTypes.h&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html"> 31</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> final : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1STBase.html">STBase</a></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>{</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5"> 34</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <a class="code hl_variable" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a>{};</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#ac8b5d8a643c9b1ddca47861f85bc6e8a"> 37</a></span> <span class="keyword">using </span><a class="code hl_class" href="classripple_1_1base__uint.html">value_type</a> = <a class="code hl_typedef" href="namespaceripple.html#a8792cc3f99463ceba4e96dde34fe17a4">Currency</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee"> 39</a></span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>(<a class="code hl_class" href="classripple_1_1SerialIter.html">SerialIter</a>&amp; sit, <a class="code hl_class" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>&amp; name);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>(<a class="code hl_class" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>&amp; name, <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">STCurrency</a>(<a class="code hl_class" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>&amp; name);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6">value</a>() const noexcept;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d">setCurrency</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> const&amp; <a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_enumeration" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fc">SerializedTypeID</a></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a77577ca4305455f72d22eabeade3d5bc">getSType</a>() const override;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <a class="code hl_namespace" href="namespacestd.html">std</a>::<span class="keywordtype">string</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a8723de9d23e897328611843bb6e905d5">getText</a>() const override;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_namespace" href="namespaceJson.html">Json</a>::Value <a class="code hl_function" href="classripple_1_1STCurrency.html#a792de3f4580f1f0c69a6178a581255f3">getJson</a>(<a class="code hl_struct" href="structripple_1_1JsonOptions.html">JsonOptions</a>) const override;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a6b4b203cee334f9bbfcd3684d71ecc00">add</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&amp; s) const override;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a87d53e22a0677693af8a3bac59204e8f">isEquivalent</a>(const <a class="code hl_class" href="classripple_1_1STBase.html">STBase</a>&amp; t) const override;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a2d5d944b6ea324425d815dbd3a2a8458">isDefault</a>() const override;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>private:</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> static <a class="code hl_namespace" href="namespacestd.html">std</a>::unique_ptr&lt;<a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a>&gt;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a8d5b183d4f9aeff11904f052723a32b7">construct</a>(<a class="code hl_class" href="classripple_1_1SerialIter.html">SerialIter</a>&amp;, <a class="code hl_class" href="classripple_1_1SField.html">SField</a> const&amp; name);</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_class" href="classripple_1_1STBase.html">STBase</a>*</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a9cefd7d953e0ad9bd8e00a8f105621ca">copy</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::<span class="keywordtype">size_t</span> n, <span class="keywordtype">void</span>* buf) const override;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_class" href="classripple_1_1STBase.html">STBase</a>*</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_function" href="classripple_1_1STCurrency.html#a8e39b1de9e1852b15a71db01eb0e8131">move</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::<span class="keywordtype">size_t</span> n, <span class="keywordtype">void</span>* buf) override;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a5e49bd8b743617d1af92ffed7ac6b665"> 82</a></span> friend class detail::<a class="code hl_friend" href="classripple_1_1STCurrency.html#a5e49bd8b743617d1af92ffed7ac6b665">STVar</a>;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>};</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><a class="code hl_function" href="namespaceripple.html#a2f6ecb5c0671c8eae429821a6456b704">currencyFromJson</a>(<a class="code hl_class" href="classripple_1_1SField.html">SField</a> const&amp; name, <a class="code hl_namespace" href="namespaceJson.html">Json</a>::Value const&amp; v);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span>inline <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> const&amp;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1"> 89</a></span><a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a>::<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="keyword"></span>{</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a>;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span>}</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="keyword">inline</span> <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6"> 95</a></span><a class="code hl_function" href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6">STCurrency::value</a>() const noexcept</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span>{</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a>;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span>}</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d"> 101</a></span><a class="code hl_function" href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d">STCurrency::setCurrency</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>)</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span>{</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <a class="code hl_variable" href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">currency_</a> = <a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span>}</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="namespaceripple.html#a6df2b925da138d84451d65ee358323c4"> 107</a></span><a class="code hl_function" href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">operator==</a>(<a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>{</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordflow">return</span> lhs.<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() == rhs.<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>();</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span>}</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="namespaceripple.html#aff96848bc794f635f142eaf72b36aa2b"> 113</a></span><a class="code hl_function" href="classripple_1_1STBase.html#a32ab54e85ae1082a43396f57cb0bf2d8">operator!=</a>(<a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span>{</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">return</span> !<a class="code hl_function" href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">operator==</a>(lhs, rhs);</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span>}</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="namespaceripple.html#a91a0cd3013472da6091b5c7e2e9289a5"> 118</a></span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><a class="code hl_function" href="namespaceripple.html#ab06a7c4d14d99773c29bcfbd0bf81d34">operator&lt;</a>(<a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span>{</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">return</span> lhs.<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() &lt; rhs.<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>();</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span>}</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="namespaceripple.html#a217c64023c97c43687405707aa984c93"> 125</a></span><a class="code hl_function" href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">operator==</a>(<a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span>{</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">return</span> lhs.<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() == rhs;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span>}</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa14ff4a43b91c4650b0dde4432b86a8c"> 130</a></span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span><a class="code hl_function" href="namespaceripple.html#ab06a7c4d14d99773c29bcfbd0bf81d34">operator&lt;</a>(<a class="code hl_class" href="classripple_1_1STCurrency.html">STCurrency</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span>{</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">return</span> lhs.<a class="code hl_function" href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">currency</a>() &lt; rhs;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span>}</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassripple_1_1SField_html"><div class="ttname"><a href="classripple_1_1SField.html">ripple::SField</a></div><div class="ttdoc">Identifies fields.</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00143">SField.h:144</a></div></div>
<div class="ttc" id="aclassripple_1_1STBase_html"><div class="ttname"><a href="classripple_1_1STBase.html">ripple::STBase</a></div><div class="ttdoc">A type which can be exported to a well known binary format.</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8h_source.html#l00123">STBase.h:124</a></div></div>
<div class="ttc" id="aclassripple_1_1STBase_html_a32ab54e85ae1082a43396f57cb0bf2d8"><div class="ttname"><a href="classripple_1_1STBase.html#a32ab54e85ae1082a43396f57cb0bf2d8">ripple::STBase::operator!=</a></div><div class="ttdeci">bool operator!=(const STBase &amp;t) const</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8cpp_source.html#l00050">STBase.cpp:50</a></div></div>
<div class="ttc" id="aclassripple_1_1STBase_html_ae135ed870399690be58580bf3f6a43e1"><div class="ttname"><a href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">ripple::STBase::operator==</a></div><div class="ttdeci">bool operator==(const STBase &amp;t) const</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8cpp_source.html#l00044">STBase.cpp:44</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html"><div class="ttname"><a href="classripple_1_1STCurrency.html">ripple::STCurrency</a></div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00031">STCurrency.h:32</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a1385d24d642f8fa573fd8a6147d828c6"><div class="ttname"><a href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6">ripple::STCurrency::value</a></div><div class="ttdeci">Currency const &amp; value() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00095">STCurrency.h:95</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a2d5d944b6ea324425d815dbd3a2a8458"><div class="ttname"><a href="classripple_1_1STCurrency.html#a2d5d944b6ea324425d815dbd3a2a8458">ripple::STCurrency::isDefault</a></div><div class="ttdeci">bool isDefault() const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00073">STCurrency.cpp:73</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a350b28da7f6899cdc98b6af5482e80c5"><div class="ttname"><a href="classripple_1_1STCurrency.html#a350b28da7f6899cdc98b6af5482e80c5">ripple::STCurrency::currency_</a></div><div class="ttdeci">Currency currency_</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00034">STCurrency.h:34</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a8d5b183d4f9aeff11904f052723a32b7"><div class="ttname"><a href="classripple_1_1STCurrency.html#a8d5b183d4f9aeff11904f052723a32b7">ripple::STCurrency::construct</a></div><div class="ttdeci">static std::unique_ptr&lt; STCurrency &gt; construct(SerialIter &amp;, SField const &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00078">STCurrency.cpp:78</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a8e39b1de9e1852b15a71db01eb0e8131"><div class="ttname"><a href="classripple_1_1STCurrency.html#a8e39b1de9e1852b15a71db01eb0e8131">ripple::STCurrency::move</a></div><div class="ttdeci">STBase * move(std::size_t n, void *buf) override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00090">STCurrency.cpp:90</a></div></div>
<div class="ttc" id="aclassripple_1_1SerialIter_html"><div class="ttname"><a href="classripple_1_1SerialIter.html">ripple::SerialIter</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00311">Serializer.h:311</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html"><div class="ttname"><a href="classripple_1_1STCurrency.html">ripple::STCurrency</a></div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00031">STCurrency.h:31</a></div></div>
<div class="ttc" id="aclassripple_1_1Serializer_html"><div class="ttname"><a href="classripple_1_1Serializer.html">ripple::Serializer</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00040">Serializer.h:40</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_ac3d5849e056432d588ca7a334cac641d"><div class="ttname"><a href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d">ripple::STCurrency::setCurrency</a></div><div class="ttdeci">void setCurrency(Currency const &amp;currency)</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00101">STCurrency.h:101</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&lt; 160, detail::CurrencyTag &gt; 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="astructripple_1_1JsonOptions_html"><div class="ttname"><a href="structripple_1_1JsonOptions.html">ripple::JsonOptions</a></div><div class="ttdoc">Note, should be treated as flags that can be | and &amp;.</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8h_source.html#l00035">STBase.h:35</a></div></div>
<div class="ttc" id="aclassripple_1_1SField_html"><div class="ttname"><a href="classripple_1_1SField.html">ripple::SField</a></div><div class="ttdoc">Identifies fields.</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00141">SField.h:141</a></div></div>
<div class="ttc" id="aclassripple_1_1STBase_html"><div class="ttname"><a href="classripple_1_1STBase.html">ripple::STBase</a></div><div class="ttdoc">A type which can be exported to a well known binary format.</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8h_source.html#l00121">STBase.h:121</a></div></div>
<div class="ttc" id="aclassripple_1_1STBase_html_a32ab54e85ae1082a43396f57cb0bf2d8"><div class="ttname"><a href="classripple_1_1STBase.html#a32ab54e85ae1082a43396f57cb0bf2d8">ripple::STBase::operator!=</a></div><div class="ttdeci">bool operator!=(const STBase &amp;t) const</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8cpp_source.html#l00051">STBase.cpp:51</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="aclassripple_1_1STCurrency_html_a5e49bd8b743617d1af92ffed7ac6b665"><div class="ttname"><a href="classripple_1_1STCurrency.html#a5e49bd8b743617d1af92ffed7ac6b665">ripple::STCurrency::STVar</a></div><div class="ttdeci">friend class detail::STVar</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00082">STCurrency.h:82</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a6b4b203cee334f9bbfcd3684d71ecc00"><div class="ttname"><a href="classripple_1_1STCurrency.html#a6b4b203cee334f9bbfcd3684d71ecc00">ripple::STCurrency::add</a></div><div class="ttdeci">void add(Serializer &amp;s) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00060">STCurrency.cpp:60</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a77577ca4305455f72d22eabeade3d5bc"><div class="ttname"><a href="classripple_1_1STCurrency.html#a77577ca4305455f72d22eabeade3d5bc">ripple::STCurrency::getSType</a></div><div class="ttdeci">SerializedTypeID getSType() const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00042">STCurrency.cpp:42</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a9cefd7d953e0ad9bd8e00a8f105621ca"><div class="ttname"><a href="classripple_1_1STCurrency.html#a9cefd7d953e0ad9bd8e00a8f105621ca">ripple::STCurrency::copy</a></div><div class="ttdeci">STBase * copy(std::size_t n, void *buf) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00084">STCurrency.cpp:84</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a1385d24d642f8fa573fd8a6147d828c6"><div class="ttname"><a href="classripple_1_1STCurrency.html#a1385d24d642f8fa573fd8a6147d828c6">ripple::STCurrency::value</a></div><div class="ttdeci">Currency const &amp; value() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00095">STCurrency.h:95</a></div></div>
<div class="ttc" id="aclassripple_1_1STBase_html_ae135ed870399690be58580bf3f6a43e1"><div class="ttname"><a href="classripple_1_1STBase.html#ae135ed870399690be58580bf3f6a43e1">ripple::STBase::operator==</a></div><div class="ttdeci">bool operator==(const STBase &amp;t) const</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8cpp_source.html#l00045">STBase.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_ab71aacd7f6769eae523f4a9a32e1ece1"><div class="ttname"><a href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">ripple::STCurrency::currency</a></div><div class="ttdeci">Currency const &amp; currency() const</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00089">STCurrency.h:89</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a792de3f4580f1f0c69a6178a581255f3"><div class="ttname"><a href="classripple_1_1STCurrency.html#a792de3f4580f1f0c69a6178a581255f3">ripple::STCurrency::getJson</a></div><div class="ttdeci">Json::Value getJson(JsonOptions) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00053">STCurrency.cpp:53</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a792de3f4580f1f0c69a6178a581255f3"><div class="ttname"><a href="classripple_1_1STCurrency.html#a792de3f4580f1f0c69a6178a581255f3">ripple::STCurrency::getJson</a></div><div class="ttdeci">Json::Value getJson(JsonOptions) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00054">STCurrency.cpp:54</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a7ea2402d359c5562cb81c83687449bee"><div class="ttname"><a href="classripple_1_1STCurrency.html#a7ea2402d359c5562cb81c83687449bee">ripple::STCurrency::STCurrency</a></div><div class="ttdeci">STCurrency()=default</div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a8723de9d23e897328611843bb6e905d5"><div class="ttname"><a href="classripple_1_1STCurrency.html#a8723de9d23e897328611843bb6e905d5">ripple::STCurrency::getText</a></div><div class="ttdeci">std::string getText() const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00048">STCurrency.cpp:48</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a87d53e22a0677693af8a3bac59204e8f"><div class="ttname"><a href="classripple_1_1STCurrency.html#a87d53e22a0677693af8a3bac59204e8f">ripple::STCurrency::isEquivalent</a></div><div class="ttdeci">bool isEquivalent(const STBase &amp;t) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00066">STCurrency.cpp:66</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a8d5b183d4f9aeff11904f052723a32b7"><div class="ttname"><a href="classripple_1_1STCurrency.html#a8d5b183d4f9aeff11904f052723a32b7">ripple::STCurrency::construct</a></div><div class="ttdeci">static std::unique_ptr&lt; STCurrency &gt; construct(SerialIter &amp;, SField const &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00079">STCurrency.cpp:79</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a8e39b1de9e1852b15a71db01eb0e8131"><div class="ttname"><a href="classripple_1_1STCurrency.html#a8e39b1de9e1852b15a71db01eb0e8131">ripple::STCurrency::move</a></div><div class="ttdeci">STBase * move(std::size_t n, void *buf) override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00091">STCurrency.cpp:91</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_a9cefd7d953e0ad9bd8e00a8f105621ca"><div class="ttname"><a href="classripple_1_1STCurrency.html#a9cefd7d953e0ad9bd8e00a8f105621ca">ripple::STCurrency::copy</a></div><div class="ttdeci">STBase * copy(std::size_t n, void *buf) const override</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00085">STCurrency.cpp:85</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_ab71aacd7f6769eae523f4a9a32e1ece1"><div class="ttname"><a href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">ripple::STCurrency::currency</a></div><div class="ttdeci">Currency const &amp; currency() const</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00089">STCurrency.h:89</a></div></div>
<div class="ttc" id="aclassripple_1_1STCurrency_html_ac3d5849e056432d588ca7a334cac641d"><div class="ttname"><a href="classripple_1_1STCurrency.html#ac3d5849e056432d588ca7a334cac641d">ripple::STCurrency::setCurrency</a></div><div class="ttdeci">void setCurrency(Currency const &amp;currency)</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00101">STCurrency.h:101</a></div></div>
<div class="ttc" id="aclassripple_1_1SerialIter_html"><div class="ttname"><a href="classripple_1_1SerialIter.html">ripple::SerialIter</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00345">Serializer.h:346</a></div></div>
<div class="ttc" id="aclassripple_1_1Serializer_html"><div class="ttname"><a href="classripple_1_1Serializer.html">ripple::Serializer</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00040">Serializer.h:41</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&lt; 160, detail::CurrencyTag &gt;</a></div></div>
<div class="ttc" id="anamespaceJson_html"><div class="ttname"><a href="namespaceJson.html">Json</a></div><div class="ttdoc">JSON (JavaScript Object Notation).</div><div class="ttdef"><b>Definition:</b> <a href="json__errors_8h_source.html#l00025">json_errors.h:25</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="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
<div class="ttc" id="anamespaceripple_html_a2f6ecb5c0671c8eae429821a6456b704"><div class="ttname"><a href="namespaceripple.html#a2f6ecb5c0671c8eae429821a6456b704">ripple::currencyFromJson</a></div><div class="ttdeci">STCurrency currencyFromJson(SField const &amp;name, Json::Value const &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8cpp_source.html#l00097">STCurrency.cpp:97</a></div></div>
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fc"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fc">ripple::SerializedTypeID</a></div><div class="ttdeci">SerializedTypeID</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00108">SField.h:108</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&lt; 160, detail::CurrencyTag &gt; 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_ab06a7c4d14d99773c29bcfbd0bf81d34"><div class="ttname"><a href="namespaceripple.html#ab06a7c4d14d99773c29bcfbd0bf81d34">ripple::operator&lt;</a></div><div class="ttdeci">bool operator&lt;(Slice const &amp;lhs, Slice const &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00221">Slice.h:222</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="astructripple_1_1JsonOptions_html"><div class="ttname"><a href="structripple_1_1JsonOptions.html">ripple::JsonOptions</a></div><div class="ttdoc">Note, should be treated as flags that can be | and &amp;.</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8h_source.html#l00035">STBase.h:36</a></div></div>
</div><!-- fragment --></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
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.5
</small></address>
</body>
</html>