Ignition Msgs

API Reference

5.8.1

#include <stringmsg_v.pb.h>

Public Types

enum  : int { kDataFieldNumber = 2 , kHeaderFieldNumber = 1 }
 

Public Member Functions

 StringMsg_V ()
 
constexpr StringMsg_V (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 StringMsg_V (const StringMsg_V &from)
 
 StringMsg_V (StringMsg_V &&from) noexcept
 
 ~StringMsg_V () 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
 
std::stringadd_data ()
 
void add_data (const char *value)
 
void add_data (const char *value, size_t size)
 
void add_data (const std::string &value)
 
void add_data (std::string &&value)
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_data ()
 
void clear_header ()
 
void CopyFrom (const StringMsg_V &from)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & data () const
 
const std::stringdata (int index) const
 
int data_size () const
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
bool IsInitialized () const final
 
void MergeFrom (const StringMsg_V &from)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_data ()
 
std::stringmutable_data (int index)
 
::ignition::msgs::Headermutable_header ()
 
StringMsg_VNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
StringMsg_Voperator= (const StringMsg_V &from)
 
StringMsg_Voperator= (StringMsg_V &&from) noexcept
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_data (int index, const char *value)
 
void set_data (int index, const char *value, size_t size)
 
void set_data (int index, const std::string &value)
 
void set_data (int index, std::string &&value)
 
void Swap (StringMsg_V *other)
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void UnsafeArenaSwap (StringMsg_V *other)
 

Static Public Member Functions

static const StringMsg_Vdefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const StringMsg_Vinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDataFieldNumber 
kHeaderFieldNumber 

Constructor & Destructor Documentation

◆ StringMsg_V() [1/5]

StringMsg_V ( )
inline

◆ ~StringMsg_V()

~StringMsg_V ( )
override

◆ StringMsg_V() [2/5]

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

◆ StringMsg_V() [3/5]

StringMsg_V ( const StringMsg_V from)

◆ StringMsg_V() [4/5]

StringMsg_V ( StringMsg_V &&  from)
inlinenoexcept

◆ StringMsg_V() [5/5]

StringMsg_V ( ::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

◆ add_data() [1/5]

std::string * add_data ( )
inline

◆ add_data() [2/5]

void add_data ( const char *  value)
inline

◆ add_data() [3/5]

void add_data ( const char *  value,
size_t  size 
)
inline

References string::assign().

◆ add_data() [4/5]

void add_data ( const std::string value)
inline

References string::assign().

◆ add_data() [5/5]

void add_data ( std::string &&  value)
inline

References std::move().

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_data()

void clear_data ( )
inline

◆ clear_header()

void clear_header ( )

◆ CopyFrom()

void CopyFrom ( const StringMsg_V from)

◆ data() [1/2]

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

◆ data() [2/2]

const std::string & data ( int  index) const
inline

◆ data_size()

int data_size ( ) const
inline

◆ default_instance()

static const StringMsg_V& 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_header()

bool has_header ( ) const
inline

◆ header()

const ::ignition::msgs::Header & header ( ) const
inline

◆ internal_default_instance()

static const StringMsg_V* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const StringMsg_V from)

◆ mutable_data() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_data ( )
inline

◆ mutable_data() [2/2]

std::string * mutable_data ( int  index)
inline

◆ mutable_header()

ignition::msgs::Header * mutable_header ( )
inline

◆ New()

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

◆ operator=() [1/2]

StringMsg_V& operator= ( const StringMsg_V from)
inline

◆ operator=() [2/2]

StringMsg_V& operator= ( StringMsg_V &&  from)
inlinenoexcept

◆ release_header()

ignition::msgs::Header * release_header ( )
inline

◆ set_allocated_header()

void set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ set_data() [1/4]

void set_data ( int  index,
const char *  value 
)
inline

◆ set_data() [2/4]

void set_data ( int  index,
const char *  value,
size_t  size 
)
inline

◆ set_data() [3/4]

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

◆ set_data() [4/4]

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

References std::move().

◆ Swap()

void Swap ( StringMsg_V other)
inline

◆ unsafe_arena_release_header()

ignition::msgs::Header * unsafe_arena_release_header ( )
inline

◆ unsafe_arena_set_allocated_header()

void unsafe_arena_set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( StringMsg_V other)
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: