Ignition Msgs

API Reference

5.8.1

#include <versioned_name.pb.h>

Public Types

enum  : int { kNameFieldNumber = 2 , kVersionFieldNumber = 1 }
 

Public Member Functions

 VersionedName ()
 
constexpr VersionedName (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 VersionedName (const VersionedName &from)
 
 VersionedName (VersionedName &&from) noexcept
 
 ~VersionedName () override
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_name ()
 
void clear_version ()
 
void CopyFrom (const VersionedName &from)
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_version () const
 
bool IsInitialized () const final
 
void MergeFrom (const VersionedName &from)
 
std::stringmutable_name ()
 
::ignition::msgs::Versionmutable_version ()
 
const std::stringname () const
 
VersionedNameNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
VersionedNameoperator= (const VersionedName &from)
 
VersionedNameoperator= (VersionedName &&from) noexcept
 
PROTOBUF_NODISCARD std::stringrelease_name ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Versionrelease_version ()
 
void set_allocated_name (std::string *name)
 
void set_allocated_version (::ignition::msgs::Version *version)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_name (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_name (ArgT0 &&arg0, ArgT... args)
 
void Swap (VersionedName *other)
 
::ignition::msgs::Versionunsafe_arena_release_version ()
 
void unsafe_arena_set_allocated_version (::ignition::msgs::Version *version)
 
void UnsafeArenaSwap (VersionedName *other)
 
const ::ignition::msgs::Versionversion () const
 

Static Public Member Functions

static const VersionedNamedefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const VersionedNameinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

 VersionedName (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNameFieldNumber 
kVersionFieldNumber 

Constructor & Destructor Documentation

◆ VersionedName() [1/5]

VersionedName ( )
inline

◆ ~VersionedName()

~VersionedName ( )
override

◆ VersionedName() [2/5]

constexpr VersionedName ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicitconstexpr

◆ VersionedName() [3/5]

VersionedName ( const VersionedName from)

◆ VersionedName() [4/5]

VersionedName ( VersionedName &&  from)
inlinenoexcept

◆ VersionedName() [5/5]

VersionedName ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t* _InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_name()

void clear_name ( )
inline

◆ clear_version()

void clear_version ( )

◆ CopyFrom()

void CopyFrom ( const VersionedName from)

◆ default_instance()

static const VersionedName& default_instance ( )
inlinestatic

◆ descriptor()

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData ( ) const
final

◆ GetDescriptor()

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

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

◆ has_version()

bool has_version ( ) const
inline

◆ internal_default_instance()

static const VersionedName* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const VersionedName from)

◆ mutable_name()

std::string * mutable_name ( )
inline

◆ mutable_version()

ignition::msgs::Version * mutable_version ( )
inline

◆ name()

const std::string & name ( ) const
inline

◆ New()

VersionedName* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ operator=() [1/2]

VersionedName& operator= ( const VersionedName from)
inline

◆ operator=() [2/2]

VersionedName& operator= ( VersionedName &&  from)
inlinenoexcept

◆ release_name()

std::string * release_name ( )
inline

◆ release_version()

ignition::msgs::Version * release_version ( )
inline

◆ set_allocated_name()

void set_allocated_name ( std::string name)
inline

◆ set_allocated_version()

void set_allocated_version ( ::ignition::msgs::Version version)
inline

◆ set_name() [1/2]

void set_name ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_name() [2/2]

PROTOBUF_ALWAYS_INLINE void set_name ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ Swap()

void Swap ( VersionedName other)
inline

◆ unsafe_arena_release_version()

ignition::msgs::Version * unsafe_arena_release_version ( )
inline

◆ unsafe_arena_set_allocated_version()

void unsafe_arena_set_allocated_version ( ::ignition::msgs::Version version)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( VersionedName other)
inline

◆ version()

const ::ignition::msgs::Version & version ( ) const
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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