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)
 
bool GetBoolValue () const
 
int32 GetInt32Value () const
 
int64 GetInt64Value () const
 
const std::stringGetStringValue () const
 
uint32 GetUInt32Value () const
 
uint64 GetUInt64Value () const
 
 MapKey ()
 
 MapKey (const MapKey &other)
 
bool operator< (const MapKey &other) const
 
MapKeyoperator= (const MapKey &other)
 
bool operator== (const MapKey &other) const
 
void SetBoolValue (bool value)
 
void SetInt32Value (int32 value)
 
void SetInt64Value (int64 value)
 
void SetStringValue (const std::string &val)
 
void SetUInt32Value (uint32 value)
 
void SetUInt64Value (uint64 value)
 
FieldDescriptor::CppType type () const
 
 ~MapKey ()
 

Private Member Functions

void SetType (FieldDescriptor::CppType type)
 

Private Attributes

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
 

Detailed Description

Definition at line 371 of file map_field.h.

Constructor & Destructor Documentation

◆ MapKey() [1/2]

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

Definition at line 373 of file map_field.h.

◆ MapKey() [2/2]

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

Definition at line 374 of file map_field.h.

◆ ~MapKey()

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

Definition at line 380 of file map_field.h.

Member Function Documentation

◆ CopyFrom()

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

Definition at line 503 of file map_field.h.

◆ GetBoolValue()

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

Definition at line 436 of file map_field.h.

◆ GetInt32Value()

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

Definition at line 428 of file map_field.h.

◆ GetInt64Value()

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

Definition at line 420 of file map_field.h.

◆ GetStringValue()

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

Definition at line 440 of file map_field.h.

◆ GetUInt32Value()

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

Definition at line 432 of file map_field.h.

◆ GetUInt64Value()

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

Definition at line 424 of file map_field.h.

◆ operator<()

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

Definition at line 445 of file map_field.h.

◆ operator=()

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

Definition at line 375 of file map_field.h.

◆ operator==()

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

Definition at line 474 of file map_field.h.

◆ SetBoolValue()

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

Definition at line 411 of file map_field.h.

◆ SetInt32Value()

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

Definition at line 403 of file map_field.h.

◆ SetInt64Value()

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

Definition at line 395 of file map_field.h.

◆ SetStringValue()

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

Definition at line 415 of file map_field.h.

◆ SetType()

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

Definition at line 549 of file map_field.h.

◆ SetUInt32Value()

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

Definition at line 407 of file map_field.h.

◆ SetUInt64Value()

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

Definition at line 399 of file map_field.h.

◆ type()

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

Definition at line 386 of file map_field.h.

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::MapIterator

friend class ::PROTOBUF_NAMESPACE_ID::MapIterator
friend

Definition at line 536 of file map_field.h.

◆ internal::DynamicMapField

friend class internal::DynamicMapField
friend

Definition at line 537 of file map_field.h.

◆ internal::TypeDefinedMapFieldBase

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

Definition at line 535 of file map_field.h.

Member Data Documentation

◆ type_

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

Definition at line 561 of file map_field.h.

◆ val_

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

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


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