Crossfire Server, Trunk
|
#include <json.hpp>
Public Types | |
using | Container = std::vector< std::pair< const Key, T >, Allocator > |
using | key_type = Key |
using | mapped_type = T |
template<typename InputIt > | |
using | require_input_iter = typename std::enable_if< std::is_convertible< typename std::iterator_traits< InputIt >::iterator_category, std::input_iterator_tag >::value >::type |
Public Member Functions | |
T & | at (const Key &key) |
const T & | at (const Key &key) const |
size_type | count (const Key &key) const |
std::pair< iterator, bool > | emplace (const key_type &key, T &&t) |
size_type | erase (const Key &key) |
iterator | erase (iterator pos) |
iterator | find (const Key &key) |
const_iterator | find (const Key &key) const |
std::pair< iterator, bool > | insert (const value_type &value) |
template<typename InputIt , typename = require_input_iter<InputIt>> | |
void | insert (InputIt first, InputIt last) |
std::pair< iterator, bool > | insert (value_type &&value) |
T & | operator[] (const Key &key) |
const T & | operator[] (const Key &key) const |
ordered_map (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: 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 >::key_type = Key |
using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::mapped_type = T |
using nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::require_input_iter = typename std::enable_if<std::is_convertible<typename std::iterator_traits<InputIt>::iterator_category, std::input_iterator_tag>::value>::type |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 17330 of file json.hpp.
References JSON_THROW.
Referenced by nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::operator[]().
|
inline |
Definition at line 17343 of file json.hpp.
References JSON_THROW.
|
inline |
|
inline |
Definition at line 17307 of file json.hpp.
References Floor::t.
Referenced by nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::insert(), and nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::operator[]().
|
inline |
Definition at line 17356 of file json.hpp.
References give::next.
|
inline |
Definition at line 17375 of file json.hpp.
References give::next.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 17448 of file json.hpp.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::insert().
|
inline |
Definition at line 17425 of file json.hpp.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::emplace().
Referenced by nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::insert().
|
inline |
Definition at line 17320 of file json.hpp.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::emplace().
|
inline |
Definition at line 17325 of file json.hpp.
References nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::at().