mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
deploy: 020b285808
This commit is contained in:
157
STParsedJSON_8h_source.html
Normal file
157
STParsedJSON_8h_source.html
Normal file
@@ -0,0 +1,157 @@
|
||||
<!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: STParsedJSON.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">rippled
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_1e765e6a8d5970800a535eb2615ec474.html">protocol</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">STParsedJSON.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 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">#ifndef RIPPLE_PROTOCOL_STPARSEDJSON_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_PROTOCOL_STPARSEDJSON_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/protocol/STArray.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <boost/optional.hpp></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classripple_1_1STParsedJSONObject.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1STParsedJSONObject.html">STParsedJSONObject</a></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="classripple_1_1STParsedJSONObject.html#a82b1dc2203506444a0f5175a874739d5">STParsedJSONObject</a> (<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& json);</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_1STParsedJSONObject.html#a82b1dc2203506444a0f5175a874739d5">STParsedJSONObject</a> () = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classripple_1_1STParsedJSONObject.html#a82b1dc2203506444a0f5175a874739d5">STParsedJSONObject</a> (<a class="code" href="classripple_1_1STParsedJSONObject.html">STParsedJSONObject</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classripple_1_1STParsedJSONObject.html">STParsedJSONObject</a>& <a class="code" href="classripple_1_1STParsedJSONObject.html#adfd641d0cb026d53d969dfe8a10a70a5">operator= </a>(<a class="code" href="classripple_1_1STParsedJSONObject.html">STParsedJSONObject</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classripple_1_1STParsedJSONObject.html#a9c29b76523d67e9851d0621f055c2e27">~STParsedJSONObject</a> () = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classripple_1_1STParsedJSONObject.html#aa0229aee8ade6fa3c00b5ffa47a66f52"> 49</a></span>  boost::optional <STObject> <a class="code" href="classripple_1_1STParsedJSONObject.html#aa0229aee8ade6fa3c00b5ffa47a66f52">object</a>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classripple_1_1STParsedJSONObject.html#a75ae1e4c096f722a17614c58d8b284a4"> 52</a></span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a> <a class="code" href="classripple_1_1STParsedJSONObject.html#a75ae1e4c096f722a17614c58d8b284a4">error</a>;</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>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classripple_1_1STParsedJSONArray.html"> 58</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1STParsedJSONArray.html">STParsedJSONArray</a></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="classripple_1_1STParsedJSONArray.html#aff64a5a6805ea010242118eecaab8436">STParsedJSONArray</a> (<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& json);</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_1STParsedJSONArray.html#aff64a5a6805ea010242118eecaab8436">STParsedJSONArray</a> () = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classripple_1_1STParsedJSONArray.html#aff64a5a6805ea010242118eecaab8436">STParsedJSONArray</a> (<a class="code" href="classripple_1_1STParsedJSONArray.html">STParsedJSONArray</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classripple_1_1STParsedJSONArray.html">STParsedJSONArray</a>& <a class="code" href="classripple_1_1STParsedJSONArray.html#afb55b2fc969d7f7aaa83ebeef821cc53">operator= </a>(<a class="code" href="classripple_1_1STParsedJSONArray.html">STParsedJSONArray</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classripple_1_1STParsedJSONArray.html#ad60bfc250d6a97b12fadb4402e21a7cd">~STParsedJSONArray</a> () = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classripple_1_1STParsedJSONArray.html#abc80be41fb3e8e21ba2f4856dc1f4f7d"> 76</a></span>  boost::optional <STArray> <a class="code" href="classripple_1_1STParsedJSONArray.html#abc80be41fb3e8e21ba2f4856dc1f4f7d">array</a>;</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1STParsedJSONArray.html#a23b8770e3b98ec8b116b56eb33e62aa7"> 79</a></span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a> <a class="code" href="classripple_1_1STParsedJSONArray.html#a23b8770e3b98ec8b116b56eb33e62aa7">error</a>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> };</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </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>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> } <span class="comment">// ripple</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONArray_html_ad60bfc250d6a97b12fadb4402e21a7cd"><div class="ttname"><a href="classripple_1_1STParsedJSONArray.html#ad60bfc250d6a97b12fadb4402e21a7cd">ripple::STParsedJSONArray::~STParsedJSONArray</a></div><div class="ttdeci">~STParsedJSONArray()=default</div></div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONArray_html_a23b8770e3b98ec8b116b56eb33e62aa7"><div class="ttname"><a href="classripple_1_1STParsedJSONArray.html#a23b8770e3b98ec8b116b56eb33e62aa7">ripple::STParsedJSONArray::error</a></div><div class="ttdeci">Json::Value error</div><div class="ttdoc">On failure, an appropriate set of error values.</div><div class="ttdef"><b>Definition:</b> <a href="STParsedJSON_8h_source.html#l00079">STParsedJSON.h:79</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONObject_html"><div class="ttname"><a href="classripple_1_1STParsedJSONObject.html">ripple::STParsedJSONObject</a></div><div class="ttdoc">Holds the serialized result of parsing an input JSON object.</div><div class="ttdef"><b>Definition:</b> <a href="STParsedJSON_8h_source.html#l00031">STParsedJSON.h:31</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONObject_html_adfd641d0cb026d53d969dfe8a10a70a5"><div class="ttname"><a href="classripple_1_1STParsedJSONObject.html#adfd641d0cb026d53d969dfe8a10a70a5">ripple::STParsedJSONObject::operator=</a></div><div class="ttdeci">STParsedJSONObject & operator=(STParsedJSONObject const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONObject_html_a75ae1e4c096f722a17614c58d8b284a4"><div class="ttname"><a href="classripple_1_1STParsedJSONObject.html#a75ae1e4c096f722a17614c58d8b284a4">ripple::STParsedJSONObject::error</a></div><div class="ttdeci">Json::Value error</div><div class="ttdoc">On failure, an appropriate set of error values.</div><div class="ttdef"><b>Definition:</b> <a href="STParsedJSON_8h_source.html#l00052">STParsedJSON.h:52</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONArray_html_afb55b2fc969d7f7aaa83ebeef821cc53"><div class="ttname"><a href="classripple_1_1STParsedJSONArray.html#afb55b2fc969d7f7aaa83ebeef821cc53">ripple::STParsedJSONArray::operator=</a></div><div class="ttdeci">STParsedJSONArray & operator=(STParsedJSONArray const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONObject_html_aa0229aee8ade6fa3c00b5ffa47a66f52"><div class="ttname"><a href="classripple_1_1STParsedJSONObject.html#aa0229aee8ade6fa3c00b5ffa47a66f52">ripple::STParsedJSONObject::object</a></div><div class="ttdeci">boost::optional< STObject > object</div><div class="ttdoc">The STObject if the parse was successful.</div><div class="ttdef"><b>Definition:</b> <a href="STParsedJSON_8h_source.html#l00049">STParsedJSON.h:49</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONArray_html_aff64a5a6805ea010242118eecaab8436"><div class="ttname"><a href="classripple_1_1STParsedJSONArray.html#aff64a5a6805ea010242118eecaab8436">ripple::STParsedJSONArray::STParsedJSONArray</a></div><div class="ttdeci">STParsedJSONArray()=delete</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_1STParsedJSONArray_html_abc80be41fb3e8e21ba2f4856dc1f4f7d"><div class="ttname"><a href="classripple_1_1STParsedJSONArray.html#abc80be41fb3e8e21ba2f4856dc1f4f7d">ripple::STParsedJSONArray::array</a></div><div class="ttdeci">boost::optional< STArray > array</div><div class="ttdoc">The STArray if the parse was successful.</div><div class="ttdef"><b>Definition:</b> <a href="STParsedJSON_8h_source.html#l00076">STParsedJSON.h:76</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONObject_html_a82b1dc2203506444a0f5175a874739d5"><div class="ttname"><a href="classripple_1_1STParsedJSONObject.html#a82b1dc2203506444a0f5175a874739d5">ripple::STParsedJSONObject::STParsedJSONObject</a></div><div class="ttdeci">STParsedJSONObject()=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONArray_html"><div class="ttname"><a href="classripple_1_1STParsedJSONArray.html">ripple::STParsedJSONArray</a></div><div class="ttdoc">Holds the serialized result of parsing an input JSON array.</div><div class="ttdef"><b>Definition:</b> <a href="STParsedJSON_8h_source.html#l00058">STParsedJSON.h:58</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STParsedJSONObject_html_a9c29b76523d67e9851d0621f055c2e27"><div class="ttname"><a href="classripple_1_1STParsedJSONObject.html#a9c29b76523d67e9851d0621f055c2e27">ripple::STParsedJSONObject::~STParsedJSONObject</a></div><div class="ttdeci">~STParsedJSONObject()=default</div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00141">json_value.h:141</a></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>
|
||||
Reference in New Issue
Block a user