Bitcoin ABC 0.30.5
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 29 of file object.cpp.

◆ BOOST_CHECK_THROW

#define BOOST_CHECK_THROW (   stmt,
  excMatch 
)
Value:
{ \
try { \
(stmt); \
assert(0 && "No exception caught"); \
} catch (excMatch & e) { \
} 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 456 of file object.cpp.

Here is the call graph for this function:

◆ univalue_array()

void univalue_array ( )

Definition at line 208 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 38 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 267 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 85 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 386 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 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 383 of file object.cpp.