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

#include <map_field.h>

Classes

union  KeyValue
 

Public Member Functions

void CopyFrom (const MapKey &other)
 
void CopyFrom (const MapKey &other)
 
bool GetBoolValue () const
 
bool GetBoolValue () const
 
int32_t GetInt32Value () const
 
int32 GetInt32Value () const
 
int64_t GetInt64Value () const
 
int64 GetInt64Value () const
 
const std::string & GetStringValue () const
 
const std::string & GetStringValue () const
 
uint32_t GetUInt32Value () const
 
uint32 GetUInt32Value () const
 
uint64_t GetUInt64Value () const
 
uint64 GetUInt64Value () const
 
 MapKey ()
 
 MapKey ()
 
 MapKey (const MapKey &other)
 
 MapKey (const MapKey &other)
 
bool operator< (const MapKey &other) const
 
bool operator< (const MapKey &other) const
 
MapKeyoperator= (const MapKey &other)
 
MapKeyoperator= (const MapKey &other)
 
bool operator== (const MapKey &other) const
 
bool operator== (const MapKey &other) const
 
void SetBoolValue (bool value)
 
void SetBoolValue (bool value)
 
void SetInt32Value (int32 value)
 
void SetInt32Value (int32_t value)
 
void SetInt64Value (int64 value)
 
void SetInt64Value (int64_t value)
 
void SetStringValue (const std::string &val)
 
void SetStringValue (std::string val)
 
void SetUInt32Value (uint32 value)
 
void SetUInt32Value (uint32_t value)
 
void SetUInt64Value (uint64 value)
 
void SetUInt64Value (uint64_t value)
 
FieldDescriptor::CppType type () const
 
FieldDescriptor::CppType type () const
 
 ~MapKey ()
 
 ~MapKey ()
 

Private Member Functions

void SetType (FieldDescriptor::CppType type)
 
void SetType (FieldDescriptor::CppType type)
 

Private Attributes

FieldDescriptor::CppType type_
 
int type_
 
union google::protobuf::MapKey::KeyValue val_
 

Friends

class ::PROTOBUF_NAMESPACE_ID::MapIterator
 
class internal::DynamicMapField
 
template<typename K , typename V >
class internal::TypeDefinedMapFieldBase
 
template<typename K , typename V >
class internal::TypeDefinedMapFieldBase
 

Detailed Description

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

Constructor & Destructor Documentation

◆ MapKey() [1/4]

google::protobuf::MapKey::MapKey ( )
inline

◆ MapKey() [2/4]

google::protobuf::MapKey::MapKey ( const MapKey other)
inline

◆ ~MapKey() [1/2]

google::protobuf::MapKey::~MapKey ( )
inline

◆ MapKey() [3/4]

google::protobuf::MapKey::MapKey ( )
inline

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

◆ MapKey() [4/4]

google::protobuf::MapKey::MapKey ( const MapKey other)
inline

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

◆ ~MapKey() [2/2]

google::protobuf::MapKey::~MapKey ( )
inline

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

Member Function Documentation

◆ CopyFrom() [1/2]

void google::protobuf::MapKey::CopyFrom ( const MapKey other)
inline

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

◆ CopyFrom() [2/2]

void google::protobuf::MapKey::CopyFrom ( const MapKey other)
inline

◆ GetBoolValue() [1/2]

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

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

◆ GetBoolValue() [2/2]

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

◆ GetInt32Value() [1/2]

int32_t google::protobuf::MapKey::GetInt32Value ( ) const
inline

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

◆ GetInt32Value() [2/2]

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

◆ GetInt64Value() [1/2]

int64_t google::protobuf::MapKey::GetInt64Value ( ) const
inline

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

◆ GetInt64Value() [2/2]

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

◆ GetStringValue() [1/2]

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

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

◆ GetStringValue() [2/2]

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

◆ GetUInt32Value() [1/2]

uint32_t google::protobuf::MapKey::GetUInt32Value ( ) const
inline

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

◆ GetUInt32Value() [2/2]

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

◆ GetUInt64Value() [1/2]

uint64_t google::protobuf::MapKey::GetUInt64Value ( ) const
inline

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

◆ GetUInt64Value() [2/2]

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

◆ operator<() [1/2]

bool google::protobuf::MapKey::operator< ( const MapKey other) const
inline

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

◆ operator<() [2/2]

bool google::protobuf::MapKey::operator< ( const MapKey other) const
inline

◆ operator=() [1/2]

MapKey& google::protobuf::MapKey::operator= ( const MapKey other)
inline

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

◆ operator=() [2/2]

MapKey& google::protobuf::MapKey::operator= ( const MapKey other)
inline

◆ operator==() [1/2]

bool google::protobuf::MapKey::operator== ( const MapKey other) const
inline

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

◆ operator==() [2/2]

bool google::protobuf::MapKey::operator== ( const MapKey other) const
inline

◆ SetBoolValue() [1/2]

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

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

◆ SetBoolValue() [2/2]

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

◆ SetInt32Value() [1/2]

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

◆ SetInt32Value() [2/2]

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

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

◆ SetInt64Value() [1/2]

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

◆ SetInt64Value() [2/2]

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

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

◆ SetStringValue() [1/2]

void google::protobuf::MapKey::SetStringValue ( const std::string &  val)
inline

◆ SetStringValue() [2/2]

void google::protobuf::MapKey::SetStringValue ( std::string  val)
inline

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

◆ SetType() [1/2]

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

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

◆ SetType() [2/2]

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

◆ SetUInt32Value() [1/2]

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

◆ SetUInt32Value() [2/2]

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

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

◆ SetUInt64Value() [1/2]

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

◆ SetUInt64Value() [2/2]

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

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

◆ type() [1/2]

FieldDescriptor::CppType google::protobuf::MapKey::type ( ) const
inline

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

◆ type() [2/2]

FieldDescriptor::CppType google::protobuf::MapKey::type ( ) const
inline

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::MapIterator

friend class ::PROTOBUF_NAMESPACE_ID::MapIterator
friend

◆ internal::DynamicMapField

◆ internal::TypeDefinedMapFieldBase [1/2]

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

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

◆ internal::TypeDefinedMapFieldBase [2/2]

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

Member Data Documentation

◆ type_ [1/2]

FieldDescriptor::CppType google::protobuf::MapKey::type_
private

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

◆ type_ [2/2]

int google::protobuf::MapKey::type_
private

◆ val_

union google::protobuf::MapKey::KeyValue google::protobuf::MapKey::val_
private

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


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