#include <util.h>
|
| RPCHelpMan (std::string name, std::string description, std::vector< RPCArg > args, RPCResults results, RPCExamples examples) |
|
| RPCHelpMan (std::string name, std::string description, std::vector< RPCArg > args, RPCResults results, RPCExamples examples, RPCMethodImpl fun) |
|
UniValue | HandleRequest (const Config &config, const JSONRPCRequest &request) const |
|
std::string | ToString () const |
|
UniValue | GetArgMap () const |
| Return the named args that need to be converted from string to another JSON type. More...
|
|
bool | IsValidNumArgs (size_t num_args) const |
| If the supplied number of args is neither too small nor too high. More...
|
|
std::vector< std::pair< std::string, bool > > | GetArgNames () const |
| Return list of arguments and whether they are named-only. More...
|
|
Definition at line 361 of file util.h.
◆ RPCMethodImpl
◆ RPCHelpMan() [1/2]
RPCHelpMan::RPCHelpMan |
( |
std::string |
name, |
|
|
std::string |
description, |
|
|
std::vector< RPCArg > |
args, |
|
|
RPCResults |
results, |
|
|
RPCExamples |
examples |
|
) |
| |
◆ RPCHelpMan() [2/2]
◆ GetArgMap()
UniValue RPCHelpMan::GetArgMap |
( |
| ) |
const |
Return the named args that need to be converted from string to another JSON type.
Definition at line 747 of file util.cpp.
◆ GetArgNames()
std::vector< std::pair< std::string, bool > > RPCHelpMan::GetArgNames |
( |
| ) |
const |
Return list of arguments and whether they are named-only.
Definition at line 650 of file util.cpp.
◆ HandleRequest()
◆ IsValidNumArgs()
bool RPCHelpMan::IsValidNumArgs |
( |
size_t |
num_args | ) |
const |
If the supplied number of args is neither too small nor too high.
Definition at line 639 of file util.cpp.
◆ ToString()
std::string RPCHelpMan::ToString |
( |
| ) |
const |
◆ m_args
const std::vector<RPCArg> RPCHelpMan::m_args |
|
private |
◆ m_description
const std::string RPCHelpMan::m_description |
|
private |
◆ m_examples
◆ m_fun
◆ m_name
const std::string RPCHelpMan::m_name |
◆ m_results
The documentation for this class was generated from the following files: