|
CToon C++ 0.6.1
A C++ TOON/JSON serialization library
|
#include <ctoon.hpp>
Public Member Functions | |
| mut_value () CTOON_NOEXCEPT | |
| mut_value (ctoon_mut_val *v) CTOON_NOEXCEPT | |
| ctoon_mut_val * | raw () const CTOON_NOEXCEPT |
| unsigned char | valid () const CTOON_NOEXCEPT |
| operator unsigned char () const CTOON_NOEXCEPT | |
| unsigned char | is_null () const CTOON_NOEXCEPT |
| unsigned char | is_true () const CTOON_NOEXCEPT |
| unsigned char | is_false () const CTOON_NOEXCEPT |
| unsigned char | is_bool () const CTOON_NOEXCEPT |
| unsigned char | is_uint () const CTOON_NOEXCEPT |
| unsigned char | is_sint () const CTOON_NOEXCEPT |
| unsigned char | is_int () const CTOON_NOEXCEPT |
| unsigned char | is_real () const CTOON_NOEXCEPT |
| unsigned char | is_num () const CTOON_NOEXCEPT |
| unsigned char | is_str () const CTOON_NOEXCEPT |
| unsigned char | is_arr () const CTOON_NOEXCEPT |
| unsigned char | is_obj () const CTOON_NOEXCEPT |
| unsigned char | get_bool () const CTOON_NOEXCEPT |
| std::uint64_t | get_uint () const CTOON_NOEXCEPT |
| std::int64_t | get_sint () const CTOON_NOEXCEPT |
| double | get_real () const CTOON_NOEXCEPT |
| double | get_num () const CTOON_NOEXCEPT |
| std::size_t | get_len () const CTOON_NOEXCEPT |
| string_view | get_str () const CTOON_NOEXCEPT |
| std::size_t | arr_size () const CTOON_NOEXCEPT |
| mut_value | arr_get (std::size_t i) const CTOON_NOEXCEPT |
| mut_value | arr_first () const CTOON_NOEXCEPT |
| mut_value | arr_last () const CTOON_NOEXCEPT |
| mut_value | operator[] (std::size_t i) const CTOON_NOEXCEPT |
| std::size_t | obj_size () const CTOON_NOEXCEPT |
| mut_value | obj_get (const char *key) const CTOON_NOEXCEPT |
| mut_value | obj_get (const string_view &key) const CTOON_NOEXCEPT |
| mut_value | operator[] (const char *key) const CTOON_NOEXCEPT |
| mut_value | operator[] (const string_view &key) const CTOON_NOEXCEPT |
| unsigned char | equals (const mut_value &rhs) const CTOON_NOEXCEPT |
| unsigned char | equals (const char *s) const CTOON_NOEXCEPT |
| unsigned char | equals (const string_view &s) const CTOON_NOEXCEPT |
| mut_value | get_pointer (const string_view &ptr) const CTOON_NOEXCEPT |
| unsigned char | arr_append (mut_value item) const CTOON_NOEXCEPT |
| unsigned char | arr_prepend (mut_value item) const CTOON_NOEXCEPT |
| unsigned char | arr_clear () const CTOON_NOEXCEPT |
| mut_value | arr_remove (std::size_t i) const CTOON_NOEXCEPT |
| unsigned char | obj_add (mut_value key, mut_value val) const CTOON_NOEXCEPT |
| unsigned char | obj_put (mut_value key, mut_value val) const CTOON_NOEXCEPT |
| unsigned char | obj_clear () const CTOON_NOEXCEPT |
| mut_value | obj_remove (const string_view &key) const CTOON_NOEXCEPT |
Protected Attributes | |
| ctoon_mut_val * | v_ |
|
inline |
Definition at line 408 of file ctoon.hpp.
Referenced by arr_first(), arr_get(), arr_last(), arr_remove(), get_pointer(), obj_get(), obj_get(), and obj_remove().
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Definition at line 445 of file ctoon.hpp.
References mut_value(), and v_.
|
inline |
Definition at line 444 of file ctoon.hpp.
References mut_value(), and v_.
Referenced by operator[]().
|
inline |
Definition at line 446 of file ctoon.hpp.
References mut_value(), and v_.
|
inline |
|
inline |
Definition at line 472 of file ctoon.hpp.
References mut_value(), and v_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 464 of file ctoon.hpp.
References mut_value(), and v_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 451 of file ctoon.hpp.
References mut_value(), and v_.
Referenced by operator[](), and operator[]().
|
inline |
Definition at line 452 of file ctoon.hpp.
References mut_value(), and v_.
|
inline |
Definition at line 484 of file ctoon.hpp.
References mut_value(), and v_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 541 of file ctoon.hpp.
Referenced by arr_append(), arr_clear(), arr_first(), arr_get(), arr_last(), arr_prepend(), arr_remove(), arr_size(), equals(), equals(), equals(), get_bool(), get_len(), get_num(), get_pointer(), get_real(), get_sint(), get_str(), get_uint(), is_arr(), is_bool(), is_false(), is_int(), is_null(), is_num(), is_obj(), is_real(), is_sint(), is_str(), is_true(), is_uint(), obj_add(), obj_clear(), obj_get(), obj_get(), obj_put(), obj_remove(), obj_size(), raw(), and valid().