Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
RPCHelpMan Class Reference

#include <util.h>

Collaboration diagram for RPCHelpMan:
[legend]

Public Member Functions

 RPCHelpMan (std::string name, std::string description, std::vector< RPCArg > args, RPCResults results, RPCExamples examples)
 
std::string ToString () const
 
bool IsValidNumArgs (size_t num_args) const
 If the supplied number of args is neither too small nor too high. More...
 

Private Attributes

const std::string m_name
 
const std::string m_description
 
const std::vector< RPCArgm_args
 
const RPCResults m_results
 
const RPCExamples m_examples
 

Detailed Description

Definition at line 231 of file util.h.

Constructor & Destructor Documentation

◆ RPCHelpMan()

RPCHelpMan::RPCHelpMan ( std::string  name,
std::string  description,
std::vector< RPCArg args,
RPCResults  results,
RPCExamples  examples 
)

Definition at line 409 of file util.cpp.

Member Function Documentation

◆ 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 442 of file util.cpp.

◆ ToString()

std::string RPCHelpMan::ToString ( ) const

Definition at line 453 of file util.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_args

const std::vector<RPCArg> RPCHelpMan::m_args
private

Definition at line 243 of file util.h.

◆ m_description

const std::string RPCHelpMan::m_description
private

Definition at line 242 of file util.h.

◆ m_examples

const RPCExamples RPCHelpMan::m_examples
private

Definition at line 245 of file util.h.

◆ m_name

const std::string RPCHelpMan::m_name
private

Definition at line 241 of file util.h.

◆ m_results

const RPCResults RPCHelpMan::m_results
private

Definition at line 244 of file util.h.


The documentation for this class was generated from the following files: