Bitcoin
|
Public Types | |
enum | OuterType { OuterType::ARR, OuterType::OBJ, OuterType::NAMED_ARG } |
Public Member Functions | |
void | PushSection (const Section &s) |
void | Push (const RPCArg &arg, const size_t current_indent=5, const OuterType outer_type=OuterType::NAMED_ARG) |
std::string | ToString () const |
Public Attributes | |
std::vector< Section > | m_sections |
size_t | m_max_pad {0} |
Keeps track of RPCArgs by transforming them into sections for the purpose of serializing everything to a single string
|
strong |
|
inline |
Recursive helper to translate an RPCArg into sections
|
inline |
|
inline |
Concatenate all sections with proper padding
size_t Sections::m_max_pad {0} |
std::vector<Section> Sections::m_sections |