Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Static Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
json_spirit::Value_impl< Config > Class Template Reference

#include <json_spirit_value.h>

Collaboration diagram for json_spirit::Value_impl< Config >:
[legend]

Public Types

typedef Config Config_type
 
typedef Config::String_type String_type
 
typedef Config::Object_type Object
 
typedef Config::Array_type Array
 
typedef String_type::const_pointer Const_str_ptr
 

Public Member Functions

 Value_impl ()
 
 Value_impl (Const_str_ptr value)
 
 Value_impl (const String_type &value)
 
 Value_impl (const Object &value)
 
 Value_impl (const Array &value)
 
 Value_impl (bool value)
 
 Value_impl (int value)
 
 Value_impl (boost::int64_t value)
 
 Value_impl (boost::uint64_t value)
 
 Value_impl (double value)
 
 Value_impl (const Value_impl &other)
 
bool operator== (const Value_impl &lhs) const
 
Value_imploperator= (const Value_impl &lhs)
 
Value_type type () const
 
bool is_uint64 () const
 
bool is_null () const
 
const String_typeget_str () const
 
const Objectget_obj () const
 
const Arrayget_array () const
 
bool get_bool () const
 
int get_int () const
 
boost::int64_t get_int64 () const
 
boost::uint64_t get_uint64 () const
 
double get_real () const
 
Objectget_obj ()
 
Arrayget_array ()
 
template<typename T >
T get_value () const
 

Static Public Attributes

static const Value_impl null
 

Private Types

typedef boost::variant< String_type, boost::recursive_wrapper< Object >, boost::recursive_wrapper< Array >, bool, boost::int64_t, double > Variant
 

Private Member Functions

void check_type (const Value_type vtype) const
 

Private Attributes

Value_type type_
 
Variant v_
 
bool is_uint64_
 

Detailed Description

template<class Config>
class json_spirit::Value_impl< Config >

Definition at line 30 of file json_spirit_value.h.

Member Typedef Documentation

template<class Config>
typedef Config::Array_type json_spirit::Value_impl< Config >::Array

Definition at line 37 of file json_spirit_value.h.

template<class Config>
typedef Config json_spirit::Value_impl< Config >::Config_type

Definition at line 34 of file json_spirit_value.h.

template<class Config>
typedef String_type::const_pointer json_spirit::Value_impl< Config >::Const_str_ptr

Definition at line 38 of file json_spirit_value.h.

template<class Config>
typedef Config::Object_type json_spirit::Value_impl< Config >::Object

Definition at line 36 of file json_spirit_value.h.

template<class Config>
typedef Config::String_type json_spirit::Value_impl< Config >::String_type

Definition at line 35 of file json_spirit_value.h.

template<class Config>
typedef boost::variant< String_type, boost::recursive_wrapper< Object >, boost::recursive_wrapper< Array >, bool, boost::int64_t, double > json_spirit::Value_impl< Config >::Variant
private

Definition at line 85 of file json_spirit_value.h.

Constructor & Destructor Documentation

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( )

Definition at line 211 of file json_spirit_value.h.

Here is the caller graph for this function:

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( Const_str_ptr  value)

Definition at line 218 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( const String_type value)

Definition at line 226 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( const Object value)

Definition at line 234 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( const Array value)

Definition at line 242 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( bool  value)

Definition at line 250 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( int  value)

Definition at line 258 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( boost::int64_t  value)

Definition at line 266 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( boost::uint64_t  value)

Definition at line 274 of file json_spirit_value.h.

template<class Config >
json_spirit::Value_impl< Config >::Value_impl ( double  value)

Definition at line 282 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config>
json_spirit::Value_impl< Config >::Value_impl ( const Value_impl< Config > &  other)

Member Function Documentation

template<class Config >
void json_spirit::Value_impl< Config >::check_type ( const Value_type  vtype) const
private

Definition at line 338 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
const Value_impl< Config >::Array & json_spirit::Value_impl< Config >::get_array ( ) const

Definition at line 367 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
Value_impl< Config >::Array & json_spirit::Value_impl< Config >::get_array ( )

Definition at line 429 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config >
bool json_spirit::Value_impl< Config >::get_bool ( ) const

Definition at line 375 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
int json_spirit::Value_impl< Config >::get_int ( ) const

Definition at line 383 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
boost::int64_t json_spirit::Value_impl< Config >::get_int64 ( ) const

Definition at line 391 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
const Value_impl< Config >::Object & json_spirit::Value_impl< Config >::get_obj ( ) const

Definition at line 359 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
Value_impl< Config >::Object & json_spirit::Value_impl< Config >::get_obj ( )

Definition at line 421 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config >
double json_spirit::Value_impl< Config >::get_real ( ) const

Definition at line 407 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
const Config::String_type & json_spirit::Value_impl< Config >::get_str ( ) const

Definition at line 351 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
boost::uint64_t json_spirit::Value_impl< Config >::get_uint64 ( ) const

Definition at line 399 of file json_spirit_value.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Config >
template<typename T >
T json_spirit::Value_impl< Config >::get_value ( ) const

Definition at line 526 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config >
bool json_spirit::Value_impl< Config >::is_null ( ) const

Definition at line 332 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config >
bool json_spirit::Value_impl< Config >::is_uint64 ( ) const

Definition at line 326 of file json_spirit_value.h.

Here is the caller graph for this function:

template<class Config >
Value_impl< Config > & json_spirit::Value_impl< Config >::operator= ( const Value_impl< Config > &  lhs)

Definition at line 298 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config >
bool json_spirit::Value_impl< Config >::operator== ( const Value_impl< Config > &  lhs) const

Definition at line 310 of file json_spirit_value.h.

Here is the call graph for this function:

template<class Config >
Value_type json_spirit::Value_impl< Config >::type ( ) const

Definition at line 320 of file json_spirit_value.h.

Here is the caller graph for this function:

Member Data Documentation

template<class Config>
bool json_spirit::Value_impl< Config >::is_uint64_
private

Definition at line 89 of file json_spirit_value.h.

template<class Config>
const Value_impl< Config > json_spirit::Value_impl< Config >::null
static

Definition at line 77 of file json_spirit_value.h.

template<class Config>
Value_type json_spirit::Value_impl< Config >::type_
private

Definition at line 87 of file json_spirit_value.h.

template<class Config>
Variant json_spirit::Value_impl< Config >::v_
private

Definition at line 88 of file json_spirit_value.h.


The documentation for this class was generated from the following file: