Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2ffog_2eproto IGNITION_MSGS_VISIBLE
53 static const ::google::protobuf::internal::ParseTableField entries[];
54 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55 static const ::google::protobuf::internal::ParseTable schema[1];
56 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57 static const ::google::protobuf::internal::SerializationTable serialization_table[];
58 static const ::google::protobuf::uint32 offsets[];
65 class FogDefaultTypeInternal;
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Fog* Arena::CreateMaybeMessage<::ignition::msgs::Fog>(Arena*);
92 return ::google::protobuf::internal::NameOfEnum(
97 return ::google::protobuf::internal::ParseNamedEnum<Fog_FogType>(
102 class IGNITION_MSGS_VISIBLE
Fog :
public ::google::protobuf::Message {
116 *
this = ::std::move(from);
119 inline Fog& operator=(Fog&& from) noexcept {
120 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121 if (
this != &from) InternalSwap(&from);
128 static const ::google::protobuf::Descriptor* descriptor();
129 static const Fog& default_instance();
131 static void InitAsDefaultInstance();
133 return reinterpret_cast<const Fog*
>(
136 static constexpr
int kIndexInFileMessages =
139 void Swap(
Fog* other);
147 return CreateMaybeMessage<Fog>(NULL);
150 Fog*
New(::google::protobuf::Arena* arena)
const final {
151 return CreateMaybeMessage<Fog>(arena);
153 void CopyFrom(const ::google::protobuf::Message& from)
final;
154 void MergeFrom(const ::google::protobuf::Message& from)
final;
155 void CopyFrom(
const Fog& from);
156 void MergeFrom(
const Fog& from);
158 bool IsInitialized() const final;
160 size_t ByteSizeLong() const final;
161 bool MergePartialFromCodedStream(
162 ::
google::protobuf::io::CodedInputStream* input) final;
163 void SerializeWithCachedSizes(
164 ::
google::protobuf::io::CodedOutputStream* output) const final;
165 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
166 bool deterministic, ::
google::protobuf::uint8* target) const final;
167 int GetCachedSize() const final {
return _cached_size_.Get(); }
172 void SetCachedSize(
int size)
const final;
173 void InternalSwap(
Fog* other);
175 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
178 inline void* MaybeArenaPtr()
const {
183 ::google::protobuf::Metadata GetMetadata() const final;
196 static inline
bool FogType_IsValid(
int value) {
203 static const int FogType_ARRAYSIZE =
205 static inline const ::google::protobuf::EnumDescriptor*
220 bool has_header()
const;
222 static const int kHeaderFieldNumber = 1;
224 const ::ignition::msgs::Header& _internal_header()
const;
226 const ::ignition::msgs::Header& header()
const;
232 bool has_color()
const;
234 static const int kColorFieldNumber = 3;
236 const ::ignition::msgs::Color& _internal_color()
const;
238 const ::ignition::msgs::Color& color()
const;
245 static const int kTypeFieldNumber = 2;
250 void clear_density();
251 static const int kDensityFieldNumber = 4;
252 float density()
const;
253 void set_density(
float value);
257 static const int kStartFieldNumber = 5;
259 void set_start(
float value);
263 static const int kEndFieldNumber = 6;
265 void set_end(
float value);
270 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
277 mutable ::google::protobuf::internal::CachedSize _cached_size_;
278 friend struct ::protobuf_ignition_2fmsgs_2ffog_2eproto::TableStruct;
286 #pragma GCC diagnostic push
287 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295 inline const ::ignition::msgs::Header& Fog::_internal_header()
const {
299 const ::ignition::msgs::Header* p = header_;
313 if (header_ == NULL) {
314 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
321 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
322 if (message_arena == NULL) {
323 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
326 ::google::protobuf::Arena* submessage_arena = NULL;
327 if (message_arena != submessage_arena) {
328 header = ::google::protobuf::internal::GetOwnedMessage(
329 message_arena,
header, submessage_arena);
357 inline const ::ignition::msgs::Color& Fog::_internal_color()
const {
361 const ::ignition::msgs::Color* p = color_;
375 if (color_ == NULL) {
376 auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
383 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
384 if (message_arena == NULL) {
385 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(color_);
388 ::google::protobuf::Arena* submessage_arena = NULL;
389 if (message_arena != submessage_arena) {
390 color = ::google::protobuf::internal::GetOwnedMessage(
391 message_arena,
color, submessage_arena);
444 #pragma GCC diagnostic pop
461 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Fog_FogType>() {
473 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
std::unique_ptr< Fog > FogUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:447
const Fog_FogType Fog_FogType_FogType_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:86
bool Fog_FogType_Parse(const ::std::string &name, Fog_FogType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:95
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:52
Fog_FogType
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:77
void set_density(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:409
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:311
::ignition::msgs::Fog_FogType type() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:343
static const ::google::protobuf::EnumDescriptor * FogType_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:206
void set_allocated_color(::ignition::msgs::Color *color)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:382
float density() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:405
std::unique_ptr< const Fog > ConstFogUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:448
void set_end(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:437
static const Fog * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:132
IGNITION_MSGS_VISIBLE bool Fog_FogType_IsValid(int value)
@ Fog_FogType_Fog_FogType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:82
const ::std::string & Fog_FogType_Name(Fog_FogType value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:91
Fog & operator=(const Fog &from)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:109
@ Fog_FogType_EXPONENTIAL2
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:81
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:320
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:102
::ignition::msgs::Color * release_color()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:366
@ Fog_FogType_LINEAR
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:79
IGNITION_MSGS_VISIBLE FogDefaultTypeInternal _Fog_default_instance_
@ Fog_FogType_NONE
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:78
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_density()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:402
@ Fog_FogType_EXPONENTIAL
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:80
void set_type(::ignition::msgs::Fog_FogType value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:347
Definition: build/ignition-msgs5/include/ignition/msgs/color.pb.h:77
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:50
bool has_color() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:354
static bool FogType_Parse(const ::std::string &name, FogType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:212
float end() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:433
static const ::std::string & FogType_Name(FogType value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:209
Fog * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:150
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Fog_FogType_descriptor()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Color & color() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:360
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:292
friend void swap(Fog &a, Fog &b)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:140
const Fog_FogType Fog_FogType_FogType_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:87
@ Fog_FogType_Fog_FogType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:83
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:298
Fog * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:146
void set_start(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:423
void clear_start()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:416
void IGNITION_MSGS_VISIBLE AddDescriptors()
const int Fog_FogType_FogType_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:88
float start() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:419
void clear_type()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:340
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:304
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void clear_end()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:430
std::shared_ptr< const Fog > ConstFogSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:450
std::shared_ptr< Fog > FogSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:449
::ignition::msgs::Color * mutable_color()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:373