Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
object.cpp File Reference
#include <univalue.h>
#include <cassert>
#include <cstdint>
#include <map>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for object.cpp:

Go to the source code of this file.

Macros

#define BOOST_CHECK(expr)
#define BOOST_CHECK_EQUAL(v1, v2)
#define BOOST_CHECK_THROW(stmt, excMatch)
#define BOOST_CHECK_NO_THROW(stmt)

Functions

void univalue_constructor ()
void univalue_push_throw ()
void univalue_typecheck ()
void univalue_set ()
void univalue_array ()
void univalue_object ()
void univalue_readwrite ()
int main (int argc, char *argv[])

Variables

static const char * json1

Macro Definition Documentation

◆ BOOST_CHECK

#define BOOST_CHECK ( expr)
Value:
assert(expr)
assert(!tx.IsCoinBase())

Definition at line 16 of file object.cpp.

◆ BOOST_CHECK_EQUAL

#define BOOST_CHECK_EQUAL ( v1,
v2 )
Value:
assert((v1) == (v2))

Definition at line 17 of file object.cpp.

◆ BOOST_CHECK_NO_THROW

#define BOOST_CHECK_NO_THROW ( stmt)
Value:
{ \
try { \
(stmt); \
} catch (...) { \
assert(0); \
} \
}

Definition at line 27 of file object.cpp.

◆ BOOST_CHECK_THROW

#define BOOST_CHECK_THROW ( stmt,
excMatch )
Value:
{ \
try { \
(stmt); \
assert(0 && "No exception caught"); \
} catch (excMatch&) { \
} catch (...) { \
assert(0 && "Wrong exception caught"); \
} \
}

Definition at line 18 of file object.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 457 of file object.cpp.

Here is the call graph for this function:

◆ univalue_array()

void univalue_array ( )

Definition at line 209 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ univalue_constructor()

void univalue_constructor ( )

Definition at line 35 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ univalue_object()

void univalue_object ( )

Definition at line 268 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ univalue_push_throw()

void univalue_push_throw ( )

Definition at line 83 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ univalue_readwrite()

void univalue_readwrite ( )

Definition at line 387 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ univalue_set()

void univalue_set ( )

Definition at line 142 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ univalue_typecheck()

void univalue_typecheck ( )

Definition at line 93 of file object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ json1

const char* json1
static
Initial value:
=
"[1.10000000,{\"key1\":\"str\\u0000\",\"key2\":800,\"key3\":{\"name\":\"martian http://test.com\"}}]"

Definition at line 384 of file object.cpp.