Ignition Msgs

API Reference

5.8.1

#include <color.pb.h>

Public Types

enum  : int {
  kHeaderFieldNumber = 1 , kRFieldNumber = 2 , kGFieldNumber = 3 , kBFieldNumber = 4 ,
  kAFieldNumber = 5
}
 

Public Member Functions

 Color ()
 
constexpr Color (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Color (Color &&from) noexcept
 
 Color (const Color &from)
 
 ~Color () 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
 
float a () const
 
float b () const
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_a ()
 
void clear_b ()
 
void clear_g ()
 
void clear_header ()
 
void clear_r ()
 
void CopyFrom (const Color &from)
 
float g () 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 Color &from)
 
::ignition::msgs::Headermutable_header ()
 
ColorNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Coloroperator= (Color &&from) noexcept
 
Coloroperator= (const Color &from)
 
float r () const
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
void set_a (float value)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_b (float value)
 
void set_g (float value)
 
void set_r (float value)
 
void Swap (Color *other)
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void UnsafeArenaSwap (Color *other)
 

Static Public Member Functions

static const Colordefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Colorinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kHeaderFieldNumber 
kRFieldNumber 
kGFieldNumber 
kBFieldNumber 
kAFieldNumber 

Constructor & Destructor Documentation

◆ Color() [1/5]

Color ( )
inline

◆ ~Color()

~Color ( )
override

◆ Color() [2/5]

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

◆ Color() [3/5]

Color ( const Color from)

◆ Color() [4/5]

Color ( Color &&  from)
inlinenoexcept

◆ Color() [5/5]

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

◆ a()

float a ( ) const
inline

◆ b()

float b ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_a()

void clear_a ( )
inline

◆ clear_b()

void clear_b ( )
inline

◆ clear_g()

void clear_g ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_r()

void clear_r ( )
inline

◆ CopyFrom()

void CopyFrom ( const Color from)

◆ default_instance()

static const Color& default_instance ( )
inlinestatic

◆ descriptor()

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

◆ g()

float g ( ) const
inline

◆ 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 Color* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Color from)

◆ mutable_header()

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

◆ New()

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

◆ operator=() [1/2]

Color& operator= ( Color &&  from)
inlinenoexcept

◆ operator=() [2/2]

Color& operator= ( const Color from)
inline

◆ r()

float r ( ) const
inline

◆ release_header()

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

◆ set_a()

void set_a ( float  value)
inline

◆ set_allocated_header()

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

◆ set_b()

void set_b ( float  value)
inline

◆ set_g()

void set_g ( float  value)
inline

◆ set_r()

void set_r ( float  value)
inline

◆ Swap()

void Swap ( Color 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 ( Color 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: