Public Types | Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value > Class Template Reference

#include <map_entry.h>

Inheritance diagram for google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >:
Inheritance graph
[legend]

Public Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 
typedef MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::KeyTypeHandler KeyTypeHandler
 
typedef MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::ValueTypeHandler ValueTypeHandler
 
- Public Types inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
typedef Key EntryKeyType
 
typedef Derived EntryType
 
typedef Value EntryValueType
 
typedef MapEntryFuncs< Key, Value, kKeyFieldType, kValueFieldType > Funcs
 
typedef void MapEntryHasMergeTypeTrait
 
- Public Types inherited from google::protobuf::MessageLite
enum  ParseFlags {
  kMerge = 0, kParse = 1, kMergePartial = 2, kParsePartial = 3,
  kMergeWithAliasing = 4, kParseWithAliasing = 5, kMergePartialWithAliasing = 6, kParsePartialWithAliasing = 7
}
 

Public Member Functions

 MapEntry ()
 
 MapEntry (Arena *arena)
 
size_t SpaceUsedLong () const override
 
- Public Member Functions inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
size_t ByteSizeLong () const override
 
void CheckTypeAndMergeFrom (const MessageLite &other) override
 
void Clear () override
 
Arena * GetArena () const override
 
Arena * GetArenaNoVirtual () const
 
int GetCachedSize () const override
 
std::string GetTypeName () const override
 
::google::protobuf::uint8InternalSerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const override
 
bool IsInitialized () const override
 
virtual const KeyMapEntryAccessorTypekey () const
 
 MapEntryImpl ()
 
 MapEntryImpl (Arena *arena)
 
bool MergePartialFromCodedStream (io::CodedInputStream *input) override
 
KeyMapEntryAccessorTypemutable_key ()
 
ValueMapEntryAccessorTypemutable_value ()
 
MessageNew () const override
 
MessageNew (Arena *arena) const override
 
void SerializeWithCachedSizes (io::CodedOutputStream *output) const override
 
virtual const ValueMapEntryAccessorTypevalue () const
 
 ~MapEntryImpl ()
 
- Public Member Functions inherited from google::protobuf::Message
size_t ByteSizeLong () const override
 
void CheckInitialized () const
 
virtual void CopyFrom (const Message &from)
 
std::string DebugString () const
 
virtual void DiscardUnknownFields ()
 
void FindInitializationErrors (std::vector< std::string > *errors) const
 
const DescriptorGetDescriptor () const
 
const ReflectionGetReflection () const
 
std::string GetTypeName () const override
 
std::string InitializationErrorString () const override
 
bool IsInitialized () const override
 
virtual void MergeFrom (const Message &from)
 
 Message ()
 
MessageNew () const override=0
 
void PrintDebugString () const
 
std::string ShortDebugString () const
 
int SpaceUsed () const
 
std::string Utf8DebugString () const
 
 ~Message () override
 
- Public Member Functions inherited from google::protobuf::MessageLite
bool AppendPartialToString (std::string *output) const
 
bool AppendToString (std::string *output) const
 
int ByteSize () const
 
std::string DebugString () const
 
virtual Arena * GetArena () const
 
virtual int GetCachedSize () const =0
 
virtual voidGetMaybeArenaPointer () const
 
virtual uint8InternalSerializeWithCachedSizesToArray (uint8 *target) const
 
bool MergeFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool MergeFromString (const std::string &data)
 
bool MergePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
 MessageLite ()
 
template<ParseFlags flags, typename T >
bool ParseFrom (const T &input)
 
bool ParseFromArray (const void *data, int size)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (std::istream *input)
 
bool ParseFromString (const std::string &data)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromIstream (std::istream *input)
 
bool ParsePartialFromString (const std::string &data)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
std::string SerializeAsString () const
 
std::string SerializePartialAsString () const
 
bool SerializePartialToArray (void *data, int size) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToOstream (std::ostream *output) const
 
bool SerializePartialToString (std::string *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (std::ostream *output) const
 
bool SerializeToString (std::string *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 
std::string ShortDebugString () const
 
std::string Utf8DebugString () const
 
virtual ~MessageLite ()
 

Public Attributes

InternalMetadataWithArena _internal_metadata_
 
- Public Attributes inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
uint32 _has_bits_ [1]
 
Arena * arena_
 
KeyOnMemory key_
 
ValueOnMemory value_
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (MapEntry)
 

Friends

class ::PROTOBUF_NAMESPACE_ID::Arena
 
template<typename C , typename K , typename V , WireFormatLite::FieldType k_wire_type, WireFormatLite::FieldType , int default_enum>
class internal::MapField
 

Additional Inherited Members

- Static Public Member Functions inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
static void InitAsDefaultInstance ()
 
- Static Public Attributes inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
static const int kEntryDefaultEnumValue
 
static const WireFormatLite::FieldType kEntryKeyFieldType
 
static const WireFormatLite::FieldType kEntryValueFieldType
 
- Protected Types inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
typedef KeyTypeHandler::MapEntryAccessorType KeyMapEntryAccessorType
 
typedef KeyTypeHandler::TypeOnMemory KeyOnMemory
 
typedef MapTypeHandler< kKeyFieldType, Key > KeyTypeHandler
 
typedef ValueTypeHandler::MapEntryAccessorType ValueMapEntryAccessorType
 
typedef ValueTypeHandler::TypeOnMemory ValueOnMemory
 
typedef MapTypeHandler< kValueFieldType, ValueValueTypeHandler
 
- Protected Member Functions inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
void clear_has_key ()
 
void clear_has_value ()
 
bool has_key () const
 
bool has_value () const
 
void MergeFromInternal (const MapEntryImpl &from)
 
void set_has_key ()
 
void set_has_value ()
 
- Protected Member Functions inherited from google::protobuf::Message
virtual Metadata GetMetadata () const =0
 
- Static Protected Member Functions inherited from google::protobuf::MessageLite
template<typename T >
static const internal::RepeatedPtrFieldBaseCastToBase (const RepeatedPtrField< T > &repeated)
 
template<typename T >
static internal::RepeatedPtrFieldBaseCastToBase (RepeatedPtrField< T > *repeated)
 
template<typename T >
static TCreateMaybeMessage (Arena *arena)
 
- Static Protected Attributes inherited from google::protobuf.internal::MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >
static const int kKeyFieldNumber
 
static const uint8 kKeyTag
 
static const size_t kTagSize
 
static const int kValueFieldNumber
 
static const uint8 kValueTag
 

Detailed Description

template<typename Derived, typename Key, typename Value, WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
class google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >

Definition at line 95 of file map_entry.h.

Member Typedef Documentation

◆ DestructorSkippable_

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
typedef void google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::DestructorSkippable_

Definition at line 105 of file map_entry.h.

◆ InternalArenaConstructable_

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
typedef void google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::InternalArenaConstructable_

Definition at line 104 of file map_entry.h.

◆ KeyTypeHandler

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
typedef MapEntryImpl<Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value>::KeyTypeHandler google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::KeyTypeHandler

Definition at line 110 of file map_entry.h.

◆ ValueTypeHandler

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
typedef MapEntryImpl< Derived, Message, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value>::ValueTypeHandler google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::ValueTypeHandler

Definition at line 113 of file map_entry.h.

Constructor & Destructor Documentation

◆ MapEntry() [1/2]

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::MapEntry ( )
inline

Definition at line 99 of file map_entry.h.

◆ MapEntry() [2/2]

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::MapEntry ( Arena *  arena)
inlineexplicit

Definition at line 100 of file map_entry.h.

Member Function Documentation

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >  )
private

◆ SpaceUsedLong()

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
size_t google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::SpaceUsedLong ( ) const
inlineoverridevirtual

Reimplemented from google::protobuf::Message.

Definition at line 114 of file map_entry.h.

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
friend class ::PROTOBUF_NAMESPACE_ID::Arena
friend

Definition at line 124 of file map_entry.h.

◆ internal::MapField

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
template<typename C , typename K , typename V , WireFormatLite::FieldType k_wire_type, WireFormatLite::FieldType , int default_enum>
friend class internal::MapField
friend

Definition at line 128 of file map_entry.h.

Member Data Documentation

◆ _internal_metadata_

template<typename Derived , typename Key , typename Value , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
InternalMetadataWithArena google::protobuf.internal::MapEntry< Derived, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value >::_internal_metadata_

Definition at line 121 of file map_entry.h.


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


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