4 #ifndef PROTOBUF_ignition_2fmsgs_2fatmosphere_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fatmosphere_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/generated_enum_reflection.h> 30 #include <google/protobuf/unknown_field_set.h> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 67 return ::google::protobuf::internal::NameOfEnum(
72 return ::google::protobuf::internal::ParseNamedEnum<Atmosphere_Type>(
77 class IGNITION_MSGS_VISIBLE
Atmosphere :
public ::google::protobuf::Message {
89 static const ::google::protobuf::Descriptor* descriptor();
98 Atmosphere* New(::google::protobuf::Arena* arena)
const;
99 void CopyFrom(const ::google::protobuf::Message& from);
100 void MergeFrom(const ::google::protobuf::Message& from);
104 bool IsInitialized()
const;
106 int ByteSize()
const;
107 bool MergePartialFromCodedStream(
108 ::google::protobuf::io::CodedInputStream* input);
109 void SerializeWithCachedSizes(
110 ::google::protobuf::io::CodedOutputStream* output)
const;
111 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
112 bool deterministic, ::google::protobuf::uint8* output)
const;
114 return InternalSerializeWithCachedSizesToArray(
false, output);
120 void SetCachedSize(
int size)
const;
123 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
124 return _internal_metadata_.arena();
126 inline void* MaybeArenaPtr()
const {
127 return _internal_metadata_.raw_arena_ptr();
131 ::google::protobuf::Metadata GetMetadata()
const;
136 static const Type ADIABATIC =
141 static const Type Type_MIN =
143 static const Type Type_MAX =
145 static const int Type_ARRAYSIZE =
147 static inline const ::google::protobuf::EnumDescriptor*
151 static inline const ::std::string&
Type_Name(Type value) {
162 bool has_header()
const;
164 static const int kHeaderFieldNumber = 1;
165 const ::ignition::msgs::Header& header()
const;
172 static const int kTypeFieldNumber = 2;
177 void clear_temperature();
178 static const int kTemperatureFieldNumber = 3;
179 double temperature()
const;
180 void set_temperature(
double value);
183 void clear_pressure();
184 static const int kPressureFieldNumber = 4;
185 double pressure()
const;
186 void set_pressure(
double value);
189 void clear_mass_density();
190 static const int kMassDensityFieldNumber = 5;
191 double mass_density()
const;
192 void set_mass_density(
double value);
195 void clear_enable_atmosphere();
196 static const int kEnableAtmosphereFieldNumber = 6;
197 bool enable_atmosphere()
const;
198 void set_enable_atmosphere(
bool value);
203 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
204 bool _is_default_instance_;
209 bool enable_atmosphere_;
210 double mass_density_;
211 mutable int _cached_size_;
216 void InitAsDefaultInstance();
224 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 229 return !_is_default_instance_ && header_ != NULL;
232 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
237 return header_ != NULL ? *header_ : *default_instance_->header_;
241 if (header_ == NULL) {
242 header_ = new ::ignition::msgs::Header;
289 temperature_ = value;
313 return mass_density_;
317 mass_density_ = value;
323 enable_atmosphere_ =
false;
327 return enable_atmosphere_;
331 enable_atmosphere_ = value;
335 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 352 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Atmosphere_Type>() {
365 #endif // PROTOBUF_ignition_2fmsgs_2fatmosphere_2eproto__INCLUDED void clear_pressure()
Definition: atmosphere.pb.h:294
Atmosphere * New() const
Definition: atmosphere.pb.h:96
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: atmosphere.pb.h:154
std::shared_ptr< const Atmosphere > ConstAtmosphereSharedPtr
Definition: atmosphere.pb.h:340
Atmosphere_Type
Definition: atmosphere.pb.h:55
void clear_type()
Definition: atmosphere.pb.h:266
double mass_density() const
Definition: atmosphere.pb.h:311
::ignition::msgs::Header * release_header()
Definition: atmosphere.pb.h:247
void clear_temperature()
Definition: atmosphere.pb.h:280
bool Atmosphere_Type_Parse(const ::std::string &name, Atmosphere_Type *value)
Definition: atmosphere.pb.h:70
const int Atmosphere_Type_Type_ARRAYSIZE
Definition: atmosphere.pb.h:63
void set_enable_atmosphere(bool value)
Definition: atmosphere.pb.h:329
static bool Type_IsValid(int value)
Definition: atmosphere.pb.h:138
double pressure() const
Definition: atmosphere.pb.h:297
Atmosphere & operator=(const Atmosphere &from)
Definition: atmosphere.pb.h:84
void clear_header()
Definition: atmosphere.pb.h:231
std::unique_ptr< const Atmosphere > ConstAtmosphereUniquePtr
Definition: atmosphere.pb.h:338
Definition: atmosphere.pb.h:56
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Atmosphere_Type_descriptor()
double temperature() const
Definition: atmosphere.pb.h:283
void set_pressure(double value)
Definition: atmosphere.pb.h:301
void protobuf_AssignDesc_ignition_2fmsgs_2fatmosphere_2eproto()
static const ::std::string & Type_Name(Type value)
Definition: atmosphere.pb.h:151
void set_allocated_header(::ignition::msgs::Header *header)
Definition: atmosphere.pb.h:254
Definition: atmosphere.pb.h:58
const ::std::string & Atmosphere_Type_Name(Atmosphere_Type value)
Definition: atmosphere.pb.h:66
int GetCachedSize() const
Definition: atmosphere.pb.h:116
::ignition::msgs::Header * mutable_header()
Definition: atmosphere.pb.h:239
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fatmosphere_2eproto()
void set_type(::ignition::msgs::Atmosphere_Type value)
Definition: atmosphere.pb.h:273
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: atmosphere.pb.h:113
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: atmosphere.pb.h:148
Definition: atmosphere.pb.h:57
Definition: atmosphere.pb.h:77
Atmosphere_Type Type
Definition: atmosphere.pb.h:135
void set_mass_density(double value)
Definition: atmosphere.pb.h:315
const Atmosphere_Type Atmosphere_Type_Type_MIN
Definition: atmosphere.pb.h:61
void protobuf_ShutdownFile_ignition_2fmsgs_2fatmosphere_2eproto()
const Atmosphere_Type Atmosphere_Type_Type_MAX
Definition: atmosphere.pb.h:62
bool has_header() const
Definition: atmosphere.pb.h:228
::ignition::msgs::Atmosphere_Type type() const
Definition: atmosphere.pb.h:269
void clear_enable_atmosphere()
Definition: atmosphere.pb.h:322
const ::ignition::msgs::Header & header() const
Definition: atmosphere.pb.h:235
IGNITION_MSGS_VISIBLE bool Atmosphere_Type_IsValid(int value)
bool enable_atmosphere() const
Definition: atmosphere.pb.h:325
void set_temperature(double value)
Definition: atmosphere.pb.h:287
std::unique_ptr< Atmosphere > AtmosphereUniquePtr
Definition: atmosphere.pb.h:337
std::shared_ptr< Atmosphere > AtmosphereSharedPtr
Definition: atmosphere.pb.h:339
void clear_mass_density()
Definition: atmosphere.pb.h:308