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
Type Class Reference

#include <type.pb.h>

Inheritance diagram for Type:
Inheritance graph
[legend]

Public Types

enum  : int {
  kFieldsFieldNumber = 2, kOneofsFieldNumber = 3, kOptionsFieldNumber = 4, kNameFieldNumber = 1,
  kSourceContextFieldNumber = 5, kSyntaxFieldNumber = 6
}
 

Public Member Functions

PROTOBUF_NAMESPACE_ID::Fieldadd_fields ()
 
std::stringadd_oneofs ()
 
void add_oneofs (const char *value)
 
void add_oneofs (const char *value, size_t size)
 
void add_oneofs (const std::string &value)
 
void add_oneofs (std::string &&value)
 
PROTOBUF_NAMESPACE_ID::Optionadd_options ()
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_fields ()
 
void clear_name ()
 
void clear_oneofs ()
 
void clear_options ()
 
void clear_source_context ()
 
void clear_syntax ()
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void CopyFrom (const Type &from)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > & fields () const
 
const PROTOBUF_NAMESPACE_ID::Fieldfields (int index) const
 
int fields_size () const
 
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 Type &from)
 
bool MergePartialFromCodedStream (::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > * mutable_fields ()
 
PROTOBUF_NAMESPACE_ID::Fieldmutable_fields (int index)
 
std::stringmutable_name ()
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_oneofs ()
 
std::stringmutable_oneofs (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * mutable_options ()
 
PROTOBUF_NAMESPACE_ID::Optionmutable_options (int index)
 
PROTOBUF_NAMESPACE_ID::SourceContextmutable_source_context ()
 
const std::stringname () const
 
TypeNew () const final
 
TypeNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & oneofs () const
 
const std::stringoneofs (int index) const
 
int oneofs_size () const
 
Typeoperator= (const Type &from)
 
Typeoperator= (Type &&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 ()
 
PROTOBUF_NAMESPACE_ID::SourceContextrelease_source_context ()
 
void SerializeWithCachedSizes (::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
 
void set_allocated_name (std::string *name)
 
void set_allocated_source_context (PROTOBUF_NAMESPACE_ID::SourceContext *source_context)
 
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_oneofs (int index, const char *value)
 
void set_oneofs (int index, const char *value, size_t size)
 
void set_oneofs (int index, const std::string &value)
 
void set_oneofs (int index, std::string &&value)
 
void set_syntax (PROTOBUF_NAMESPACE_ID::Syntax value)
 
const PROTOBUF_NAMESPACE_ID::SourceContextsource_context () const
 
void Swap (Type *other)
 
PROTOBUF_NAMESPACE_ID::Syntax syntax () const
 
 Type ()
 
 Type (const Type &from)
 
 Type (Type &&from) noexcept
 
PROTOBUF_NAMESPACE_ID::SourceContextunsafe_arena_release_source_context ()
 
void unsafe_arena_set_allocated_source_context (PROTOBUF_NAMESPACE_ID::SourceContext *source_context)
 
void UnsafeArenaSwap (Type *other)
 
virtual ~Type ()
 

Static Public Member Functions

static const Typedefault_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 Typeinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

 Type (::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 (Type *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::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Fieldfields_
 
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::stringoneofs_
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Optionoptions_
 
PROTOBUF_NAMESPACE_ID::SourceContextsource_context_
 
int syntax_
 

Friends

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

Detailed Description

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

Member Typedef Documentation

◆ DestructorSkippable_

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

◆ InternalArenaConstructable_

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kFieldsFieldNumber 
kOneofsFieldNumber 
kOptionsFieldNumber 
kNameFieldNumber 
kSourceContextFieldNumber 
kSyntaxFieldNumber 

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

Constructor & Destructor Documentation

◆ Type() [1/4]

Type::Type ( )

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

◆ ~Type()

Type::~Type ( )
virtual

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

◆ Type() [2/4]

Type::Type ( const Type from)

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

◆ Type() [3/4]

Type::Type ( Type &&  from)
inlinenoexcept

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

◆ Type() [4/4]

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

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

Member Function Documentation

◆ add_fields()

PROTOBUF_NAMESPACE_ID::Field * Type::add_fields ( )
inline

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

◆ add_oneofs() [1/5]

std::string * Type::add_oneofs ( )
inline

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

◆ add_oneofs() [2/5]

void Type::add_oneofs ( const char *  value)
inline

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

◆ add_oneofs() [3/5]

void Type::add_oneofs ( const char *  value,
size_t  size 
)
inline

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

◆ add_oneofs() [4/5]

void Type::add_oneofs ( const std::string value)
inline

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

◆ add_oneofs() [5/5]

void Type::add_oneofs ( std::string &&  value)
inline

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

◆ add_options()

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

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

◆ ArenaDtor()

void Type::ArenaDtor ( void object)
staticprivate

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

◆ ByteSizeLong()

size_t Type::ByteSizeLong ( ) const
final

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

◆ Clear()

void Type::Clear ( )
final

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

◆ clear_fields()

void Type::clear_fields ( )
inline

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

◆ clear_name()

void Type::clear_name ( )
inline

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

◆ clear_oneofs()

void Type::clear_oneofs ( )
inline

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

◆ clear_options()

void Type::clear_options ( )
inline

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

◆ clear_source_context()

void Type::clear_source_context ( )

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

◆ clear_syntax()

void Type::clear_syntax ( )
inline

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

◆ CopyFrom() [1/2]

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

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

◆ CopyFrom() [2/2]

void Type::CopyFrom ( const Type from)

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

◆ default_instance()

const Type & Type::default_instance ( )
static

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

◆ descriptor()

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

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

◆ fields() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > & Type::fields ( ) const
inline

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

◆ fields() [2/2]

const PROTOBUF_NAMESPACE_ID::Field & Type::fields ( int  index) const
inline

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

◆ fields_size()

int Type::fields_size ( ) const
inline

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

◆ FullMessageName()

::PROTOBUF_NAMESPACE_ID::StringPiece Type::FullMessageName ( )
inlinestaticprivate

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

◆ GetArena()

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

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

◆ GetArenaNoVirtual()

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

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

◆ GetCachedSize()

int Type::GetCachedSize ( ) const
inlinefinal

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

◆ GetDescriptor()

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

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

◆ GetMaybeArenaPointer()

void* Type::GetMaybeArenaPointer ( ) const
inlinefinal

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

◆ GetMetadata()

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

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

◆ GetMetadataStatic()

::PROTOBUF_NAMESPACE_ID::Metadata Type::GetMetadataStatic ( )
inlinestaticprivate

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

◆ GetReflection()

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

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

◆ InitAsDefaultInstance()

void Type::InitAsDefaultInstance ( )
static

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

◆ internal_default_instance()

static const Type* Type::internal_default_instance ( )
inlinestatic

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

◆ InternalSerializeWithCachedSizesToArray()

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

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

◆ InternalSwap()

void Type::InternalSwap ( Type other)
private

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

◆ IsInitialized()

bool Type::IsInitialized ( ) const
final

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

◆ MaybeArenaPtr()

void* Type::MaybeArenaPtr ( ) const
inlineprivate

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

void Type::MergeFrom ( const Type from)

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

◆ MergePartialFromCodedStream()

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

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

◆ mutable_fields() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > * Type::mutable_fields ( )
inline

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

◆ mutable_fields() [2/2]

PROTOBUF_NAMESPACE_ID::Field * Type::mutable_fields ( int  index)
inline

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

◆ mutable_name()

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

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

◆ mutable_oneofs() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * Type::mutable_oneofs ( )
inline

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

◆ mutable_oneofs() [2/2]

std::string * Type::mutable_oneofs ( int  index)
inline

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

◆ mutable_options() [1/2]

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

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

◆ mutable_options() [2/2]

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

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

◆ mutable_source_context()

PROTOBUF_NAMESPACE_ID::SourceContext * Type::mutable_source_context ( )
inline

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

◆ name()

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

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

◆ New() [1/2]

Type* Type::New ( ) const
inlinefinal

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

◆ New() [2/2]

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

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

◆ oneofs() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & Type::oneofs ( ) const
inline

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

◆ oneofs() [2/2]

const std::string & Type::oneofs ( int  index) const
inline

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

◆ oneofs_size()

int Type::oneofs_size ( ) const
inline

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ options() [1/2]

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

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

◆ options() [2/2]

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

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

◆ options_size()

int Type::options_size ( ) const
inline

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

◆ RegisterArenaDtor()

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

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

◆ release_name()

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

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

◆ release_source_context()

PROTOBUF_NAMESPACE_ID::SourceContext * Type::release_source_context ( )
inline

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

◆ SerializeWithCachedSizes()

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

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

◆ set_allocated_name()

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

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

◆ set_allocated_source_context()

void Type::set_allocated_source_context ( PROTOBUF_NAMESPACE_ID::SourceContext source_context)
inline

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

◆ set_name() [1/4]

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

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

◆ set_name() [2/4]

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

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

◆ set_name() [3/4]

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

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

◆ set_name() [4/4]

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

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

◆ set_oneofs() [1/4]

void Type::set_oneofs ( int  index,
const char *  value 
)
inline

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

◆ set_oneofs() [2/4]

void Type::set_oneofs ( int  index,
const char *  value,
size_t  size 
)
inline

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

◆ set_oneofs() [3/4]

void Type::set_oneofs ( int  index,
const std::string value 
)
inline

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

◆ set_oneofs() [4/4]

void Type::set_oneofs ( int  index,
std::string &&  value 
)
inline

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

◆ set_syntax()

void Type::set_syntax ( PROTOBUF_NAMESPACE_ID::Syntax  value)
inline

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

◆ SetCachedSize()

void Type::SetCachedSize ( int  size) const
finalprivate

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

◆ SharedCtor()

void Type::SharedCtor ( )
inlineprivate

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

◆ SharedDtor()

void Type::SharedDtor ( )
inlineprivate

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

◆ source_context()

const PROTOBUF_NAMESPACE_ID::SourceContext & Type::source_context ( ) const
inline

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

◆ Swap()

void Type::Swap ( Type other)
inline

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

◆ syntax()

PROTOBUF_NAMESPACE_ID::Syntax Type::syntax ( ) const
inline

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

◆ unsafe_arena_release_source_context()

PROTOBUF_NAMESPACE_ID::SourceContext * Type::unsafe_arena_release_source_context ( )
inline

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

◆ unsafe_arena_set_allocated_source_context()

void Type::unsafe_arena_set_allocated_source_context ( PROTOBUF_NAMESPACE_ID::SourceContext source_context)

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

◆ UnsafeArenaSwap()

void Type::UnsafeArenaSwap ( Type other)
inline

Definition at line 243 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 402 of file type.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

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

◆ ::TableStruct_google_2fprotobuf_2ftype_2eproto

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

◆ swap

void swap ( Type a,
Type b 
)
friend

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

Member Data Documentation

◆ _cached_size_

mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize Type::_cached_size_
private

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

◆ _internal_metadata_

::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena Type::_internal_metadata_
private

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

◆ fields_

::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > Type::fields_
private

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

◆ kIndexInFileMessages

constexpr int Type::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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

◆ name_

::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr Type::name_
private

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

◆ oneofs_

::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> Type::oneofs_
private

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

◆ options_

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

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

◆ source_context_

PROTOBUF_NAMESPACE_ID::SourceContext* Type::source_context_
private

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

◆ syntax_

int Type::syntax_
private

Definition at line 410 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:06