LeviLamina
Loading...
Searching...
No Matches
Json::Value Class Reference

Classes

class  CZString
struct  CZStringCompare
union  ValueHolder

Public Types

using ArrayIndex = uint
using ArrayValues = ::std::vector<::Json::Value*>
using Int = int
using Int64 = int64
using LargestInt = int64
using LargestUInt = uint64
using Members = ::std::vector<::std::string>
using ObjectValues = ::std::map<::Json::Value::CZString, ::Json::Value, ::Json::Value::CZStringCompare>
using UInt = uint
using UInt64 = uint64
using const_iterator = ::Json::ValueConstIterator
using iterator = ::Json::ValueIterator

Public Member Functions

ValueType type () const
 operator bool () const
bool isNull () const
bool isBool () const
bool isInt () const
bool isUInt () const
bool isInt64 () const
bool isUInt64 () const
bool isIntegral () const
bool isDouble () const
bool isNumeric () const
bool isString () const
bool isArray () const
bool isObject () const
Int64 asInt64 (Int64 defaultValue=0) const
UInt64 asUInt64 (UInt64 defaultValue=0) const
Value & operator[] (char const *key)
Value & operator[] (int key)
Value const & operator[] (uint key) const
 Value (Int value)
 Value (UInt value)
 Value (Int64 value)
 Value (UInt64 value)
 Value (double value)
 Value (bool value)
MCAPI Value (::Json::Value &&other)
MCAPI Value (::Json::Value const &other)
MCAPI Value (::Json::Value::CZString *str)
MCAPI Value (::Json::ValueType type=NullValue)
MCAPI Value (char const *value)
MCAPI Value (::std::string const &value)
MCAPI ::std::vector<::Json::Value * > * _copyArray (::std::vector<::Json::Value * > const &values)
MCAPI void _insert (::Json::Value::CZString &&key, ::Json::Value &&value, bool overwrite)
MCAPI::Json::Value & _resolveReference (char const *key)
MCAPI::Json::Value & append (::Json::Value &&value)
MCAPI::Json::Value & append (::Json::Value const &value)
MCAPI bool asBool (bool defaultValue) const
MCFOLD char const * asCString () const
MCAPI double asDouble (double defaultValue) const
MCAPI float asFloat (float defaultValue) const
MCAPI int asInt (int defaultValue) const
MCAPI int64 asLargestInt () const
MCAPI uint64 asLargestUInt () const
MCAPI::std::string asString (::std::string const &defaultValue) const
MCAPI uint asUInt (uint defaultValue) const
MCFOLD::Json::ValueConstIterator begin () const
MCAPI::Json::ValueIterator begin ()
MCAPI void clear ()
MCAPI int compare (::Json::Value const &other) const
MCAPI bool empty () const
MCAPI::Json::ValueConstIterator end () const
MCFOLD::Json::ValueIterator end ()
MCAPI::Json::Value get (uint index, ::Json::Value const &defaultValue) const
MCAPI::Json::Value get (::std::string const &key, ::Json::Value const &defaultValue) const
MCAPI::Json::Value get (char const *key, ::Json::Value const &defaultValue) const
MCAPI ::std::vector<::std::string > getMemberNames () const
MCAPI bool isConvertibleTo (::Json::ValueType other) const
MCAPI bool isMember (::std::string const &key) const
MCAPI bool isMember (char const *key) const
MCAPI_C bool isValidIndex (uint index) const
MCAPI bool operator!= (::Json::Value const &other) const
MCAPI bool operator< (::Json::Value const &other) const
MCAPI::Json::Value & operator= (::Json::Value &&other)
MCAPI::Json::Value & operator= (::Json::Value const &other)
MCAPI bool operator== (::Json::Value const &other) const
MCAPI bool operator> (::Json::Value const &other) const
MCAPI::Json::Value const & operator[] (int index) const
MCAPI::Json::Value const & operator[] (::std::string const &key) const
MCAPI::Json::Value const & operator[] (char const *key) const
MCAPI::Json::Value & operator[] (uint index)
MCAPI::Json::Value & operator[] (::std::string const &key)
MCAPI::Json::Value removeMember (::std::string const &key)
MCAPI::Json::Value removeMember (char const *key)
MCAPI void resize (uint newSize)
MCAPI uint size () const
MCAPI_C void swap (::Json::Value &other)
MCAPI::std::string toStyledString () const
MCAPI void * $ctor (::Json::Value &&other)
MCAPI void * $ctor (::Json::Value const &other)
MCAPI void * $ctor (::Json::Value::CZString *str)
MCAPI void * $ctor (::Json::ValueType type)
MCAPI void * $ctor (::std::string const &value)
MCAPI void * $ctor (int value)
MCAPI void * $ctor (uint value)
MCAPI void * $ctor (double value)
MCAPI void * $ctor (char const *value)
MCAPI void * $ctor (int64 value)
MCAPI void * $ctor (uint64 value)
MCAPI void * $ctor (bool value)
MCAPI void $dtor ()

Static Public Member Functions

static bool IsIntegral (double d)
static MCAPI ::Json::Value const & null ()

Public Attributes

::Json::Value::ValueHolder value_
::Json::ValueType type_

Static Public Attributes

static constexpr LargestInt minLargestInt = LargestInt(~(LargestUInt(-1) / 2))
static constexpr LargestInt maxLargestInt = LargestInt(LargestUInt(-1) / 2)
static constexpr LargestUInt maxLargestUInt = LargestUInt(-1)
static constexpr Int minInt = Int(~(UInt(-1) / 2))
static constexpr Int maxInt = Int(UInt(-1) / 2)
static constexpr UInt maxUInt = UInt(-1)
static constexpr Int64 minInt64 = Int64(~(UInt64(-1) / 2))
static constexpr Int64 maxInt64 = Int64(UInt64(-1) / 2)
static constexpr UInt64 maxUInt64 = UInt64(-1)
static constexpr UInt defaultRealPrecision = 17
static constexpr double maxUInt64AsDouble = 18446744073709551615.0

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