|
|
| DECLARE_TYPEINFO (JsonObject, IJson) |
| |
|
JsonObject * | emplace (cstring label, big_int v) |
| |
|
JsonObject * | emplace (cstring label, const char *s) |
| |
|
JsonObject * | emplace (cstring label, cstring s) |
| |
|
JsonObject * | emplace (cstring label, float v) |
| |
|
JsonObject * | emplace (cstring label, IJson *value) |
| |
|
JsonObject * | emplace (cstring label, std::string s) |
| |
|
template<typename T , typename std::enable_if< std::is_integral< T >::value, int >::type = 0> |
| JsonObject * | emplace (cstring label, T v) |
| |
|
JsonObject * | emplace_non_null (cstring label, IJson *value) |
| |
|
IJson * | get (cstring label) const |
| |
|
void | serialize (std::ostream &out) const override |
| |
|
| DECLARE_TYPEINFO (IJson) |
| |
|
void | dump () const |
| |
|
cstring | toString () const |
| |
|
template<typename T > |
| T & | as () |
| | Tries to convert the class to type T. A BUG occurs if the cast fails.
|
| |
|
template<typename T > |
| const T & | as () const |
| | Tries to convert the class to type T. A BUG occurs if the cast fails.
|
| |
|
template<typename T > |
| T * | checkedTo () |
| | Performs a checked cast. A BUG occurs if the cast fails.
|
| |
|
template<typename T > |
| const T * | checkedTo () const |
| | Performs a checked cast. A BUG occurs if the cast fails.
|
| |
| template<typename T > |
| bool | is () const noexcept |
| |
| virtual bool | isA (TypeId typeId) const noexcept=0 |
| |
|
template<typename T > |
| const T * | to () const noexcept |
| | Same as to, but returns const pointer to T.
|
| |
| template<typename T > |
| T * | to () noexcept |
| |
| virtual TypeId | typeId () const noexcept=0 |
| |
|
| ordered_map (const ordered_map &a) |
| |
|
| ordered_map (InputIt first, InputIt last) |
| |
|
| ordered_map (ordered_map &&a)=default |
| |
|
| ordered_map (std::initializer_list< value_type > il) |
| |
|
IJson * & | at (const cstring &x) |
| |
|
const IJson * & | at (const cstring &x) const |
| |
|
const_iterator | begin () const noexcept |
| |
|
iterator | begin () noexcept |
| |
|
const_iterator | cbegin () const noexcept |
| |
|
const_iterator | cend () const noexcept |
| |
|
void | clear () |
| |
|
size_type | count (const key_type &a) const |
| |
|
const_reverse_iterator | crbegin () const noexcept |
| |
|
const_reverse_iterator | crend () const noexcept |
| |
|
std::pair< iterator, bool > | emplace (KK &&k, VV &&...v) |
| |
|
std::pair< iterator, bool > | emplace_hint (iterator pos, KK &&k, VV &&...v) |
| |
|
bool | empty () const noexcept |
| |
|
const_iterator | end () const noexcept |
| |
|
iterator | end () noexcept |
| |
|
size_type | erase (const cstring &k) |
| |
|
iterator | erase (const_iterator pos) |
| |
|
iterator | find (const key_type &a) |
| |
|
const_iterator | find (const key_type &a) const |
| |
|
std::pair< iterator, bool > | insert (const value_type &v) |
| |
|
void | insert (InputIterator b, InputIterator e) |
| |
|
std::pair< iterator, bool > | insert (iterator pos, const value_type &v) |
| |
|
void | insert (iterator pos, InputIterator b, InputIterator e) |
| |
|
iterator | lower_bound (const key_type &a) |
| |
|
const_iterator | lower_bound (const key_type &a) const |
| |
|
size_type | max_size () const noexcept |
| |
|
bool | operator!= (const ordered_map &a) const |
| |
|
ordered_map & | operator= (const ordered_map &a) |
| |
|
ordered_map & | operator= (ordered_map &&a)=default |
| |
|
bool | operator== (const ordered_map &a) const |
| |
|
IJson * & | operator[] (const cstring &x) |
| |
|
IJson * & | operator[] (cstring &&x) |
| |
|
const_reverse_iterator | rbegin () const noexcept |
| |
|
reverse_iterator | rbegin () noexcept |
| |
|
const_reverse_iterator | rend () const noexcept |
| |
|
reverse_iterator | rend () noexcept |
| |
|
size_type | size () const noexcept |
| |
|
void | sort (Compare comp) |
| |
|
iterator | upper_bound (const key_type &a) |
| |
|
const_iterator | upper_bound (const key_type &a) const |
| |
|
iterator | upper_bound_pred (const key_type &a) |
| |
|
const_iterator | upper_bound_pred (const key_type &a) const |
| |