#include <map.h>
Classes | |
class | const_iterator |
class | InnerMap |
class | iterator |
class | KeyValuePair |
class | MapAllocator |
Public Types | |
typedef hash< Key > | hasher |
typedef Key | key_type |
typedef T | mapped_type |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef size_t | size_type |
typedef MapPair< Key, T > | value_type |
Public Member Functions | |
T & | at (const key_type &key) |
const T & | at (const key_type &key) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | clear () |
bool | contains (const Key &key) const |
size_type | count (const key_type &key) const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
std::pair< iterator, iterator > | equal_range (const key_type &key) |
std::pair< const_iterator, const_iterator > | equal_range (const key_type &key) const |
size_type | erase (const key_type &key) |
void | erase (iterator first, iterator last) |
iterator | erase (iterator pos) |
iterator | find (const key_type &key) |
const_iterator | find (const key_type &key) const |
hasher | hash_function () const |
std::pair< iterator, bool > | insert (const value_type &value) |
template<class InputIt > | |
void | insert (InputIt first, InputIt last) |
void | insert (std::initializer_list< value_type > values) |
Map () | |
Map (Arena *arena) | |
template<class InputIt > | |
Map (const InputIt &first, const InputIt &last) | |
Map (const Map &other) | |
Map (Map &&other) noexcept | |
Map & | operator= (const Map &other) |
Map & | operator= (Map &&other) noexcept |
T & | operator[] (const key_type &key) |
size_type | size () const |
void | swap (Map &other) |
~Map () | |
Public Attributes | |
const typedef value_type * | const_pointer |
const typedef value_type & | const_reference |
Private Types | |
typedef MapAllocator< KeyValuePair > | Allocator |
typedef void | DestructorSkippable_ |
typedef void | InternalArenaConstructable_ |
Private Member Functions | |
value_type * | CreateValueTypeInternal (const Key &key) |
value_type * | CreateValueTypeInternal (const value_type &value) |
void | Init () |
void | SetDefaultEnumValue (int default_enum_value) |
Private Attributes | |
Arena * | arena_ |
int | default_enum_value_ |
InnerMap * | elements_ |
Friends | |
class | Arena |
template<typename Derived , typename K , typename V , internal::WireFormatLite::FieldType key_wire_type, internal::WireFormatLite::FieldType value_wire_type, int default_enum_value> | |
class | internal::MapFieldLite |
|
private |
|
private |
typedef hash<Key> google::protobuf::Map< Key, T >::hasher |
|
private |
typedef Key google::protobuf::Map< Key, T >::key_type |
typedef T google::protobuf::Map< Key, T >::mapped_type |
typedef value_type* google::protobuf::Map< Key, T >::pointer |
typedef value_type& google::protobuf::Map< Key, T >::reference |
typedef size_t google::protobuf::Map< Key, T >::size_type |
typedef MapPair<Key, T> google::protobuf::Map< Key, T >::value_type |
|
inline |
|
inlineexplicit |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
const typedef value_type* google::protobuf::Map< Key, T >::const_pointer |
const typedef value_type& google::protobuf::Map< Key, T >::const_reference |
|
private |
|
private |