4 #ifndef PROTOBUF_ignition_2fmsgs_2fmeshgeom_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fmeshgeom_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/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> 57 class IGNITION_MSGS_VISIBLE
MeshGeom :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
70 static const MeshGeom& default_instance();
78 MeshGeom* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
82 void MergeFrom(
const MeshGeom& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
127 void clear_filename();
128 static const int kFilenameFieldNumber = 2;
129 const ::std::string& filename()
const;
130 void set_filename(const ::std::string& value);
131 void set_filename(
const char* value);
132 void set_filename(
const char* value,
size_t size);
135 void set_allocated_filename(::
std::string* filename);
138 bool has_scale()
const;
140 static const int kScaleFieldNumber = 3;
141 const ::ignition::msgs::Vector3d& scale()
const;
147 void clear_submesh();
148 static const int kSubmeshFieldNumber = 4;
149 const ::std::string& submesh()
const;
150 void set_submesh(const ::std::string& value);
151 void set_submesh(
const char* value);
152 void set_submesh(
const char* value,
size_t size);
155 void set_allocated_submesh(::
std::string* submesh);
158 void clear_center_submesh();
159 static const int kCenterSubmeshFieldNumber = 5;
160 bool center_submesh()
const;
161 void set_center_submesh(
bool value);
166 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
167 bool _is_default_instance_;
169 ::google::protobuf::internal::ArenaStringPtr filename_;
171 ::google::protobuf::internal::ArenaStringPtr submesh_;
172 bool center_submesh_;
173 mutable int _cached_size_;
178 void InitAsDefaultInstance();
186 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 191 return !_is_default_instance_ && header_ != NULL;
194 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
199 return header_ != NULL ? *header_ : *default_instance_->header_;
203 if (header_ == NULL) {
204 header_ = new ::ignition::msgs::Header;
229 filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
233 return filename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
237 filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
242 filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
247 filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
248 ::
std::string(reinterpret_cast<const char*>(value), size));
254 return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
259 return filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
262 if (filename != NULL) {
267 filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename);
273 return !_is_default_instance_ && scale_ != NULL;
276 if (GetArenaNoVirtual() == NULL && scale_ != NULL)
delete scale_;
281 return scale_ != NULL ? *scale_ : *default_instance_->scale_;
285 if (scale_ == NULL) {
286 scale_ = new ::ignition::msgs::Vector3d;
311 submesh_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
315 return submesh_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
319 submesh_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
324 submesh_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
329 submesh_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
330 ::
std::string(reinterpret_cast<const char*>(value), size));
336 return submesh_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
341 return submesh_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
344 if (submesh != NULL) {
349 submesh_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), submesh);
355 center_submesh_ =
false;
359 return center_submesh_;
363 center_submesh_ = value;
367 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 383 #endif // PROTOBUF_ignition_2fmsgs_2fmeshgeom_2eproto__INCLUDED std::shared_ptr< const MeshGeom > ConstMeshGeomSharedPtr
Definition: meshgeom.pb.h:372
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fmeshgeom_2eproto()
const ::ignition::msgs::Vector3d & scale() const
Definition: meshgeom.pb.h:279
void protobuf_AssignDesc_ignition_2fmsgs_2fmeshgeom_2eproto()
::std::string * mutable_submesh()
Definition: meshgeom.pb.h:333
bool has_scale() const
Definition: meshgeom.pb.h:272
const ::std::string & submesh() const
Definition: meshgeom.pb.h:313
::ignition::msgs::Header * release_header()
Definition: meshgeom.pb.h:209
void clear_filename()
Definition: meshgeom.pb.h:228
MeshGeom & operator=(const MeshGeom &from)
Definition: meshgeom.pb.h:64
const ::std::string & filename() const
Definition: meshgeom.pb.h:231
bool has_header() const
Definition: meshgeom.pb.h:190
::ignition::msgs::Header * mutable_header()
Definition: meshgeom.pb.h:201
const ::ignition::msgs::Header & header() const
Definition: meshgeom.pb.h:197
void set_filename(const ::std::string &value)
Definition: meshgeom.pb.h:235
void clear_header()
Definition: meshgeom.pb.h:193
::ignition::msgs::Vector3d * mutable_scale()
Definition: meshgeom.pb.h:283
bool center_submesh() const
Definition: meshgeom.pb.h:357
void clear_center_submesh()
Definition: meshgeom.pb.h:354
int GetCachedSize() const
Definition: meshgeom.pb.h:96
void set_allocated_submesh(::std::string *submesh)
Definition: meshgeom.pb.h:343
std::shared_ptr< MeshGeom > MeshGeomSharedPtr
Definition: meshgeom.pb.h:371
void clear_scale()
Definition: meshgeom.pb.h:275
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: meshgeom.pb.h:298
Definition: meshgeom.pb.h:57
Definition: vector3d.pb.h:56
std::unique_ptr< const MeshGeom > ConstMeshGeomUniquePtr
Definition: meshgeom.pb.h:370
std::unique_ptr< MeshGeom > MeshGeomUniquePtr
Definition: meshgeom.pb.h:369
::std::string * release_submesh()
Definition: meshgeom.pb.h:338
::std::string * mutable_filename()
Definition: meshgeom.pb.h:251
void set_submesh(const ::std::string &value)
Definition: meshgeom.pb.h:317
::std::string * release_filename()
Definition: meshgeom.pb.h:256
void set_center_submesh(bool value)
Definition: meshgeom.pb.h:361
void set_allocated_header(::ignition::msgs::Header *header)
Definition: meshgeom.pb.h:216
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: meshgeom.pb.h:93
MeshGeom * New() const
Definition: meshgeom.pb.h:76
::ignition::msgs::Vector3d * release_scale()
Definition: meshgeom.pb.h:291
void set_allocated_filename(::std::string *filename)
Definition: meshgeom.pb.h:261
void protobuf_ShutdownFile_ignition_2fmsgs_2fmeshgeom_2eproto()
void clear_submesh()
Definition: meshgeom.pb.h:310