|
| enum class | Type : int {
Null = 0
, Boolean = 1
, Integer = 2
, Number = 3
,
String = 4
, Array = 5
, Object = 6
} |
|
using | Array = ::std::vector<::cereal::DynamicValue> |
|
using | Bool = bool |
|
using | Integer = int64 |
|
using | Null = ::cereal::NullType |
|
using | Number = double |
|
using | String = ::std::string |
| using | Object |
|
using | Member = ::std::pair<::std::string, ::cereal::DynamicValue> |
|
using | Variant = ::std::variant<::cereal::NullType, bool, int64, double, ::std::string, Array, Object> |
|
|
| DynamicValue (::std::nullptr_t) noexcept |
|
| DynamicValue (Null) noexcept |
|
| DynamicValue (Bool value) noexcept |
|
template<::std::integral T> |
| | DynamicValue (T value) noexcept |
|
template<::std::floating_point T> |
| | DynamicValue (T value) noexcept |
|
| DynamicValue (char const *value) |
|
| DynamicValue (::std::string_view value) |
|
| DynamicValue (String value) |
|
| DynamicValue (Array value) |
|
| DynamicValue (Object value) |
|
| DynamicValue (DynamicValue const &)=default |
|
| DynamicValue (DynamicValue &&)=default |
|
DynamicValue & | operator= (DynamicValue const &)=default |
|
DynamicValue & | operator= (DynamicValue &&)=default |
|
template<class T> |
| DynamicValue & | operator= (T &&value) |
|
Variant const & | value () const &noexcept |
|
Variant & | value () &noexcept |
|
Variant && | value () &&noexcept |
|
template<class T> |
| bool | is () const noexcept |
|
template<class T> |
| T const & | get () const & |
|
template<class T> |
| T & | get () & |
|
template<class T> |
| T && | get () && |
|
template<class T> |
| T const * | getIf () const noexcept |
|
template<class T> |
| T * | getIf () noexcept |
|
bool | isNull () const noexcept |
|
bool | isBool () const noexcept |
|
bool | isInteger () const noexcept |
|
bool | isNumber () const noexcept |
|
bool | isString () const noexcept |
|
bool | isArray () const noexcept |
|
bool | isObject () const noexcept |
|
bool | isNumeric () const noexcept |
|
bool | isPrimitive () const noexcept |
|
Type | type () const noexcept |
|
Null const & | asNull () const |
|
Null & | asNull () |
|
Bool const & | asBool () const |
|
Bool & | asBool () |
|
Integer const & | asInteger () const |
|
Integer & | asInteger () |
|
Number const & | asNumber () const |
|
Number & | asNumber () |
|
String const & | asString () const |
|
String & | asString () |
|
Array const & | asArray () const |
|
Array & | asArray () |
|
Object const & | asObject () const |
|
Object & | asObject () |
|
bool | contains (::std::string_view member) const |
|
::std::size_t | size () const noexcept |
|
bool | empty () const noexcept |
|
bool | hasMember (::std::string_view member) const |
|
DynamicValue & | operator[] (::std::string_view member) |
|
DynamicValue const & | operator[] (::std::string_view member) const |
|
DynamicValue & | operator[] (::std::size_t index) |
|
DynamicValue const & | operator[] (::std::size_t index) const |
|
DynamicValue & | at (::std::string_view member) |
|
DynamicValue const & | at (::std::string_view member) const |
|
DynamicValue & | at (::std::size_t index) |
|
DynamicValue const & | at (::std::size_t index) const |
|
template<class T> |
| requires ::std::constructible_from< DynamicValue, T > DynamicValue & | set (::std::string_view member, T &&field) |
|
DynamicValue & | pushBack (DynamicValue element) |
|
DynamicValue & | push_back (DynamicValue element) |
|
template<class T> |
| requires ::std::constructible_from< DynamicValue, T > DynamicValue & | emplaceBack (T &&element) |
|
template<class T> |
| requires ::std::constructible_from< DynamicValue, T > DynamicValue & | emplace_back (T &&element) |
|
bool | erase (::std::string_view member) |
|
void | erase (::std::size_t index) |
|
void | clear () |
|
void | reserve (::std::size_t capacity) |
|
MCAPI uint64 | hash () const |