mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
348 lines
55 KiB
HTML
348 lines
55 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: STVar.cpp 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><li class="navelem"><a class="el" href="dir_41c387a0f328eeb295307369675c1162.html">impl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">STVar.cpp</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) 2012, 2013 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">#include <ripple/basics/contract.h></span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <ripple/protocol/STAccount.h></span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <ripple/protocol/STAmount.h></span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/protocol/STArray.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/protocol/STBase.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/protocol/STBitString.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/protocol/STBlob.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <ripple/protocol/STInteger.h></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <ripple/protocol/STObject.h></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <ripple/protocol/STPathSet.h></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <ripple/protocol/STVector256.h></span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <ripple/protocol/impl/STVar.h></span></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">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span>detail {</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#ad7cc030b8a64621b81be32a2dc7ad84f"> 36</a></span> <a class="code" href="structripple_1_1detail_1_1defaultObject__t.html">defaultObject_t</a> <a class="code" href="namespaceripple_1_1detail.html#ad7cc030b8a64621b81be32a2dc7ad84f">defaultObject</a>;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#a8b142da3d10ee6d6b09c707724ca3c80"> 37</a></span> <a class="code" href="structripple_1_1detail_1_1nonPresentObject__t.html">nonPresentObject_t</a> <a class="code" href="namespaceripple_1_1detail.html#a8b142da3d10ee6d6b09c707724ca3c80">nonPresentObject</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="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a606ae2ee65040b937e2f69a3859b2a6c"> 41</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#a606ae2ee65040b937e2f69a3859b2a6c">STVar::~STVar</a>()</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> {</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#a2b8738b0222f0a3d3450ea0160245d07">destroy</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>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a57074f2327bfcb91d1c13d07a42497bc"> 46</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">STVar::STVar</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a> <span class="keyword">const</span>& other)</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>  <span class="keywordflow">if</span> (other.<a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> != <span class="keyword">nullptr</span>)</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = other.<a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a>-><a class="code" href="classripple_1_1STBase.html#aed5deead1fe850667301dfc9c58320bb">copy</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html#ae310c8027e617dbe98e4879863c9f2ef">max_size</a>, &<a class="code" href="classripple_1_1detail_1_1STVar.html#a3686c057bdc749c7e15ea110de7a4a1e">d_</a>);</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a54c7b95b061b32f31c78de68d1aa78f2"> 52</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">STVar::STVar</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a>&& other)</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span> (other.on_heap())</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = other.p_;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  other.p_ = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">else</span></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  {</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = other.p_-><a class="code" href="classripple_1_1STBase.html#a0ab863d0b635b5ff22f7f718d0581090">move</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html#ae310c8027e617dbe98e4879863c9f2ef">max_size</a>, &<a class="code" href="classripple_1_1detail_1_1STVar.html#a3686c057bdc749c7e15ea110de7a4a1e">d_</a>);</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a>&</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a2aee7cce7bf12d61bd0a747ab3b285be"> 66</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#a2aee7cce7bf12d61bd0a747ab3b285be">STVar::operator=</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a> <span class="keyword">const</span>& rhs)</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> {</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">if</span> (&rhs != <span class="keyword">this</span>)</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  {</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#a2b8738b0222f0a3d3450ea0160245d07">destroy</a>();</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (rhs.<a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a>)</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = rhs.<a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a>-><a class="code" href="classripple_1_1STBase.html#aed5deead1fe850667301dfc9c58320bb">copy</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html#ae310c8027e617dbe98e4879863c9f2ef">max_size</a>, &<a class="code" href="classripple_1_1detail_1_1STVar.html#a3686c057bdc749c7e15ea110de7a4a1e">d_</a>);</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">else</span></div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</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> *<span class="keyword">this</span>;</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="l00080"></a><span class="lineno"> 80</span> <a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a>&</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a4b9ae0aef0ee551063f4f214670f8a7e"> 81</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#a2aee7cce7bf12d61bd0a747ab3b285be">STVar::operator=</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a>&& rhs)</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> {</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (&rhs != <span class="keyword">this</span>)</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#a2b8738b0222f0a3d3450ea0160245d07">destroy</a>();</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">if</span> (rhs.on_heap())</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  {</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = rhs.p_;</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  rhs.p_ = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">else</span></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = rhs.p_-><a class="code" href="classripple_1_1STBase.html#a0ab863d0b635b5ff22f7f718d0581090">move</a>(<a class="code" href="classripple_1_1detail_1_1STVar.html#ae310c8027e617dbe98e4879863c9f2ef">max_size</a>, &<a class="code" href="classripple_1_1detail_1_1STVar.html#a3686c057bdc749c7e15ea110de7a4a1e">d_</a>);</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  }</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> }</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a291576558884e4135deec3ed224e191e"> 100</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">STVar::STVar</a>(<a class="code" href="structripple_1_1detail_1_1defaultObject__t.html">defaultObject_t</a>, <a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>& name) : <a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a>(name.fieldType, name)</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</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>  </div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a96fcaa352b058321de39a78c31a4f350"> 104</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">STVar::STVar</a>(<a class="code" href="structripple_1_1detail_1_1nonPresentObject__t.html">nonPresentObject_t</a>, <a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>& name)</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  : <a class="code" href="classripple_1_1detail_1_1STVar.html">STVar</a>(<a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcab76fc75f48af6057a33e305910d0b5a7">STI_NOTPRESENT</a>, name)</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> {</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#aad9e2b2923389e2d1b3292cb265b930d"> 109</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">STVar::STVar</a>(<a class="code" href="classripple_1_1SerialIter.html">SerialIter</a>& sit, <a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>& name, <span class="keywordtype">int</span> depth)</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span> (depth > 10)</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  Throw<std::runtime_error>(<span class="stringliteral">"Maximum nesting depth of STVar exceeded"</span>);</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">switch</span> (name.fieldType)</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  {</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcab76fc75f48af6057a33e305910d0b5a7">STI_NOTPRESENT</a>:</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  construct<STBase>(name);</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca91b480e12d1363d3655e7449e81035c1">STI_UINT8</a>:</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  construct<STUInt8>(sit, name);</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca16f47bc1d2fca30a0238f36ea0e19f0e">STI_UINT16</a>:</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  construct<STUInt16>(sit, name);</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaf2f00d7ff3c3f0cc9621092296ae2360">STI_UINT32</a>:</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  construct<STUInt32>(sit, name);</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca1d177e64ddc99aa59301e1a2c9181c23">STI_UINT64</a>:</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  construct<STUInt64>(sit, name);</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaab5dbff88c1be883ec12b49a359d2080">STI_AMOUNT</a>:</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  construct<STAmount>(sit, name);</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca9f00a87aa1d5a83c8a38bc8ec90d7bc9">STI_UINT128</a>:</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  construct<STUInt128>(sit, name);</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5ec5c05e74a028e5edbf6de00c7e03e2">STI_UINT160</a>:</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  construct<STUInt160>(sit, name);</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca334be1f1d90a3285ddbe34a5d9b76cae">STI_UINT256</a>:</div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  construct<STUInt256>(sit, name);</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaeaa9cf802e71e6cc4311ee75d896d809">STI_VECTOR256</a>:</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  construct<STVector256>(sit, name);</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaa3610a30b588fe726c634dc99b90fdde">STI_VL</a>:</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  construct<STBlob>(sit, name);</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5752fbabcb9d6425971b3043ba1f2ab9">STI_ACCOUNT</a>:</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  construct<STAccount>(sit, name);</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5c103c5978cb8502842c10dfbae88e7c">STI_PATHSET</a>:</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  construct<STPathSet>(sit, name);</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca25713e3bf675f93eaf769eb23f025f01">STI_OBJECT</a>:</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  construct<STObject>(sit, name, depth);</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca878733aa4695905ac5e71c53baf687c6">STI_ARRAY</a>:</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  construct<STArray>(sit, name, depth);</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">default</span>:</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  Throw<std::runtime_error>(<span class="stringliteral">"Unknown object type"</span>);</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> }</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a785e0f95b99a7f90590222b803d2435c"> 165</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">STVar::STVar</a>(<a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fc">SerializedTypeID</a> <span class="keywordtype">id</span>, <a class="code" href="classripple_1_1SField.html">SField</a> <span class="keyword">const</span>& name)</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> {</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  assert((<span class="keywordtype">id</span> == <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcab76fc75f48af6057a33e305910d0b5a7">STI_NOTPRESENT</a>) || (<span class="keywordtype">id</span> == name.fieldType));</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">switch</span> (<span class="keywordtype">id</span>)</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  {</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcab76fc75f48af6057a33e305910d0b5a7">STI_NOTPRESENT</a>:</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  construct<STBase>(name);</div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca91b480e12d1363d3655e7449e81035c1">STI_UINT8</a>:</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  construct<STUInt8>(name);</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca16f47bc1d2fca30a0238f36ea0e19f0e">STI_UINT16</a>:</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  construct<STUInt16>(name);</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaf2f00d7ff3c3f0cc9621092296ae2360">STI_UINT32</a>:</div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  construct<STUInt32>(name);</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca1d177e64ddc99aa59301e1a2c9181c23">STI_UINT64</a>:</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  construct<STUInt64>(name);</div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaab5dbff88c1be883ec12b49a359d2080">STI_AMOUNT</a>:</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  construct<STAmount>(name);</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca9f00a87aa1d5a83c8a38bc8ec90d7bc9">STI_UINT128</a>:</div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  construct<STUInt128>(name);</div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5ec5c05e74a028e5edbf6de00c7e03e2">STI_UINT160</a>:</div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  construct<STUInt160>(name);</div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca334be1f1d90a3285ddbe34a5d9b76cae">STI_UINT256</a>:</div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  construct<STUInt256>(name);</div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaeaa9cf802e71e6cc4311ee75d896d809">STI_VECTOR256</a>:</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  construct<STVector256>(name);</div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaa3610a30b588fe726c634dc99b90fdde">STI_VL</a>:</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  construct<STBlob>(name);</div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5752fbabcb9d6425971b3043ba1f2ab9">STI_ACCOUNT</a>:</div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  construct<STAccount>(name);</div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5c103c5978cb8502842c10dfbae88e7c">STI_PATHSET</a>:</div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  construct<STPathSet>(name);</div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca25713e3bf675f93eaf769eb23f025f01">STI_OBJECT</a>:</div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  construct<STObject>(name);</div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordflow">case</span> <a class="code" href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca878733aa4695905ac5e71c53baf687c6">STI_ARRAY</a>:</div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  construct<STArray>(name);</div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordflow">default</span>:</div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  Throw<std::runtime_error>(<span class="stringliteral">"Unknown object type"</span>);</div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> }</div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classripple_1_1detail_1_1STVar.html#a2b8738b0222f0a3d3450ea0160245d07"> 221</a></span> <a class="code" href="classripple_1_1detail_1_1STVar.html#a2b8738b0222f0a3d3450ea0160245d07">STVar::destroy</a>()</div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> {</div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">if</span> (<a class="code" href="classripple_1_1detail_1_1STVar.html#ad6878c35ceb36e824337e89b6d60f838">on_heap</a>())</div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keyword">delete</span> <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a>;</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">else</span></div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a>-><a class="code" href="classripple_1_1STBase.html#a13fd1a55f6a5344882aa2dd452868f81">~STBase</a>();</div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">p_</a> = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> } <span class="comment">// namespace detail</span></div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> } <span class="comment">// namespace ripple</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_ae310c8027e617dbe98e4879863c9f2ef"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#ae310c8027e617dbe98e4879863c9f2ef">ripple::detail::STVar::max_size</a></div><div class="ttdeci">static constexpr std::size_t max_size</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00053">STVar.h:53</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1detail_html_ad7cc030b8a64621b81be32a2dc7ad84f"><div class="ttname"><a href="namespaceripple_1_1detail.html#ad7cc030b8a64621b81be32a2dc7ad84f">ripple::detail::defaultObject</a></div><div class="ttdeci">defaultObject_t defaultObject</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8cpp_source.html#l00036">STVar.cpp:36</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_a2aee7cce7bf12d61bd0a747ab3b285be"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#a2aee7cce7bf12d61bd0a747ab3b285be">ripple::detail::STVar::operator=</a></div><div class="ttdeci">STVar & operator=(STVar const &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8cpp_source.html#l00066">STVar.cpp:66</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca9f00a87aa1d5a83c8a38bc8ec90d7bc9"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca9f00a87aa1d5a83c8a38bc8ec90d7bc9">ripple::STI_UINT128</a></div><div class="ttdeci">@ STI_UINT128</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00061">SField.h:61</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1detail_1_1defaultObject__t_html"><div class="ttname"><a href="structripple_1_1detail_1_1defaultObject__t.html">ripple::detail::defaultObject_t</a></div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00034">STVar.h:34</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1STBase_html_aed5deead1fe850667301dfc9c58320bb"><div class="ttname"><a href="classripple_1_1STBase.html#aed5deead1fe850667301dfc9c58320bb">ripple::STBase::copy</a></div><div class="ttdeci">virtual STBase * copy(std::size_t n, void *buf) const</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8cpp_source.html#l00057">STBase.cpp:57</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fcaab5dbff88c1be883ec12b49a359d2080"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaab5dbff88c1be883ec12b49a359d2080">ripple::STI_AMOUNT</a></div><div class="ttdeci">@ STI_AMOUNT</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00063">SField.h:63</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca91b480e12d1363d3655e7449e81035c1"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca91b480e12d1363d3655e7449e81035c1">ripple::STI_UINT8</a></div><div class="ttdeci">@ STI_UINT8</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00071">SField.h:71</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca5c103c5978cb8502842c10dfbae88e7c"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5c103c5978cb8502842c10dfbae88e7c">ripple::STI_PATHSET</a></div><div class="ttdeci">@ STI_PATHSET</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00073">SField.h:73</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#l00052">SField.h:52</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca5ec5c05e74a028e5edbf6de00c7e03e2"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5ec5c05e74a028e5edbf6de00c7e03e2">ripple::STI_UINT160</a></div><div class="ttdeci">@ STI_UINT160</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00072">SField.h:72</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca5752fbabcb9d6425971b3043ba1f2ab9"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca5752fbabcb9d6425971b3043ba1f2ab9">ripple::STI_ACCOUNT</a></div><div class="ttdeci">@ STI_ACCOUNT</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00065">SField.h:65</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca878733aa4695905ac5e71c53baf687c6"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca878733aa4695905ac5e71c53baf687c6">ripple::STI_ARRAY</a></div><div class="ttdeci">@ STI_ARRAY</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00068">SField.h:68</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_aec52e95449fbbe583ed8b283ce6ba586"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#aec52e95449fbbe583ed8b283ce6ba586">ripple::detail::STVar::p_</a></div><div class="ttdeci">STBase * p_</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00056">STVar.h:56</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1detail_1_1nonPresentObject__t_html"><div class="ttname"><a href="structripple_1_1detail_1_1nonPresentObject__t.html">ripple::detail::nonPresentObject_t</a></div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00039">STVar.h:39</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_a3686c057bdc749c7e15ea110de7a4a1e"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#a3686c057bdc749c7e15ea110de7a4a1e">ripple::detail::STVar::d_</a></div><div class="ttdeci">std::aligned_storage< max_size >::type d_</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00055">STVar.h:55</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1detail_html_a8b142da3d10ee6d6b09c707724ca3c80"><div class="ttname"><a href="namespaceripple_1_1detail.html#a8b142da3d10ee6d6b09c707724ca3c80">ripple::detail::nonPresentObject</a></div><div class="ttdeci">nonPresentObject_t nonPresentObject</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8cpp_source.html#l00037">STVar.cpp:37</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_a2b8738b0222f0a3d3450ea0160245d07"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#a2b8738b0222f0a3d3450ea0160245d07">ripple::detail::STVar::destroy</a></div><div class="ttdeci">void destroy()</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8cpp_source.html#l00221">STVar.cpp:221</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fcaa3610a30b588fe726c634dc99b90fdde"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaa3610a30b588fe726c634dc99b90fdde">ripple::STI_VL</a></div><div class="ttdeci">@ STI_VL</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00064">SField.h:64</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca16f47bc1d2fca30a0238f36ea0e19f0e"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca16f47bc1d2fca30a0238f36ea0e19f0e">ripple::STI_UINT16</a></div><div class="ttdeci">@ STI_UINT16</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00058">SField.h:58</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#l00310">Serializer.h:310</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fcaeaa9cf802e71e6cc4311ee75d896d809"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaeaa9cf802e71e6cc4311ee75d896d809">ripple::STI_VECTOR256</a></div><div class="ttdeci">@ STI_VECTOR256</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00074">SField.h:74</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fcaf2f00d7ff3c3f0cc9621092296ae2360"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcaf2f00d7ff3c3f0cc9621092296ae2360">ripple::STI_UINT32</a></div><div class="ttdeci">@ STI_UINT32</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00059">SField.h:59</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="aclassripple_1_1STBase_html_a13fd1a55f6a5344882aa2dd452868f81"><div class="ttname"><a href="classripple_1_1STBase.html#a13fd1a55f6a5344882aa2dd452868f81">ripple::STBase::~STBase</a></div><div class="ttdeci">virtual ~STBase()=default</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#l00112">SField.h:112</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca1d177e64ddc99aa59301e1a2c9181c23"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca1d177e64ddc99aa59301e1a2c9181c23">ripple::STI_UINT64</a></div><div class="ttdeci">@ STI_UINT64</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00060">SField.h:60</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1STBase_html_a0ab863d0b635b5ff22f7f718d0581090"><div class="ttname"><a href="classripple_1_1STBase.html#a0ab863d0b635b5ff22f7f718d0581090">ripple::STBase::move</a></div><div class="ttdeci">virtual STBase * move(std::size_t n, void *buf)</div><div class="ttdef"><b>Definition:</b> <a href="STBase_8cpp_source.html#l00063">STBase.cpp:63</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca25713e3bf675f93eaf769eb23f025f01"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca25713e3bf675f93eaf769eb23f025f01">ripple::STI_OBJECT</a></div><div class="ttdeci">@ STI_OBJECT</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00067">SField.h:67</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fca334be1f1d90a3285ddbe34a5d9b76cae"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fca334be1f1d90a3285ddbe34a5d9b76cae">ripple::STI_UINT256</a></div><div class="ttdeci">@ STI_UINT256</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00062">SField.h:62</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html">ripple::detail::STVar</a></div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00049">STVar.h:49</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_a606ae2ee65040b937e2f69a3859b2a6c"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#a606ae2ee65040b937e2f69a3859b2a6c">ripple::detail::STVar::~STVar</a></div><div class="ttdeci">~STVar()</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8cpp_source.html#l00041">STVar.cpp:41</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a3e7e3f29aef85bcca06706da54e950fcab76fc75f48af6057a33e305910d0b5a7"><div class="ttname"><a href="namespaceripple.html#a3e7e3f29aef85bcca06706da54e950fcab76fc75f48af6057a33e305910d0b5a7">ripple::STI_NOTPRESENT</a></div><div class="ttdeci">@ STI_NOTPRESENT</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00055">SField.h:55</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_ad6878c35ceb36e824337e89b6d60f838"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#ad6878c35ceb36e824337e89b6d60f838">ripple::detail::STVar::on_heap</a></div><div class="ttdeci">bool on_heap() const</div><div class="ttdef"><b>Definition:</b> <a href="STVar_8h_source.html#l00135">STVar.h:135</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1detail_1_1STVar_html_af3eea17835554db68e2dfe87a9665f00"><div class="ttname"><a href="classripple_1_1detail_1_1STVar.html#af3eea17835554db68e2dfe87a9665f00">ripple::detail::STVar::STVar</a></div><div class="ttdeci">STVar()=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>
|