Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::MapValueRef Class Reference

#include <map_field.h>

Public Member Functions

bool GetBoolValue () const
 
double GetDoubleValue () const
 
int GetEnumValue () const
 
float GetFloatValue () const
 
int32 GetInt32Value () const
 
int64 GetInt64Value () const
 
const MessageGetMessageValue () const
 
const std::string & GetStringValue () const
 
uint32 GetUInt32Value () const
 
uint64 GetUInt64Value () const
 
 MapValueRef ()
 
 MapValueRef ()
 
MessageMutableMessageValue ()
 
MessageMutableMessageValue ()
 
void SetBoolValue (bool value)
 
void SetBoolValue (bool value)
 
void SetDoubleValue (double value)
 
void SetDoubleValue (double value)
 
void SetEnumValue (int value)
 
void SetEnumValue (int value)
 
void SetFloatValue (float value)
 
void SetFloatValue (float value)
 
void SetInt32Value (int32 value)
 
void SetInt32Value (int32_t value)
 
void SetInt64Value (int64 value)
 
void SetInt64Value (int64_t value)
 
void SetStringValue (const std::string &value)
 
void SetStringValue (const std::string &value)
 
void SetUInt32Value (uint32 value)
 
void SetUInt32Value (uint32_t value)
 
void SetUInt64Value (uint64 value)
 
void SetUInt64Value (uint64_t value)
 

Private Member Functions

void CopyFrom (const MapValueRef &other)
 
void DeleteData ()
 
void DeleteData ()
 
void SetType (FieldDescriptor::CppType type)
 
void SetValue (const void *val)
 
FieldDescriptor::CppType type () const
 

Private Attributes

void * data_
 
int type_
 

Friends

class ::PROTOBUF_NAMESPACE_ID::MapIterator
 
class internal::DynamicMapField
 
template<typename Derived , typename K , typename V , internal::WireFormatLite::FieldType key_wire_type, internal::WireFormatLite::FieldType value_wire_type, int default_enum_value>
class internal::MapField
 
template<typename K , typename V >
class internal::TypeDefinedMapFieldBase
 
class Reflection
 

Detailed Description

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

Constructor & Destructor Documentation

◆ MapValueRef() [1/2]

google::protobuf::MapValueRef::MapValueRef ( )
inline

◆ MapValueRef() [2/2]

google::protobuf::MapValueRef::MapValueRef ( )
inline

Definition at line 779 of file protobuf/src/google/protobuf/map_field.h.

Member Function Documentation

◆ CopyFrom()

void google::protobuf::MapValueRef::CopyFrom ( const MapValueRef other)
inlineprivate

◆ DeleteData() [1/2]

void google::protobuf::MapValueRef::DeleteData ( )
inlineprivate

◆ DeleteData() [2/2]

void google::protobuf::MapValueRef::DeleteData ( )
inlineprivate

Definition at line 829 of file protobuf/src/google/protobuf/map_field.h.

◆ GetBoolValue()

bool google::protobuf::MapValueRef::GetBoolValue ( ) const
inline

◆ GetDoubleValue()

double google::protobuf::MapValueRef::GetDoubleValue ( ) const
inline

◆ GetEnumValue()

int google::protobuf::MapValueRef::GetEnumValue ( ) const
inline

◆ GetFloatValue()

float google::protobuf::MapValueRef::GetFloatValue ( ) const
inline

◆ GetInt32Value()

int32 google::protobuf::MapValueRef::GetInt32Value ( ) const
inline

◆ GetInt64Value()

int64 google::protobuf::MapValueRef::GetInt64Value ( ) const
inline

◆ GetMessageValue()

const Message& google::protobuf::MapValueRef::GetMessageValue ( ) const
inline

◆ GetStringValue()

const std::string& google::protobuf::MapValueRef::GetStringValue ( ) const
inline

◆ GetUInt32Value()

uint32 google::protobuf::MapValueRef::GetUInt32Value ( ) const
inline

◆ GetUInt64Value()

uint64 google::protobuf::MapValueRef::GetUInt64Value ( ) const
inline

◆ MutableMessageValue() [1/2]

Message* google::protobuf::MapValueRef::MutableMessageValue ( )
inline

◆ MutableMessageValue() [2/2]

Message* google::protobuf::MapValueRef::MutableMessageValue ( )
inline

Definition at line 819 of file protobuf/src/google/protobuf/map_field.h.

◆ SetBoolValue() [1/2]

void google::protobuf::MapValueRef::SetBoolValue ( bool  value)
inline

◆ SetBoolValue() [2/2]

void google::protobuf::MapValueRef::SetBoolValue ( bool  value)
inline

Definition at line 797 of file protobuf/src/google/protobuf/map_field.h.

◆ SetDoubleValue() [1/2]

void google::protobuf::MapValueRef::SetDoubleValue ( double  value)
inline

◆ SetDoubleValue() [2/2]

void google::protobuf::MapValueRef::SetDoubleValue ( double  value)
inline

Definition at line 814 of file protobuf/src/google/protobuf/map_field.h.

◆ SetEnumValue() [1/2]

void google::protobuf::MapValueRef::SetEnumValue ( int  value)
inline

◆ SetEnumValue() [2/2]

void google::protobuf::MapValueRef::SetEnumValue ( int  value)
inline

Definition at line 802 of file protobuf/src/google/protobuf/map_field.h.

◆ SetFloatValue() [1/2]

void google::protobuf::MapValueRef::SetFloatValue ( float  value)
inline

◆ SetFloatValue() [2/2]

void google::protobuf::MapValueRef::SetFloatValue ( float  value)
inline

Definition at line 810 of file protobuf/src/google/protobuf/map_field.h.

◆ SetInt32Value() [1/2]

void google::protobuf::MapValueRef::SetInt32Value ( int32  value)
inline

◆ SetInt32Value() [2/2]

void google::protobuf::MapValueRef::SetInt32Value ( int32_t  value)
inline

Definition at line 789 of file protobuf/src/google/protobuf/map_field.h.

◆ SetInt64Value() [1/2]

void google::protobuf::MapValueRef::SetInt64Value ( int64  value)
inline

◆ SetInt64Value() [2/2]

void google::protobuf::MapValueRef::SetInt64Value ( int64_t  value)
inline

Definition at line 781 of file protobuf/src/google/protobuf/map_field.h.

◆ SetStringValue() [1/2]

void google::protobuf::MapValueRef::SetStringValue ( const std::string &  value)
inline

◆ SetStringValue() [2/2]

void google::protobuf::MapValueRef::SetStringValue ( const std::string &  value)
inline

Definition at line 806 of file protobuf/src/google/protobuf/map_field.h.

◆ SetType()

void google::protobuf::MapValueRef::SetType ( FieldDescriptor::CppType  type)
inlineprivate

◆ SetUInt32Value() [1/2]

void google::protobuf::MapValueRef::SetUInt32Value ( uint32  value)
inline

◆ SetUInt32Value() [2/2]

void google::protobuf::MapValueRef::SetUInt32Value ( uint32_t  value)
inline

Definition at line 793 of file protobuf/src/google/protobuf/map_field.h.

◆ SetUInt64Value() [1/2]

void google::protobuf::MapValueRef::SetUInt64Value ( uint64  value)
inline

◆ SetUInt64Value() [2/2]

void google::protobuf::MapValueRef::SetUInt64Value ( uint64_t  value)
inline

Definition at line 785 of file protobuf/src/google/protobuf/map_field.h.

◆ SetValue()

void google::protobuf::MapValueRef::SetValue ( const void *  val)
inlineprivate

◆ type()

FieldDescriptor::CppType google::protobuf::MapValueRef::type ( ) const
inlineprivate

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::MapIterator

friend class ::PROTOBUF_NAMESPACE_ID::MapIterator
friend

◆ internal::DynamicMapField

◆ internal::MapField

template<typename Derived , typename K , typename V , internal::WireFormatLite::FieldType key_wire_type, internal::WireFormatLite::FieldType value_wire_type, int default_enum_value>
friend class internal::MapField
friend

◆ internal::TypeDefinedMapFieldBase

template<typename K , typename V >
friend class internal::TypeDefinedMapFieldBase
friend

◆ Reflection

friend class Reflection
friend

Member Data Documentation

◆ data_

void* google::protobuf::MapValueRef::data_
private

◆ type_

int google::protobuf::MapValueRef::type_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:20