template <typename Key, typename Value, WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType>
struct MapEntryFuncs
Defined at line 337 of file ../../third_party/protobuf/src/google/protobuf/map_type_handler.h
Functions for operating on a map entry using type handlers.
Does not contain any representation (this class is not intended to be
instantiated).
Public Methods
uint8_t * InternalSerialize (int field_number, const Key & key, const Value & value, uint8_t * ptr, io::EpsCopyOutputStream * stream)
Defined at line 345 of file ../../third_party/protobuf/src/google/protobuf/map_type_handler.h
size_t ByteSizeLong (const Key & key, const Value & value)
Defined at line 358 of file ../../third_party/protobuf/src/google/protobuf/map_type_handler.h
int GetCachedSize (const Key & key, const Value & value)
Defined at line 366 of file ../../third_party/protobuf/src/google/protobuf/map_type_handler.h
Enumerations
enum
| Name | Value |
|---|---|
| kKeyFieldNumber | 1 |
| kValueFieldNumber | 2 |
Defined at line 340 of file ../../third_party/protobuf/src/google/protobuf/map_type_handler.h