ordered_map: a minimal map-like container that preserves insertion order for use within nlohmann::basic_json<ordered_map> More...
#include "json.h"
Inheritance diagram for nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >:
Collaboration diagram for nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >:Public Types | |
| using | Container = std::vector< std::pair< const Key, T >, Allocator > |
| using | Container = std::vector< std::pair< const Key, T >, Allocator > |
| using | key_type = Key |
| using | key_type = Key |
| using | mapped_type = T |
| using | mapped_type = T |
Public Member Functions | |
| ordered_map (const Allocator &alloc=Allocator()) | |
| ordered_map (const Allocator &alloc=Allocator()) | |
| template<class It > | |
| ordered_map (It first, It last, const Allocator &alloc=Allocator()) | |
| template<class It > | |
| ordered_map (It first, It last, const Allocator &alloc=Allocator()) | |
| ordered_map (std::initializer_list< T > init, const Allocator &alloc=Allocator()) | |
| ordered_map (std::initializer_list< T > init, const Allocator &alloc=Allocator()) | |
| T & | at (const Key &key) |
| T & | at (const Key &key) |
| const T & | at (const Key &key) const |
| const T & | at (const Key &key) const |
| size_type | count (const Key &key) const |
| size_type | count (const Key &key) const |
| std::pair< iterator, bool > | emplace (const key_type &key, T &&t) |
| std::pair< iterator, bool > | emplace (const key_type &key, T &&t) |
| size_type | erase (const Key &key) |
| size_type | erase (const Key &key) |
| iterator | erase (iterator pos) |
| iterator | erase (iterator pos) |
| iterator | find (const Key &key) |
| iterator | find (const Key &key) |
| const_iterator | find (const Key &key) const |
| const_iterator | find (const Key &key) const |
| std::pair< iterator, bool > | insert (const value_type &value) |
| std::pair< iterator, bool > | insert (const value_type &value) |
| std::pair< iterator, bool > | insert (value_type &&value) |
| std::pair< iterator, bool > | insert (value_type &&value) |
| T & | operator[] (const Key &key) |
| T & | operator[] (const Key &key) |
| const T & | operator[] (const Key &key) const |
| const T & | operator[] (const Key &key) const |
ordered_map: a minimal map-like container that preserves insertion order for use within nlohmann::basic_json<ordered_map>
| using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::Container = std::vector<std::pair<const Key, T>, Allocator> |
| using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::Container = std::vector<std::pair<const Key, T>, Allocator> |
| using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::key_type = Key |
| using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::key_type = Key |
| using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::mapped_type = T |
| using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::mapped_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 16525 of file json.h.
References JSON_THROW.
Referenced by nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::operator[]().
Here is the caller graph for this function:
|
inline |
Definition at line 16525 of file json.h.
References JSON_THROW.
|
inline |
Definition at line 16538 of file json.h.
References JSON_THROW.
|
inline |
Definition at line 16538 of file json.h.
References JSON_THROW.
|
inline |
|
inline |
|
inline |
Definition at line 16502 of file json.h.
Referenced by nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::insert(), and nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::operator[]().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 16620 of file json.h.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::emplace().
Here is the call graph for this function:
|
inline |
Definition at line 16620 of file json.h.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::emplace().
Here is the call graph for this function:
|
inline |
Definition at line 16515 of file json.h.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::emplace().
Here is the call graph for this function:
|
inline |
Definition at line 16515 of file json.h.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::emplace().
Here is the call graph for this function:
|
inline |
Definition at line 16520 of file json.h.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::at().
Here is the call graph for this function:
|
inline |
Definition at line 16520 of file json.h.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::at().
Here is the call graph for this function: