Gazebo Msgs

API Reference

9.5.1

#include <stringmsg_v.pb.h>

Public Member Functions

 StringMsg_V ()
 
 StringMsg_V (const StringMsg_V &from)
 
virtual ~StringMsg_V ()
 
::std::stringadd_data ()
 
void add_data (const ::std::string &value)
 
void add_data (const char *value)
 
void add_data (const char *value, size_t size)
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_data ()
 
void clear_header ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const StringMsg_V &from)
 
const ::google::protobuf::RepeatedPtrField< ::std::string > & data () const
 
const ::std::stringdata (int index) const
 
int data_size () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::gz::msgs::Headerheader () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const StringMsg_V &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_data ()
 
::std::stringmutable_data (int index)
 
::gz::msgs::Headermutable_header ()
 
StringMsg_VNew () const final
 
StringMsg_VNew (::google::protobuf::Arena *arena) const final
 
StringMsg_Voperator= (const StringMsg_V &from)
 
::gz::msgs::Headerrelease_header ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_data (int index, const ::std::string &value)
 
void set_data (int index, const char *value)
 
void set_data (int index, const char *value, size_t size)
 
void Swap (StringMsg_V *other)
 

Static Public Member Functions

static const StringMsg_Vdefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const StringMsg_Vinternal_default_instance ()
 

Static Public Attributes

static const int kDataFieldNumber = 2
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 

Constructor & Destructor Documentation

◆ StringMsg_V() [1/2]

◆ ~StringMsg_V()

virtual ~StringMsg_V ( )
virtual

◆ StringMsg_V() [2/2]

StringMsg_V ( const StringMsg_V from)

Member Function Documentation

◆ add_data() [1/4]

std::string * add_data ( )
inline

◆ add_data() [2/4]

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

◆ add_data() [3/4]

void add_data ( const char *  value)
inline

◆ add_data() [4/4]

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

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_data()

void clear_data ( )
inline

◆ clear_header()

void clear_header ( )

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const StringMsg_V from)

◆ data() [1/2]

const ::google::protobuf::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 ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const
final

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const StringMsg_V* internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const StringMsg_V from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_data() [1/2]

google::protobuf::RepeatedPtrField<::std::string > * mutable_data ( )
inline

◆ mutable_data() [2/2]

std::string * mutable_data ( int  index)
inline

◆ mutable_header()

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

◆ New() [1/2]

StringMsg_V* New ( ) const
inlinefinal

◆ New() [2/2]

StringMsg_V* New ( ::google::protobuf::Arena *  arena) const
inlinefinal

◆ operator=()

StringMsg_V& operator= ( const StringMsg_V from)
inline

◆ release_header()

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

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_header()

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

References StringMsg_V::header().

◆ set_data() [1/3]

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

◆ set_data() [2/3]

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

◆ set_data() [3/3]

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

◆ Swap()

void Swap ( StringMsg_V other)

Member Data Documentation

◆ kDataFieldNumber

const int kDataFieldNumber = 2
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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