#include <map.h>
Public Types | |
typedef Derived::SuperType | EntryTypeTrait |
typedef Map< Key, T > | MapType |
Public Member Functions | |
const char * | _InternalParse (const char *ptr, ParseContext *ctx) |
void | Clear () override |
bool | ContainsMapKey (const MapKey &map_key) const override |
bool | DeleteMapValue (const MapKey &map_key) override |
const Map< Key, T > & | GetMap () const override |
bool | InsertOrLookupMapValue (const MapKey &map_key, MapValueRef *val) override |
MapField () | |
MapField (Arena *arena) | |
void | MergeFrom (const MapFieldBase &other) override |
Map< Key, T > * | MutableMap () override |
EntryType * | NewEntry () const |
EntryType * | NewEntryWrapper (const Key &key, const T &t) const |
EntryType * | NewEnumEntryWrapper (const Key &key, const T t) const |
template<typename Metadata > | |
const char * | ParseWithEnumValidation (const char *ptr, ParseContext *ctx, bool(*is_valid)(int), uint32 field_num, Metadata *metadata) |
int | size () const override |
void | Swap (MapFieldBase *other) override |
Private Types | |
typedef MapIf< kIsValueEnum, T, const T & >::type | CastValueType |
typedef void | DestructorSkippable_ |
typedef Derived | EntryType |
typedef void | InternalArenaConstructable_ |
typedef MapTypeHandler< kKeyFieldType, Key > | KeyTypeHandler |
typedef MapFieldLite< Derived, Key, T, kKeyFieldType, kValueFieldType, default_enum_value > | MapFieldLiteType |
typedef MapTypeHandler< kValueFieldType, T > | ValueTypeHandler |
Private Member Functions | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (MapField) | |
void | SetMapIteratorValue (MapIterator *map_iter) const override |
size_t | SpaceUsedExcludingSelfNoLock () const override |
void | SyncMapWithRepeatedFieldNoLock () const override |
void | SyncRepeatedFieldWithMapNoLock () const override |
Private Attributes | |
MapFieldLiteType | impl_ |
Static Private Attributes | |
static const bool | kIsValueEnum = ValueTypeHandler::kIsEnum |
Friends | |
class | ::PROTOBUF_NAMESPACE_ID::Arena |
class | MapFieldStateTest |
|
private |
Definition at line 239 of file map_field.h.
|
private |
Definition at line 300 of file map_field.h.
|
private |
Definition at line 227 of file map_field.h.
typedef Derived::SuperType google::protobuf.internal::MapField< Derived, Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::EntryTypeTrait |
Definition at line 242 of file map_field.h.
|
private |
Definition at line 299 of file map_field.h.
|
private |
Definition at line 223 of file map_field.h.
|
private |
Definition at line 232 of file map_field.h.
typedef Map<Key, T> google::protobuf.internal::MapField< Derived, Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MapType |
Definition at line 243 of file map_field.h.
|
private |
Definition at line 224 of file map_field.h.
|
inline |
Definition at line 245 of file map_field.h.
|
inlineexplicit |
Definition at line 246 of file map_field.h.
|
inline |
Definition at line 285 of file map_field.h.
|
override |
Definition at line 178 of file map_field_inl.h.
|
override |
Definition at line 211 of file map_field_inl.h.
|
override |
Definition at line 243 of file map_field_inl.h.
|
inlineoverride |
Definition at line 254 of file map_field.h.
|
private |
|
override |
Definition at line 222 of file map_field_inl.h.
|
override |
Definition at line 252 of file map_field_inl.h.
|
inlineoverride |
Definition at line 259 of file map_field.h.
|
inline |
Definition at line 273 of file map_field.h.
|
inline |
Definition at line 281 of file map_field.h.
|
inline |
Definition at line 276 of file map_field.h.
|
inline |
Definition at line 289 of file map_field.h.
|
overrideprivate |
Definition at line 197 of file map_field_inl.h.
|
override |
Definition at line 169 of file map_field_inl.h.
|
overrideprivate |
Definition at line 339 of file map_field_inl.h.
|
override |
Definition at line 264 of file map_field_inl.h.
|
overrideprivate |
Definition at line 316 of file map_field_inl.h.
|
overrideprivate |
Definition at line 279 of file map_field_inl.h.
|
friend |
Definition at line 309 of file map_field.h.
|
friend |
Definition at line 310 of file map_field.h.
|
private |
Definition at line 297 of file map_field.h.
|
staticprivate |
Definition at line 238 of file map_field.h.