Flow123d  DF_patch_fe_data_tables-c52f2c3
Classes | 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 >:
Collaboration graph
[legend]

Classes

class  Variant_converter_visitor
 

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)
 
template<class Iter >
 Value_impl (Iter first, Iter last)
 
template<BOOST_VARIANT_ENUM_PARAMS(typename T) >
 Value_impl (const boost::variant< BOOST_VARIANT_ENUM_PARAMS(T) > &variant)
 
 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 >
get_value () const
 

Static Public Attributes

static const Value_impl null
 

Private Types

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

Private Member Functions

void check_type (const Value_type vtype) const
 

Private Attributes

Variant v_
 

Detailed Description

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

Definition at line 38 of file json_spirit_value.h.

Member Typedef Documentation

◆ Array

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

Definition at line 45 of file json_spirit_value.h.

◆ Config_type

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

Definition at line 42 of file json_spirit_value.h.

◆ Const_str_ptr

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

Definition at line 46 of file json_spirit_value.h.

◆ Object

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

Definition at line 44 of file json_spirit_value.h.

◆ String_type

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

Definition at line 43 of file json_spirit_value.h.

◆ Variant

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

Definition at line 98 of file json_spirit_value.h.

Constructor & Destructor Documentation

◆ Value_impl() [1/13]

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

Definition at line 258 of file json_spirit_value.h.

◆ Value_impl() [2/13]

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

Definition at line 264 of file json_spirit_value.h.

◆ Value_impl() [3/13]

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

Definition at line 270 of file json_spirit_value.h.

◆ Value_impl() [4/13]

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

Definition at line 276 of file json_spirit_value.h.

◆ Value_impl() [5/13]

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

Definition at line 282 of file json_spirit_value.h.

◆ Value_impl() [6/13]

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

Definition at line 288 of file json_spirit_value.h.

◆ Value_impl() [7/13]

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

Definition at line 294 of file json_spirit_value.h.

◆ Value_impl() [8/13]

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

Definition at line 300 of file json_spirit_value.h.

◆ Value_impl() [9/13]

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

Definition at line 306 of file json_spirit_value.h.

◆ Value_impl() [10/13]

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

Definition at line 312 of file json_spirit_value.h.

◆ Value_impl() [11/13]

template<class Config >
template<class Iter >
json_spirit::Value_impl< Config >::Value_impl ( Iter  first,
Iter  last 
)

Definition at line 325 of file json_spirit_value.h.

◆ Value_impl() [12/13]

template<class Config >
template<BOOST_VARIANT_ENUM_PARAMS(typename T) >
json_spirit::Value_impl< Config >::Value_impl ( const boost::variant< BOOST_VARIANT_ENUM_PARAMS(T) > &  variant)

Definition at line 332 of file json_spirit_value.h.

◆ Value_impl() [13/13]

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

Definition at line 318 of file json_spirit_value.h.

Member Function Documentation

◆ check_type()

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

Definition at line 381 of file json_spirit_value.h.

◆ get_array() [1/2]

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

Definition at line 482 of file json_spirit_value.h.

◆ get_array() [2/2]

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

Definition at line 410 of file json_spirit_value.h.

Here is the caller graph for this function:

◆ get_bool()

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

Definition at line 418 of file json_spirit_value.h.

Here is the caller graph for this function:

◆ get_int()

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

Definition at line 426 of file json_spirit_value.h.

◆ get_int64()

template<class Config >
boost::int64_t json_spirit::Value_impl< Config >::get_int64

Definition at line 434 of file json_spirit_value.h.

Here is the caller graph for this function:

◆ get_obj() [1/2]

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

Definition at line 474 of file json_spirit_value.h.

◆ get_obj() [2/2]

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

Definition at line 402 of file json_spirit_value.h.

Here is the caller graph for this function:

◆ get_real()

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

Definition at line 460 of file json_spirit_value.h.

Here is the caller graph for this function:

◆ get_str()

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

Definition at line 394 of file json_spirit_value.h.

Here is the caller graph for this function:

◆ get_uint64()

template<class Config >
boost::uint64_t json_spirit::Value_impl< Config >::get_uint64

Definition at line 447 of file json_spirit_value.h.

◆ get_value()

template<class Config >
template<typename T >
T json_spirit::Value_impl< Config >::get_value

Definition at line 579 of file json_spirit_value.h.

◆ is_null()

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

Definition at line 375 of file json_spirit_value.h.

◆ is_uint64()

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

Definition at line 369 of file json_spirit_value.h.

◆ operator=()

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

Definition at line 338 of file json_spirit_value.h.

◆ operator==()

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

Definition at line 348 of file json_spirit_value.h.

◆ type()

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

Definition at line 358 of file json_spirit_value.h.

Here is the caller graph for this function:

Member Data Documentation

◆ null

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

Definition at line 91 of file json_spirit_value.h.

◆ v_

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

Definition at line 100 of file json_spirit_value.h.


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