Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
EnumValue Class Reference

#include <type.pb.h>

Inheritance diagram for EnumValue:
Inheritance graph
[legend]

Public Types

enum  : int { kOptionsFieldNumber = 3, kNameFieldNumber = 1, kNumberFieldNumber = 2 }
 

Public Member Functions

PROTOBUF_NAMESPACE_ID::Optionadd_options ()
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_name ()
 
void clear_options ()
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void CopyFrom (const EnumValue &from)
 
 EnumValue ()
 
 EnumValue (const EnumValue &from)
 
 EnumValue (EnumValue &&from) noexcept
 
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena () const final
 
int GetCachedSize () const final
 
voidGetMaybeArenaPointer () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray (::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void MergeFrom (const EnumValue &from)
 
bool MergePartialFromCodedStream (::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
 
std::stringmutable_name ()
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * mutable_options ()
 
PROTOBUF_NAMESPACE_ID::Optionmutable_options (int index)
 
const std::stringname () const
 
EnumValueNew () const final
 
EnumValueNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
::PROTOBUF_NAMESPACE_ID::int32 number () const
 
EnumValueoperator= (const EnumValue &from)
 
EnumValueoperator= (EnumValue &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > & options () const
 
const PROTOBUF_NAMESPACE_ID::Optionoptions (int index) const
 
int options_size () const
 
std::stringrelease_name ()
 
void SerializeWithCachedSizes (::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
 
void set_allocated_name (std::string *name)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
void set_name (const std::string &value)
 
void set_name (std::string &&value)
 
void set_number (::PROTOBUF_NAMESPACE_ID::int32 value)
 
void Swap (EnumValue *other)
 
void UnsafeArenaSwap (EnumValue *other)
 
virtual ~EnumValue ()
 

Static Public Member Functions

static const EnumValuedefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptordescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::DescriptorGetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static void InitAsDefaultInstance ()
 
static const EnumValueinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

 EnumValue (::PROTOBUF_NAMESPACE_ID::Arena *arena)
 

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual () const
 
void InternalSwap (EnumValue *other)
 
voidMaybeArenaPtr () const
 
void RegisterArenaDtor (::PROTOBUF_NAMESPACE_ID::Arena *arena)
 
void SetCachedSize (int size) const final
 
void SharedCtor ()
 
void SharedDtor ()
 

Static Private Member Functions

static void ArenaDtor (void *object)
 
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName ()
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic ()
 

Private Attributes

mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
 
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
 
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_
 
::PROTOBUF_NAMESPACE_ID::int32 number_
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Optionoptions_
 

Friends

template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_google_2fprotobuf_2ftype_2eproto
 
void swap (EnumValue &a, EnumValue &b)
 

Detailed Description

Definition at line 1012 of file type.pb.h.

Member Typedef Documentation

◆ DestructorSkippable_

Definition at line 1192 of file type.pb.h.

◆ InternalArenaConstructable_

Definition at line 1191 of file type.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kOptionsFieldNumber 
kNameFieldNumber 
kNumberFieldNumber 

Definition at line 1144 of file type.pb.h.

Constructor & Destructor Documentation

◆ EnumValue() [1/4]

EnumValue::EnumValue ( )

Definition at line 2219 of file type.pb.cc.

◆ ~EnumValue()

EnumValue::~EnumValue ( )
virtual

Definition at line 2252 of file type.pb.cc.

◆ EnumValue() [2/4]

EnumValue::EnumValue ( const EnumValue from)

Definition at line 2232 of file type.pb.cc.

◆ EnumValue() [3/4]

EnumValue::EnumValue ( EnumValue &&  from)
inlinenoexcept

Definition at line 1019 of file type.pb.h.

◆ EnumValue() [4/4]

EnumValue::EnumValue ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena)
explicitprotected

Definition at line 2224 of file type.pb.cc.

Member Function Documentation

◆ add_options()

PROTOBUF_NAMESPACE_ID::Option * EnumValue::add_options ( )
inline

Definition at line 2372 of file type.pb.h.

◆ ArenaDtor()

void EnumValue::ArenaDtor ( void object)
staticprivate

Definition at line 2262 of file type.pb.cc.

◆ ByteSizeLong()

size_t EnumValue::ByteSizeLong ( ) const
final

Definition at line 2489 of file type.pb.cc.

◆ Clear()

void EnumValue::Clear ( )
final

Definition at line 2277 of file type.pb.cc.

◆ clear_name()

void EnumValue::clear_name ( )
inline

Definition at line 2266 of file type.pb.h.

◆ clear_options()

void EnumValue::clear_options ( )
inline

Definition at line 2356 of file type.pb.h.

◆ CopyFrom() [1/2]

void EnumValue::CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

Definition at line 2563 of file type.pb.cc.

◆ CopyFrom() [2/2]

void EnumValue::CopyFrom ( const EnumValue from)

Definition at line 2570 of file type.pb.cc.

◆ default_instance()

const EnumValue & EnumValue::default_instance ( )
static

Definition at line 2271 of file type.pb.cc.

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* EnumValue::descriptor ( )
inlinestatic

Definition at line 1043 of file type.pb.h.

◆ FullMessageName()

::PROTOBUF_NAMESPACE_ID::StringPiece EnumValue::FullMessageName ( )
inlinestaticprivate

Definition at line 1114 of file type.pb.h.

◆ GetArena()

inline ::PROTOBUF_NAMESPACE_ID::Arena* EnumValue::GetArena ( ) const
inlinefinal

Definition at line 1037 of file type.pb.h.

◆ GetArenaNoVirtual()

inline ::PROTOBUF_NAMESPACE_ID::Arena* EnumValue::GetArenaNoVirtual ( ) const
inlineprivate

Definition at line 1123 of file type.pb.h.

◆ GetCachedSize()

int EnumValue::GetCachedSize ( ) const
inlinefinal

Definition at line 1106 of file type.pb.h.

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* EnumValue::GetDescriptor ( )
inlinestatic

Definition at line 1046 of file type.pb.h.

◆ GetMaybeArenaPointer()

void* EnumValue::GetMaybeArenaPointer ( ) const
inlinefinal

Definition at line 1040 of file type.pb.h.

◆ GetMetadata()

PROTOBUF_NAMESPACE_ID::Metadata EnumValue::GetMetadata ( ) const
final

Definition at line 2590 of file type.pb.cc.

◆ GetMetadataStatic()

::PROTOBUF_NAMESPACE_ID::Metadata EnumValue::GetMetadataStatic ( )
inlinestaticprivate

Definition at line 1133 of file type.pb.h.

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* EnumValue::GetReflection ( )
inlinestatic

Definition at line 1049 of file type.pb.h.

◆ InitAsDefaultInstance()

void EnumValue::InitAsDefaultInstance ( )
static

Definition at line 2213 of file type.pb.cc.

◆ internal_default_instance()

static const EnumValue* EnumValue::internal_default_instance ( )
inlinestatic

Definition at line 1055 of file type.pb.h.

◆ InternalSerializeWithCachedSizesToArray()

PROTOBUF_NAMESPACE_ID::uint8 * EnumValue::InternalSerializeWithCachedSizesToArray ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target) const
final

Definition at line 2451 of file type.pb.cc.

◆ InternalSwap()

void EnumValue::InternalSwap ( EnumValue other)
private

Definition at line 2581 of file type.pb.cc.

◆ IsInitialized()

bool EnumValue::IsInitialized ( ) const
final

Definition at line 2577 of file type.pb.cc.

◆ MaybeArenaPtr()

void* EnumValue::MaybeArenaPtr ( ) const
inlineprivate

Definition at line 1126 of file type.pb.h.

◆ MergeFrom() [1/2]

void EnumValue::MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

Definition at line 2532 of file type.pb.cc.

◆ MergeFrom() [2/2]

void EnumValue::MergeFrom ( const EnumValue from)

Definition at line 2547 of file type.pb.cc.

◆ MergePartialFromCodedStream()

bool EnumValue::MergePartialFromCodedStream ( ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *  input)
final

Definition at line 2344 of file type.pb.cc.

◆ mutable_name()

std::string * EnumValue::mutable_name ( )
inline

Definition at line 2298 of file type.pb.h.

◆ mutable_options() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * EnumValue::mutable_options ( )
inline

Definition at line 2364 of file type.pb.h.

◆ mutable_options() [2/2]

PROTOBUF_NAMESPACE_ID::Option * EnumValue::mutable_options ( int  index)
inline

Definition at line 2359 of file type.pb.h.

◆ name()

const std::string & EnumValue::name ( ) const
inline

Definition at line 2269 of file type.pb.h.

◆ New() [1/2]

EnumValue* EnumValue::New ( ) const
inlinefinal

Definition at line 1081 of file type.pb.h.

◆ New() [2/2]

EnumValue* EnumValue::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

Definition at line 1085 of file type.pb.h.

◆ number()

PROTOBUF_NAMESPACE_ID::int32 EnumValue::number ( ) const
inline

Definition at line 2342 of file type.pb.h.

◆ operator=() [1/2]

EnumValue& EnumValue::operator= ( const EnumValue from)
inline

Definition at line 1024 of file type.pb.h.

◆ operator=() [2/2]

EnumValue& EnumValue::operator= ( EnumValue &&  from)
inlinenoexcept

Definition at line 1028 of file type.pb.h.

◆ options() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > & EnumValue::options ( ) const
inline

Definition at line 2377 of file type.pb.h.

◆ options() [2/2]

const PROTOBUF_NAMESPACE_ID::Option & EnumValue::options ( int  index) const
inline

Definition at line 2368 of file type.pb.h.

◆ options_size()

int EnumValue::options_size ( ) const
inline

Definition at line 2353 of file type.pb.h.

◆ RegisterArenaDtor()

void EnumValue::RegisterArenaDtor ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena)
inlineprivate

Definition at line 2266 of file type.pb.cc.

◆ release_name()

std::string * EnumValue::release_name ( )
inline

Definition at line 2303 of file type.pb.h.

◆ SerializeWithCachedSizes()

void EnumValue::SerializeWithCachedSizes ( ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *  output) const
final

Definition at line 2414 of file type.pb.cc.

◆ set_allocated_name()

void EnumValue::set_allocated_name ( std::string name)
inline

Definition at line 2308 of file type.pb.h.

◆ set_name() [1/4]

void EnumValue::set_name ( const char *  value)
inline

Definition at line 2284 of file type.pb.h.

◆ set_name() [2/4]

void EnumValue::set_name ( const char *  value,
size_t  size 
)
inline

Definition at line 2291 of file type.pb.h.

◆ set_name() [3/4]

void EnumValue::set_name ( const std::string value)
inline

Definition at line 2273 of file type.pb.h.

◆ set_name() [4/4]

void EnumValue::set_name ( std::string &&  value)
inline

Definition at line 2278 of file type.pb.h.

◆ set_number()

void EnumValue::set_number ( ::PROTOBUF_NAMESPACE_ID::int32  value)
inline

Definition at line 2346 of file type.pb.h.

◆ SetCachedSize()

void EnumValue::SetCachedSize ( int  size) const
finalprivate

Definition at line 2268 of file type.pb.cc.

◆ SharedCtor()

void EnumValue::SharedCtor ( )
inlineprivate

Definition at line 2246 of file type.pb.cc.

◆ SharedDtor()

void EnumValue::SharedDtor ( )
inlineprivate

Definition at line 2257 of file type.pb.cc.

◆ Swap()

void EnumValue::Swap ( EnumValue other)
inline

Definition at line 1065 of file type.pb.h.

◆ UnsafeArenaSwap()

void EnumValue::UnsafeArenaSwap ( EnumValue other)
inline

Definition at line 1073 of file type.pb.h.

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

Definition at line 1190 of file type.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

Definition at line 1113 of file type.pb.h.

◆ ::TableStruct_google_2fprotobuf_2ftype_2eproto

Definition at line 1197 of file type.pb.h.

◆ swap

void swap ( EnumValue a,
EnumValue b 
)
friend

Definition at line 1062 of file type.pb.h.

Member Data Documentation

◆ _cached_size_

mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize EnumValue::_cached_size_
private

Definition at line 1196 of file type.pb.h.

◆ _internal_metadata_

::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena EnumValue::_internal_metadata_
private

Definition at line 1187 of file type.pb.h.

◆ kIndexInFileMessages

constexpr int EnumValue::kIndexInFileMessages
staticconstexpr
Initial value:
=
3

Definition at line 1059 of file type.pb.h.

◆ name_

::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr EnumValue::name_
private

Definition at line 1194 of file type.pb.h.

◆ number_

::PROTOBUF_NAMESPACE_ID::int32 EnumValue::number_
private

Definition at line 1195 of file type.pb.h.

◆ options_

::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > EnumValue::options_
private

Definition at line 1193 of file type.pb.h.


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


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