template <typename Key, typename T>

class TypeDefinedMapFieldBase

Defined at line 563 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

This class provides common Map Reflection implementations for generated

message and dynamic message.

Protected Members

 

Public Methods

void InternalSwap (TypeDefinedMapFieldBase<Key, T> * other)

Defined at line 173 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

void TypeDefinedMapFieldBase<Key, T> (const VTable * vtable)

Defined at line 565 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

void TypeDefinedMapFieldBase<Key, T> (const TypeDefinedMapFieldBase<Key, T> & )

Defined at line 573 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

TypeDefinedMapFieldBase<Key, T> & operator= (const TypeDefinedMapFieldBase<Key, T> & )

Defined at line 574 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

void TypeDefinedMapFieldBase<Key, T> (const VTable * vtable, Arena * arena)

Defined at line 576 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

const Map<Key, T> & GetMap ()

Not all overrides are marked `final` here because DynamicMapField overrides

them. DynamicMapField does extra memory management for the elements and

needs to override the functions that create or destroy elements.

Defined at line 587 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

Map<Key, T> * MutableMap ()

Defined at line 592 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

void ClearMapNoSyncImpl (MapFieldBase & map)

Defined at line 598 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

size_t InternalGetArenaOffsetAlt (internal::InternalVisibility access)

Defined at line 604 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

Protected Methods

bool DeleteMapValueImpl (MapFieldBase & map, const MapKey & map_key)

Defined at line 123 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

bool LookupMapValueImpl (const MapFieldBase & self, const MapKey & map_key, MapValueConstRef * val)

Defined at line 109 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

void SetMapIteratorValueImpl (MapIterator * map_iter)

------------------------TypeDefinedMapFieldBase---------------

Defined at line 91 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

bool InsertOrLookupMapValueNoSyncImpl (MapFieldBase & map, const MapKey & map_key, MapValueRef * val)

Defined at line 100 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

void MergeFromImpl (MapFieldBase & base, const MapFieldBase & other)

Defined at line 138 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

void SwapImpl (MapFieldBase & lhs, MapFieldBase & rhs)

Defined at line 130 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

void UnsafeShallowSwapImpl (MapFieldBase & lhs, MapFieldBase & rhs)

Defined at line 166 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

size_t SpaceUsedExcludingSelfNoLockImpl (const MapFieldBase & map)

Defined at line 149 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

void ~TypeDefinedMapFieldBase<Key, T> ()

Defined at line 580 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

Records

Friends

template <typename Keytypename T>
class MapFieldTestPeer