Bitcoin Core 28.99.0
P2P Digital Currency
Macros | Functions | Variables
object.cpp File Reference
#include <univalue.h>
#include <cassert>
#include <cstdint>
#include <map>
#include <memory>
#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)   assert(expr)
 
#define BOOST_CHECK_EQUAL(v1, v2)   assert((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)    assert(expr)

Definition at line 17 of file object.cpp.

◆ BOOST_CHECK_EQUAL

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

Definition at line 18 of file object.cpp.

◆ BOOST_CHECK_NO_THROW

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

Definition at line 28 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 19 of file object.cpp.

Function Documentation

◆ main()

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

Definition at line 458 of file object.cpp.

Here is the call graph for this function:

◆ univalue_array()

void univalue_array ( )

Definition at line 210 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 36 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 269 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 84 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 388 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 143 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 94 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 385 of file object.cpp.