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::stringGetStringValue () const
 
uint32 GetUInt32Value () const
 
uint64 GetUInt64Value () const
 
 MapValueRef ()
 
MessageMutableMessageValue ()
 
void SetBoolValue (bool value)
 
void SetDoubleValue (double value)
 
void SetEnumValue (int value)
 
void SetFloatValue (float value)
 
void SetInt32Value (int32 value)
 
void SetInt64Value (int64 value)
 
void SetStringValue (const std::string &value)
 
void SetUInt32Value (uint32 value)
 
void SetUInt64Value (uint64 value)
 

Private Member Functions

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

Private Attributes

voiddata_
 
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 map_field.h.

Constructor & Destructor Documentation

◆ MapValueRef()

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

Definition at line 567 of file map_field.h.

Member Function Documentation

◆ CopyFrom()

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

Definition at line 678 of file map_field.h.

◆ DeleteData()

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

Definition at line 683 of file map_field.h.

◆ GetBoolValue()

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

Definition at line 623 of file map_field.h.

◆ GetDoubleValue()

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

Definition at line 639 of file map_field.h.

◆ GetEnumValue()

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

Definition at line 627 of file map_field.h.

◆ GetFloatValue()

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

Definition at line 635 of file map_field.h.

◆ GetInt32Value()

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

Definition at line 615 of file map_field.h.

◆ GetInt64Value()

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

Definition at line 607 of file map_field.h.

◆ GetMessageValue()

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

Definition at line 644 of file map_field.h.

◆ GetStringValue()

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

Definition at line 631 of file map_field.h.

◆ GetUInt32Value()

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

Definition at line 619 of file map_field.h.

◆ GetUInt64Value()

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

Definition at line 611 of file map_field.h.

◆ MutableMessageValue()

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

Definition at line 650 of file map_field.h.

◆ SetBoolValue()

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

Definition at line 585 of file map_field.h.

◆ SetDoubleValue()

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

Definition at line 602 of file map_field.h.

◆ SetEnumValue()

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

Definition at line 590 of file map_field.h.

◆ SetFloatValue()

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

Definition at line 598 of file map_field.h.

◆ SetInt32Value()

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

Definition at line 577 of file map_field.h.

◆ SetInt64Value()

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

Definition at line 569 of file map_field.h.

◆ SetStringValue()

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

Definition at line 594 of file map_field.h.

◆ SetType()

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

Definition at line 668 of file map_field.h.

◆ SetUInt32Value()

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

Definition at line 581 of file map_field.h.

◆ SetUInt64Value()

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

Definition at line 573 of file map_field.h.

◆ SetValue()

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

Definition at line 677 of file map_field.h.

◆ type()

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

Definition at line 670 of file map_field.h.

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::MapIterator

friend class ::PROTOBUF_NAMESPACE_ID::MapIterator
friend

Definition at line 664 of file map_field.h.

◆ internal::DynamicMapField

friend class internal::DynamicMapField
friend

Definition at line 666 of file map_field.h.

◆ 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

Definition at line 661 of file map_field.h.

◆ internal::TypeDefinedMapFieldBase

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

Definition at line 663 of file map_field.h.

◆ Reflection

friend class Reflection
friend

Definition at line 665 of file map_field.h.

Member Data Documentation

◆ data_

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

Definition at line 705 of file map_field.h.

◆ type_

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

Definition at line 707 of file map_field.h.


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


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