dash-docs/en/doxygen/html/univalue_8cpp.html

240 lines
17 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Dash Core: src/univalue/lib/univalue.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Dash Core
&#160;<span id="projectnumber">0.12.2.1</span>
</div>
<div id="projectbrief">P2P Digital Currency</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('univalue_8cpp.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">univalue.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;errno.h&gt;</code><br />
<code>#include &lt;iomanip&gt;</code><br />
<code>#include &lt;limits&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;stdexcept&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;<a class="el" href="univalue_8h_source.html">univalue.h</a>&quot;</code><br />
</div>
<p><a href="univalue_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a05c656ea8038a4b0a3e499c9047bce06"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="univalue_8cpp.html#a05c656ea8038a4b0a3e499c9047bce06">validNumStr</a> (const string &amp;s)</td></tr>
<tr class="separator:a05c656ea8038a4b0a3e499c9047bce06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa037153cdbc98dd3683ff1918dc70932"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="univalue_8cpp.html#aa037153cdbc98dd3683ff1918dc70932">uvTypeName</a> (<a class="el" href="classUniValue.html#a2f9803e567ede73e88302b01e394cc63">UniValue::VType</a> t)</td></tr>
<tr class="separator:aa037153cdbc98dd3683ff1918dc70932"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33625d562f1ef5f44ceb171d5c8f2a85"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUniValue.html">UniValue</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="univalue_8cpp.html#a33625d562f1ef5f44ceb171d5c8f2a85">find_value</a> (const <a class="el" href="classUniValue.html">UniValue</a> &amp;obj, const std::string &amp;<a class="el" href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr>
<tr class="separator:a33625d562f1ef5f44ceb171d5c8f2a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ab1cbd3b775dba07c37095e995b57e91e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUniValue.html">UniValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="univalue_8cpp.html#ab1cbd3b775dba07c37095e995b57e91e">NullUniValue</a></td></tr>
<tr class="separator:ab1cbd3b775dba07c37095e995b57e91e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a33625d562f1ef5f44ceb171d5c8f2a85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33625d562f1ef5f44ceb171d5c8f2a85">&#9670;&nbsp;</a></span>find_value()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classUniValue.html">UniValue</a>&amp; find_value </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classUniValue.html">UniValue</a> &amp;&#160;</td>
<td class="paramname"><em>obj</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="univalue_8cpp_source.html#l00280">280</a> of file <a class="el" href="univalue_8cpp_source.html">univalue.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dash-cli_8cpp_source.html#l00236">CommandLineRPC()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00358">createrawtransaction()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00526">decodescript()</a>, <a class="el" href="misc_8cpp_source.html#l00721">getaddressdeltas()</a>, <a class="el" href="misc_8cpp_source.html#l00537">getAddressesFromParams()</a>, <a class="el" href="misc_8cpp_source.html#l00865">getaddresstxids()</a>, <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="misc_8cpp_source.html#l00948">getspentinfo()</a>, <a class="el" href="httprpc_8cpp_source.html#l00065">JSONErrorReply()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02216">lockunspent()</a>, <a class="el" href="server_8cpp_source.html#l00478">JSONRequest::parse()</a>, <a class="el" href="server_8cpp_source.html#l00143">ParseHashO()</a>, <a class="el" href="server_8cpp_source.html#l00156">ParseHexO()</a>, <a class="el" href="rpcconsole_8cpp_source.html#l00205">RPCExecutor::request()</a>, <a class="el" href="server_8cpp_source.html#l00091">RPCTypeCheckObj()</a>, and <a class="el" href="rawtransaction_8cpp_source.html#l00588">signrawtransaction()</a>.</p>
</div>
</div>
<a id="aa037153cdbc98dd3683ff1918dc70932"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa037153cdbc98dd3683ff1918dc70932">&#9670;&nbsp;</a></span>uvTypeName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* uvTypeName </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classUniValue.html#a2f9803e567ede73e88302b01e394cc63">UniValue::VType</a>&#160;</td>
<td class="paramname"><em>t</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="univalue_8cpp_source.html#l00265">265</a> of file <a class="el" href="univalue_8cpp_source.html">univalue.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="server_8cpp_source.html#l00070">RPCTypeCheck()</a>, and <a class="el" href="server_8cpp_source.html#l00091">RPCTypeCheckObj()</a>.</p>
</div>
</div>
<a id="a05c656ea8038a4b0a3e499c9047bce06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05c656ea8038a4b0a3e499c9047bce06">&#9670;&nbsp;</a></span>validNumStr()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool validNumStr </td>
<td>(</td>
<td class="paramtype">const string &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="univalue_8cpp_source.html#l00103">103</a> of file <a class="el" href="univalue_8cpp_source.html">univalue.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="univalue_8cpp_source.html#l00111">UniValue::setNumStr()</a>.</p>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ab1cbd3b775dba07c37095e995b57e91e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1cbd3b775dba07c37095e995b57e91e">&#9670;&nbsp;</a></span>NullUniValue</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classUniValue.html">UniValue</a> NullUniValue</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="univalue_8cpp_source.html#l00078">78</a> of file <a class="el" href="univalue_8cpp_source.html">univalue.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="rpcwallet_8cpp_source.html#l01902">abandontransaction()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01151">addmultisigaddress()</a>, <a class="el" href="rpc_2net_8cpp_source.html#l00189">addnode()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01937">backupwallet()</a>, <a class="el" href="mining_8cpp_source.html#l00310">BIP22ValidationResult()</a>, <a class="el" href="rpc_2net_8cpp_source.html#l00562">clearbanned()</a>, <a class="el" href="rpc_2net_8cpp_source.html#l00234">disconnectnode()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00583">dumphdinfo()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00546">dumpprivkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00629">dumpwallet()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02159">encryptwallet()</a>, <a class="el" href="univalue_8cpp_source.html#l00280">find_value()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02651">fundrawtransaction()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00305">getaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00192">getaccountaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00337">getaddressesbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00792">getbalance()</a>, <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00113">getnewaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00224">getrawchangeaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00701">getreceivedbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00641">getreceivedbyaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01821">gettransaction()</a>, <a class="el" href="blockchain_8cpp_source.html#l00591">gettxout()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00869">getunconfirmedbalance()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02376">getwalletinfo()</a>, <a class="el" href="rpc_2governance_8cpp_source.html#l00025">gobject()</a>, <a class="el" href="httprpc_8cpp_source.html#l00143">HTTPReq_JSONRPC()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00181">importaddress()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00412">importelectrumwallet()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00076">importprivkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00247">importpubkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00305">importwallet()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00476">instantsendtoaddress()</a>, <a class="el" href="blockchain_8cpp_source.html#l00983">invalidateblock()</a>, <a class="el" href="httprpc_8cpp_source.html#l00065">JSONErrorReply()</a>, <a class="el" href="server_8h_source.html#l00042">JSONRequest::JSONRequest()</a>, <a class="el" href="server_8cpp_source.html#l00508">JSONRPCExecOne()</a>, <a class="el" href="rpc_2protocol_8cpp_source.html#l00039">JSONRPCReplyObj()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01963">keypoolrefill()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01645">listaccounts()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00534">listaddressgroupings()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02300">listlockunspent()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01380">listreceivedbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01339">listreceivedbyaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01726">listsinceblock()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01518">listtransactions()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02533">listunspent()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02216">lockunspent()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00096">masternode()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00607">masternodebroadcast()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00885">movecmd()</a>, <a class="el" href="univalue_8cpp_source.html#l00243">UniValue::operator[]()</a>, <a class="el" href="rpc_2net_8cpp_source.html#l00047">ping()</a>, <a class="el" href="blockchain_8cpp_source.html#l01021">reconsiderblock()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02505">resendwallettransactions()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00958">sendfrom()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01024">sendmany()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00409">sendtoaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00259">setaccount()</a>, <a class="el" href="rpc_2net_8cpp_source.html#l00465">setban()</a>, <a class="el" href="mining_8cpp_source.html#l00191">setgenerate()</a>, <a class="el" href="misc_8cpp_source.html#l00498">setmocktime()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02349">settxfee()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00585">signmessage()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02120">walletlock()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02007">walletpassphrase()</a>, and <a class="el" href="rpcwallet_8cpp_source.html#l02074">walletpassphrasechange()</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6330efc4ea07ccf3cc823ae31c630b06.html">univalue</a></li><li class="navelem"><a class="el" href="dir_4f068253dce63d6933e9372abee01010.html">lib</a></li><li class="navelem"><a class="el" href="univalue_8cpp.html">univalue.cpp</a></li>
<li class="footer">Generated on Thu Dec 14 2017 13:15:11 for Dash Core by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
</ul>
</div>
</body>
</html>