class MapFieldBaseForParse

Defined at line 619 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

Base class used by TcParser to extract the map object from a map field.

We keep it here to avoid a dependency into map_field.h from the main TcParser

code, since that would bring in Message too.

Protected Members

atomic globals_or_payload_
static atomic sync_map_with_repeated
static const uintptr_t kHasPayloadBit

Public Methods

const UntypedMapBase & GetMap ()

Defined at line 621 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

UntypedMapBase * MutableMap ()

Defined at line 630 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

Protected Methods

size_t MapOffset ()

Defined at line 640 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

const UntypedMapBase & GetMapRaw ()

See assertion in TypeDefinedMapFieldBase::TypeDefinedMapFieldBase()

Defined at line 643 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

UntypedMapBase & GetMapRaw ()

Defined at line 647 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

void MapFieldBaseForParse (const void * globals_as_void)

The globals is a `*GlobalsTypeInternal`, but due to restrictions on

constexpr in the codegen we are receiving it as `void` during constant

evaluation.

Defined at line 661 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

void MapFieldBaseForParse (const Message * prototype)

Convert "prototype" to "globals" for consistency.

Defined at line 665 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

void ~MapFieldBaseForParse ()

Defined at line 669 of file ../../third_party/protobuf/src/src/google/protobuf/map.h

bool IsPayload (const void * p)

Defined at line 673 of file ../../third_party/protobuf/src/src/google/protobuf/map.h