Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Static Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
utility::json_spirit::Value_impl< Config > Class Template Reference

#include <json_spirit_value.h>

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 >
T get_value () const
 
template<class Config >
 Value_impl (const Value_impl< Config > &other)
 

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_
 

Member Typedef Documentation

template<class Config>
typedef String_type::const_pointer utility::json_spirit::Value_impl< Config >::Const_str_ptr
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 > utility::json_spirit::Value_impl< Config >::Variant
private

Constructor & Destructor Documentation

template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( )
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( Const_str_ptr  value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( const String_type value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( const Object value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( const Array value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( bool  value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( int  value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( boost::int64_t  value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( boost::uint64_t  value)
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( double  value)
template<class Config >
template<class Iter >
utility::json_spirit::Value_impl< Config >::Value_impl ( Iter  first,
Iter  last 
)
template<class Config >
template<BOOST_VARIANT_ENUM_PARAMS(typename T) >
utility::json_spirit::Value_impl< Config >::Value_impl ( const boost::variant< BOOST_VARIANT_ENUM_PARAMS(T) > &  variant)
template<class Config>
utility::json_spirit::Value_impl< Config >::Value_impl ( const Value_impl< Config > &  other)
template<class Config>
template<class Config >
utility::json_spirit::Value_impl< Config >::Value_impl ( const Value_impl< Config > &  other)

Member Function Documentation

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

References DRRAFTER::type.

template<class Config >
const Value_impl< Config >::Array & utility::json_spirit::Value_impl< Config >::get_array ( ) const
template<class Config >
Value_impl< Config >::Array & utility::json_spirit::Value_impl< Config >::get_array ( )
template<class Config >
bool utility::json_spirit::Value_impl< Config >::get_bool ( ) const
template<class Config >
int utility::json_spirit::Value_impl< Config >::get_int ( ) const
template<class Config >
boost::int64_t utility::json_spirit::Value_impl< Config >::get_int64 ( ) const
template<class Config >
const Value_impl< Config >::Object & utility::json_spirit::Value_impl< Config >::get_obj ( ) const
template<class Config >
Value_impl< Config >::Object & utility::json_spirit::Value_impl< Config >::get_obj ( )
template<class Config >
double utility::json_spirit::Value_impl< Config >::get_real ( ) const
template<class Config >
const Config::String_type & utility::json_spirit::Value_impl< Config >::get_str ( ) const
template<class Config >
boost::uint64_t utility::json_spirit::Value_impl< Config >::get_uint64 ( ) const
template<class Config >
template<typename T >
T utility::json_spirit::Value_impl< Config >::get_value ( ) const
template<class Config >
bool utility::json_spirit::Value_impl< Config >::is_null ( ) const
template<class Config >
bool utility::json_spirit::Value_impl< Config >::is_uint64 ( ) const
template<class Config >
Value_impl< Config > & utility::json_spirit::Value_impl< Config >::operator= ( const Value_impl< Config > &  lhs)
template<class Config >
bool utility::json_spirit::Value_impl< Config >::operator== ( const Value_impl< Config > &  lhs) const
template<class Config >
Value_type utility::json_spirit::Value_impl< Config >::type ( ) const

Member Data Documentation

template<class Config>
const Value_impl< Config > utility::json_spirit::Value_impl< Config >::null
static
template<class Config>
Variant utility::json_spirit::Value_impl< Config >::v_
private

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