Public Types | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value > Class Template Reference

#include <map.h>

Public Types

typedef EntryType EntryTypeTrait
 
typedef Map< Key, TMapType
 

Public Member Functions

const char * _InternalParse (const char *ptr, ParseContext *ctx)
 
void Clear ()
 
const Map< Key, T > & GetMap () const
 
 MapFieldLite ()
 
 MapFieldLite (Arena *arena)
 
void MergeFrom (const MapFieldLite &other)
 
Map< Key, T > * MutableMap ()
 
EntryTypeNewEntry () const
 
EntryTypeNewEntryWrapper (const Key &key, const T &t) const
 
EntryTypeNewEnumEntryWrapper (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)
 
void SetDefaultEnumValue ()
 
int size () const
 
void Swap (MapFieldLite *other)
 

Private Types

typedef void DestructorSkippable_
 
typedef Derived EntryType
 

Private Attributes

Arena * arena_
 
Map< Key, Tmap_
 

Friends

class ::PROTOBUF_NAMESPACE_ID::Arena
 

Detailed Description

template<typename Derived, typename Key, typename T, WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
class google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >

Definition at line 73 of file map.h.

Member Typedef Documentation

◆ DestructorSkippable_

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
typedef void google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::DestructorSkippable_
private

Definition at line 127 of file map_field_lite.h.

◆ EntryType

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
typedef Derived google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::EntryType
private

Definition at line 60 of file map_field_lite.h.

◆ EntryTypeTrait

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
typedef EntryType google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::EntryTypeTrait

Definition at line 64 of file map_field_lite.h.

◆ MapType

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
typedef Map<Key, T> google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::MapType

Definition at line 63 of file map_field_lite.h.

Constructor & Destructor Documentation

◆ MapFieldLite() [1/2]

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::MapFieldLite ( )
inline

Definition at line 66 of file map_field_lite.h.

◆ MapFieldLite() [2/2]

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::MapFieldLite ( Arena *  arena)
inlineexplicit

Definition at line 68 of file map_field_lite.h.

Member Function Documentation

◆ _InternalParse()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
const char* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::_InternalParse ( const char *  ptr,
ParseContext ctx 
)
inline

Definition at line 112 of file map_field_lite.h.

◆ Clear()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
void google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::Clear ( )
inline

Definition at line 78 of file map_field_lite.h.

◆ GetMap()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
const Map<Key, T>& google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::GetMap ( ) const
inline

Definition at line 73 of file map_field_lite.h.

◆ MergeFrom()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
void google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::MergeFrom ( const MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value > &  other)
inline

Definition at line 79 of file map_field_lite.h.

◆ MutableMap()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
Map<Key, T>* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::MutableMap ( )
inline

Definition at line 74 of file map_field_lite.h.

◆ NewEntry()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
EntryType* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::NewEntry ( ) const
inline

Definition at line 94 of file map_field_lite.h.

◆ NewEntryWrapper()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
EntryType* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::NewEntryWrapper ( const Key &  key,
const T t 
) const
inline

Definition at line 108 of file map_field_lite.h.

◆ NewEnumEntryWrapper()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
EntryType* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::NewEnumEntryWrapper ( const Key &  key,
const T  t 
) const
inline

Definition at line 103 of file map_field_lite.h.

◆ ParseWithEnumValidation()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
template<typename Metadata >
const char* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::ParseWithEnumValidation ( const char *  ptr,
ParseContext ctx,
bool(*)(int)  is_valid,
uint32  field_num,
Metadata metadata 
)
inline

Definition at line 118 of file map_field_lite.h.

◆ SetDefaultEnumValue()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
void google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::SetDefaultEnumValue ( )
inline

Definition at line 88 of file map_field_lite.h.

◆ size()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
int google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::size ( ) const
inline

Definition at line 77 of file map_field_lite.h.

◆ Swap()

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
void google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::Swap ( MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value > *  other)
inline

Definition at line 85 of file map_field_lite.h.

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
friend class ::PROTOBUF_NAMESPACE_ID::Arena
friend

Definition at line 132 of file map_field_lite.h.

Member Data Documentation

◆ arena_

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
Arena* google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::arena_
private

Definition at line 129 of file map_field_lite.h.

◆ map_

template<typename Derived , typename Key , typename T , WireFormatLite::FieldType key_wire_type, WireFormatLite::FieldType value_wire_type, int default_enum_value = 0>
Map<Key, T> google::protobuf.internal::MapFieldLite< Derived, Key, T, key_wire_type, value_wire_type, default_enum_value >::map_
private

Definition at line 130 of file map_field_lite.h.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09