#include <univalue.h>
|
bool | findKey (const std::string &key, size_t &retIdx) const |
|
Definition at line 23 of file univalue.h.
◆ VType
Enumerator |
---|
VNULL | |
VOBJ | |
VARR | |
VSTR | |
VNUM | |
VBOOL | |
Definition at line 27 of file univalue.h.
◆ UniValue() [1/9]
◆ UniValue() [2/9]
UniValue::UniValue |
( |
UniValue::VType |
type, |
|
|
const std::string & |
value = std::string() |
|
) |
| |
|
inline |
◆ UniValue() [3/9]
UniValue::UniValue |
( |
uint64_t |
val_ | ) |
|
|
inline |
◆ UniValue() [4/9]
UniValue::UniValue |
( |
int64_t |
val_ | ) |
|
|
inline |
◆ UniValue() [5/9]
UniValue::UniValue |
( |
bool |
val_ | ) |
|
|
inline |
◆ UniValue() [6/9]
UniValue::UniValue |
( |
int |
val_ | ) |
|
|
inline |
◆ UniValue() [7/9]
UniValue::UniValue |
( |
double |
val_ | ) |
|
|
inline |
◆ UniValue() [8/9]
UniValue::UniValue |
( |
const std::string & |
val_ | ) |
|
|
inline |
◆ UniValue() [9/9]
UniValue::UniValue |
( |
const char * |
val_ | ) |
|
|
inline |
◆ __pushKV()
void UniValue::__pushKV |
( |
const std::string & |
key, |
|
|
const UniValue & |
val |
|
) |
| |
◆ checkObject()
bool UniValue::checkObject |
( |
const std::map< std::string, UniValue::VType > & |
memberTypes | ) |
const |
◆ clear()
◆ empty()
bool UniValue::empty |
( |
| ) |
const |
|
inline |
◆ exists()
bool UniValue::exists |
( |
const std::string & |
key | ) |
const |
|
inline |
◆ findKey()
bool UniValue::findKey |
( |
const std::string & |
key, |
|
|
size_t & |
retIdx |
|
) |
| const |
|
private |
◆ get_array()
const UniValue & UniValue::get_array |
( |
| ) |
const |
◆ get_bool()
bool UniValue::get_bool |
( |
| ) |
const |
◆ get_int()
int UniValue::get_int |
( |
| ) |
const |
◆ get_int64()
int64_t UniValue::get_int64 |
( |
| ) |
const |
◆ get_obj()
const UniValue & UniValue::get_obj |
( |
| ) |
const |
◆ get_real()
double UniValue::get_real |
( |
| ) |
const |
◆ get_str()
const std::string & UniValue::get_str |
( |
| ) |
const |
◆ getBool()
bool UniValue::getBool |
( |
| ) |
const |
|
inline |
◆ getKeys()
const std::vector< std::string > & UniValue::getKeys |
( |
| ) |
const |
◆ getObjMap()
void UniValue::getObjMap |
( |
std::map< std::string, UniValue > & |
kv | ) |
const |
◆ getType()
enum VType UniValue::getType |
( |
| ) |
const |
|
inline |
◆ getValStr()
const std::string& UniValue::getValStr |
( |
| ) |
const |
|
inline |
◆ getValues()
const std::vector< UniValue > & UniValue::getValues |
( |
| ) |
const |
◆ isArray()
bool UniValue::isArray |
( |
| ) |
const |
|
inline |
◆ isBool()
bool UniValue::isBool |
( |
| ) |
const |
|
inline |
◆ isFalse()
bool UniValue::isFalse |
( |
| ) |
const |
|
inline |
◆ isNull()
bool UniValue::isNull |
( |
| ) |
const |
|
inline |
◆ isNum()
bool UniValue::isNum |
( |
| ) |
const |
|
inline |
◆ isObject()
bool UniValue::isObject |
( |
| ) |
const |
|
inline |
◆ isStr()
bool UniValue::isStr |
( |
| ) |
const |
|
inline |
◆ isTrue()
bool UniValue::isTrue |
( |
| ) |
const |
|
inline |
◆ operator[]() [1/2]
const UniValue & UniValue::operator[] |
( |
const std::string & |
key | ) |
const |
◆ operator[]() [2/2]
const UniValue & UniValue::operator[] |
( |
size_t |
index | ) |
const |
◆ push_back() [1/2]
bool UniValue::push_back |
( |
const UniValue & |
val | ) |
|
◆ push_back() [2/2]
bool UniValue::push_back |
( |
std::pair< std::string, UniValue > |
pear | ) |
|
|
inline |
◆ push_backV()
bool UniValue::push_backV |
( |
const std::vector< UniValue > & |
vec | ) |
|
◆ pushKV()
bool UniValue::pushKV |
( |
const std::string & |
key, |
|
|
const UniValue & |
val |
|
) |
| |
◆ pushKVs()
bool UniValue::pushKVs |
( |
const UniValue & |
obj | ) |
|
◆ read() [1/3]
bool UniValue::read |
( |
const char * |
raw | ) |
|
|
inline |
◆ read() [2/3]
bool UniValue::read |
( |
const char * |
raw, |
|
|
size_t |
len |
|
) |
| |
◆ read() [3/3]
bool UniValue::read |
( |
const std::string & |
rawStr | ) |
|
|
inline |
◆ reserve()
void UniValue::reserve |
( |
size_t |
n | ) |
|
|
inline |
◆ setArray()
bool UniValue::setArray |
( |
| ) |
|
◆ setBool()
bool UniValue::setBool |
( |
bool |
val | ) |
|
◆ setFloat()
bool UniValue::setFloat |
( |
double |
val | ) |
|
◆ setInt() [1/3]
bool UniValue::setInt |
( |
int |
val_ | ) |
|
|
inline |
◆ setInt() [2/3]
bool UniValue::setInt |
( |
int64_t |
val | ) |
|
◆ setInt() [3/3]
bool UniValue::setInt |
( |
uint64_t |
val | ) |
|
◆ setNull()
bool UniValue::setNull |
( |
| ) |
|
◆ setNumStr()
bool UniValue::setNumStr |
( |
const std::string & |
val | ) |
|
◆ setObject()
bool UniValue::setObject |
( |
| ) |
|
◆ setStr()
bool UniValue::setStr |
( |
const std::string & |
val | ) |
|
◆ size()
size_t UniValue::size |
( |
| ) |
const |
|
inline |
◆ type()
enum VType UniValue::type |
( |
| ) |
const |
|
inline |
◆ write()
std::string UniValue::write |
( |
unsigned int |
prettyIndent = 0 , |
|
|
unsigned int |
indentLevel = 0 |
|
) |
| const |
◆ ::UniValueStreamWriter
friend struct ::UniValueStreamWriter |
|
friend |
◆ find_value
◆ keys
std::vector<std::string> UniValue::keys |
|
private |
◆ typ
◆ val
std::string UniValue::val |
|
private |
◆ values
The documentation for this class was generated from the following files: