Ignition Msgs

API Reference

5.6.0
model.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/model.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fmodel_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fmodel_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
31 #include "ignition/msgs/joint.pb.h"
32 #include "ignition/msgs/link.pb.h"
33 #include "ignition/msgs/pose.pb.h"
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 
50 namespace ignition {
51 namespace msgs {
52 
53 // Internal implementation detail -- do not call these.
54 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fmodel_2eproto();
57 
58 class Model;
59 
60 // ===================================================================
61 
62 class IGNITION_MSGS_VISIBLE Model : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Model) */ {
63  public:
64  Model();
65  virtual ~Model();
66 
67  Model(const Model& from);
68 
69  inline Model& operator=(const Model& from) {
70  CopyFrom(from);
71  return *this;
72  }
73 
74  static const ::google::protobuf::Descriptor* descriptor();
75  static const Model& default_instance();
76 
77  void Swap(Model* other);
78 
79  // implements Message ----------------------------------------------
80 
81  inline Model* New() const { return New(NULL); }
82 
83  Model* New(::google::protobuf::Arena* arena) const;
84  void CopyFrom(const ::google::protobuf::Message& from);
85  void MergeFrom(const ::google::protobuf::Message& from);
86  void CopyFrom(const Model& from);
87  void MergeFrom(const Model& from);
88  void Clear();
89  bool IsInitialized() const;
90 
91  int ByteSize() const;
92  bool MergePartialFromCodedStream(
93  ::google::protobuf::io::CodedInputStream* input);
94  void SerializeWithCachedSizes(
95  ::google::protobuf::io::CodedOutputStream* output) const;
96  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
97  bool deterministic, ::google::protobuf::uint8* output) const;
98  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
99  return InternalSerializeWithCachedSizesToArray(false, output);
100  }
101  int GetCachedSize() const { return _cached_size_; }
102  private:
103  void SharedCtor();
104  void SharedDtor();
105  void SetCachedSize(int size) const;
106  void InternalSwap(Model* other);
107  private:
108  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
109  return _internal_metadata_.arena();
110  }
111  inline void* MaybeArenaPtr() const {
112  return _internal_metadata_.raw_arena_ptr();
113  }
114  public:
115 
116  ::google::protobuf::Metadata GetMetadata() const;
117 
118  // nested types ----------------------------------------------------
119 
120  // accessors -------------------------------------------------------
121 
122  // optional .ignition.msgs.Header header = 1;
123  bool has_header() const;
124  void clear_header();
125  static const int kHeaderFieldNumber = 1;
126  const ::ignition::msgs::Header& header() const;
127  ::ignition::msgs::Header* mutable_header();
128  ::ignition::msgs::Header* release_header();
129  void set_allocated_header(::ignition::msgs::Header* header);
130 
131  // optional string name = 2;
132  void clear_name();
133  static const int kNameFieldNumber = 2;
134  const ::std::string& name() const;
135  void set_name(const ::std::string& value);
136  void set_name(const char* value);
137  void set_name(const char* value, size_t size);
138  ::std::string* mutable_name();
139  ::std::string* release_name();
140  void set_allocated_name(::std::string* name);
141 
142  // optional uint32 id = 3;
143  void clear_id();
144  static const int kIdFieldNumber = 3;
145  ::google::protobuf::uint32 id() const;
146  void set_id(::google::protobuf::uint32 value);
147 
148  // optional bool is_static = 4;
149  void clear_is_static();
150  static const int kIsStaticFieldNumber = 4;
151  bool is_static() const;
152  void set_is_static(bool value);
153 
154  // optional .ignition.msgs.Pose pose = 5;
155  bool has_pose() const;
156  void clear_pose();
157  static const int kPoseFieldNumber = 5;
158  const ::ignition::msgs::Pose& pose() const;
159  ::ignition::msgs::Pose* mutable_pose();
160  ::ignition::msgs::Pose* release_pose();
161  void set_allocated_pose(::ignition::msgs::Pose* pose);
162 
163  // repeated .ignition.msgs.Joint joint = 6;
164  int joint_size() const;
165  void clear_joint();
166  static const int kJointFieldNumber = 6;
167  const ::ignition::msgs::Joint& joint(int index) const;
168  ::ignition::msgs::Joint* mutable_joint(int index);
169  ::ignition::msgs::Joint* add_joint();
170  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
171  mutable_joint();
172  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
173  joint() const;
174 
175  // repeated .ignition.msgs.Link link = 7;
176  int link_size() const;
177  void clear_link();
178  static const int kLinkFieldNumber = 7;
179  const ::ignition::msgs::Link& link(int index) const;
180  ::ignition::msgs::Link* mutable_link(int index);
181  ::ignition::msgs::Link* add_link();
182  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >*
183  mutable_link();
184  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >&
185  link() const;
186 
187  // optional bool deleted = 8;
188  void clear_deleted();
189  static const int kDeletedFieldNumber = 8;
190  bool deleted() const;
191  void set_deleted(bool value);
192 
193  // repeated .ignition.msgs.Visual visual = 9;
194  int visual_size() const;
195  void clear_visual();
196  static const int kVisualFieldNumber = 9;
197  const ::ignition::msgs::Visual& visual(int index) const;
198  ::ignition::msgs::Visual* mutable_visual(int index);
199  ::ignition::msgs::Visual* add_visual();
200  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >*
201  mutable_visual();
202  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >&
203  visual() const;
204 
205  // optional .ignition.msgs.Vector3d scale = 10;
206  bool has_scale() const;
207  void clear_scale();
208  static const int kScaleFieldNumber = 10;
209  const ::ignition::msgs::Vector3d& scale() const;
210  ::ignition::msgs::Vector3d* mutable_scale();
211  ::ignition::msgs::Vector3d* release_scale();
212  void set_allocated_scale(::ignition::msgs::Vector3d* scale);
213 
214  // optional bool self_collide = 11;
215  void clear_self_collide();
216  static const int kSelfCollideFieldNumber = 11;
217  bool self_collide() const;
218  void set_self_collide(bool value);
219 
220  // repeated .ignition.msgs.Model model = 12;
221  int model_size() const;
222  void clear_model();
223  static const int kModelFieldNumber = 12;
224  const ::ignition::msgs::Model& model(int index) const;
225  ::ignition::msgs::Model* mutable_model(int index);
226  ::ignition::msgs::Model* add_model();
227  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
228  mutable_model();
229  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
230  model() const;
231 
232  // optional .ignition.msgs.AxisAlignedBox bounding_box = 13;
233  bool has_bounding_box() const;
234  void clear_bounding_box();
235  static const int kBoundingBoxFieldNumber = 13;
236  const ::ignition::msgs::AxisAlignedBox& bounding_box() const;
237  ::ignition::msgs::AxisAlignedBox* mutable_bounding_box();
238  ::ignition::msgs::AxisAlignedBox* release_bounding_box();
239  void set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox* bounding_box);
240 
241  // @@protoc_insertion_point(class_scope:ignition.msgs.Model)
242  private:
243 
244  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
245  bool _is_default_instance_;
246  ::ignition::msgs::Header* header_;
247  ::google::protobuf::internal::ArenaStringPtr name_;
248  ::ignition::msgs::Pose* pose_;
249  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > joint_;
250  ::google::protobuf::uint32 id_;
251  bool is_static_;
252  bool deleted_;
253  bool self_collide_;
254  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link > link_;
255  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual > visual_;
257  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > model_;
258  ::ignition::msgs::AxisAlignedBox* bounding_box_;
259  mutable int _cached_size_;
260  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fmodel_2eproto();
263 
264  void InitAsDefaultInstance();
265  static Model* default_instance_;
266 };
267 // ===================================================================
268 
269 
270 // ===================================================================
271 
272 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
273 // Model
274 
275 // optional .ignition.msgs.Header header = 1;
276 inline bool Model::has_header() const {
277  return !_is_default_instance_ && header_ != NULL;
278 }
279 inline void Model::clear_header() {
280  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
281  header_ = NULL;
282 }
283 inline const ::ignition::msgs::Header& Model::header() const {
284  // @@protoc_insertion_point(field_get:ignition.msgs.Model.header)
285  return header_ != NULL ? *header_ : *default_instance_->header_;
286 }
287 inline ::ignition::msgs::Header* Model::mutable_header() {
288 
289  if (header_ == NULL) {
290  header_ = new ::ignition::msgs::Header;
291  }
292  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.header)
293  return header_;
294 }
295 inline ::ignition::msgs::Header* Model::release_header() {
296  // @@protoc_insertion_point(field_release:ignition.msgs.Model.header)
297 
298  ::ignition::msgs::Header* temp = header_;
299  header_ = NULL;
300  return temp;
301 }
303  delete header_;
304  header_ = header;
305  if (header) {
306 
307  } else {
308 
309  }
310  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.header)
311 }
312 
313 // optional string name = 2;
314 inline void Model::clear_name() {
315  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
316 }
317 inline const ::std::string& Model::name() const {
318  // @@protoc_insertion_point(field_get:ignition.msgs.Model.name)
319  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
320 }
321 inline void Model::set_name(const ::std::string& value) {
322 
323  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
324  // @@protoc_insertion_point(field_set:ignition.msgs.Model.name)
325 }
326 inline void Model::set_name(const char* value) {
327 
328  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
329  // @@protoc_insertion_point(field_set_char:ignition.msgs.Model.name)
330 }
331 inline void Model::set_name(const char* value, size_t size) {
332 
333  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
334  ::std::string(reinterpret_cast<const char*>(value), size));
335  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Model.name)
336 }
337 inline ::std::string* Model::mutable_name() {
338 
339  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.name)
340  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
341 }
342 inline ::std::string* Model::release_name() {
343  // @@protoc_insertion_point(field_release:ignition.msgs.Model.name)
344 
345  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
346 }
348  if (name != NULL) {
349 
350  } else {
351 
352  }
353  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
354  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.name)
355 }
356 
357 // optional uint32 id = 3;
358 inline void Model::clear_id() {
359  id_ = 0u;
360 }
361 inline ::google::protobuf::uint32 Model::id() const {
362  // @@protoc_insertion_point(field_get:ignition.msgs.Model.id)
363  return id_;
364 }
365 inline void Model::set_id(::google::protobuf::uint32 value) {
366 
367  id_ = value;
368  // @@protoc_insertion_point(field_set:ignition.msgs.Model.id)
369 }
370 
371 // optional bool is_static = 4;
372 inline void Model::clear_is_static() {
373  is_static_ = false;
374 }
375 inline bool Model::is_static() const {
376  // @@protoc_insertion_point(field_get:ignition.msgs.Model.is_static)
377  return is_static_;
378 }
379 inline void Model::set_is_static(bool value) {
380 
381  is_static_ = value;
382  // @@protoc_insertion_point(field_set:ignition.msgs.Model.is_static)
383 }
384 
385 // optional .ignition.msgs.Pose pose = 5;
386 inline bool Model::has_pose() const {
387  return !_is_default_instance_ && pose_ != NULL;
388 }
389 inline void Model::clear_pose() {
390  if (GetArenaNoVirtual() == NULL && pose_ != NULL) delete pose_;
391  pose_ = NULL;
392 }
393 inline const ::ignition::msgs::Pose& Model::pose() const {
394  // @@protoc_insertion_point(field_get:ignition.msgs.Model.pose)
395  return pose_ != NULL ? *pose_ : *default_instance_->pose_;
396 }
397 inline ::ignition::msgs::Pose* Model::mutable_pose() {
398 
399  if (pose_ == NULL) {
400  pose_ = new ::ignition::msgs::Pose;
401  }
402  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.pose)
403  return pose_;
404 }
405 inline ::ignition::msgs::Pose* Model::release_pose() {
406  // @@protoc_insertion_point(field_release:ignition.msgs.Model.pose)
407 
408  ::ignition::msgs::Pose* temp = pose_;
409  pose_ = NULL;
410  return temp;
411 }
413  delete pose_;
414  pose_ = pose;
415  if (pose) {
416 
417  } else {
418 
419  }
420  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.pose)
421 }
422 
423 // repeated .ignition.msgs.Joint joint = 6;
424 inline int Model::joint_size() const {
425  return joint_.size();
426 }
427 inline void Model::clear_joint() {
428  joint_.Clear();
429 }
430 inline const ::ignition::msgs::Joint& Model::joint(int index) const {
431  // @@protoc_insertion_point(field_get:ignition.msgs.Model.joint)
432  return joint_.Get(index);
433 }
434 inline ::ignition::msgs::Joint* Model::mutable_joint(int index) {
435  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.joint)
436  return joint_.Mutable(index);
437 }
438 inline ::ignition::msgs::Joint* Model::add_joint() {
439  // @@protoc_insertion_point(field_add:ignition.msgs.Model.joint)
440  return joint_.Add();
441 }
442 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
444  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.joint)
445  return &joint_;
446 }
447 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
448 Model::joint() const {
449  // @@protoc_insertion_point(field_list:ignition.msgs.Model.joint)
450  return joint_;
451 }
452 
453 // repeated .ignition.msgs.Link link = 7;
454 inline int Model::link_size() const {
455  return link_.size();
456 }
457 inline void Model::clear_link() {
458  link_.Clear();
459 }
460 inline const ::ignition::msgs::Link& Model::link(int index) const {
461  // @@protoc_insertion_point(field_get:ignition.msgs.Model.link)
462  return link_.Get(index);
463 }
464 inline ::ignition::msgs::Link* Model::mutable_link(int index) {
465  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.link)
466  return link_.Mutable(index);
467 }
468 inline ::ignition::msgs::Link* Model::add_link() {
469  // @@protoc_insertion_point(field_add:ignition.msgs.Model.link)
470  return link_.Add();
471 }
472 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >*
474  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.link)
475  return &link_;
476 }
477 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >&
478 Model::link() const {
479  // @@protoc_insertion_point(field_list:ignition.msgs.Model.link)
480  return link_;
481 }
482 
483 // optional bool deleted = 8;
484 inline void Model::clear_deleted() {
485  deleted_ = false;
486 }
487 inline bool Model::deleted() const {
488  // @@protoc_insertion_point(field_get:ignition.msgs.Model.deleted)
489  return deleted_;
490 }
491 inline void Model::set_deleted(bool value) {
492 
493  deleted_ = value;
494  // @@protoc_insertion_point(field_set:ignition.msgs.Model.deleted)
495 }
496 
497 // repeated .ignition.msgs.Visual visual = 9;
498 inline int Model::visual_size() const {
499  return visual_.size();
500 }
501 inline void Model::clear_visual() {
502  visual_.Clear();
503 }
504 inline const ::ignition::msgs::Visual& Model::visual(int index) const {
505  // @@protoc_insertion_point(field_get:ignition.msgs.Model.visual)
506  return visual_.Get(index);
507 }
508 inline ::ignition::msgs::Visual* Model::mutable_visual(int index) {
509  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.visual)
510  return visual_.Mutable(index);
511 }
512 inline ::ignition::msgs::Visual* Model::add_visual() {
513  // @@protoc_insertion_point(field_add:ignition.msgs.Model.visual)
514  return visual_.Add();
515 }
516 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >*
518  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.visual)
519  return &visual_;
520 }
521 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >&
522 Model::visual() const {
523  // @@protoc_insertion_point(field_list:ignition.msgs.Model.visual)
524  return visual_;
525 }
526 
527 // optional .ignition.msgs.Vector3d scale = 10;
528 inline bool Model::has_scale() const {
529  return !_is_default_instance_ && scale_ != NULL;
530 }
531 inline void Model::clear_scale() {
532  if (GetArenaNoVirtual() == NULL && scale_ != NULL) delete scale_;
533  scale_ = NULL;
534 }
535 inline const ::ignition::msgs::Vector3d& Model::scale() const {
536  // @@protoc_insertion_point(field_get:ignition.msgs.Model.scale)
537  return scale_ != NULL ? *scale_ : *default_instance_->scale_;
538 }
539 inline ::ignition::msgs::Vector3d* Model::mutable_scale() {
540 
541  if (scale_ == NULL) {
542  scale_ = new ::ignition::msgs::Vector3d;
543  }
544  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.scale)
545  return scale_;
546 }
547 inline ::ignition::msgs::Vector3d* Model::release_scale() {
548  // @@protoc_insertion_point(field_release:ignition.msgs.Model.scale)
549 
550  ::ignition::msgs::Vector3d* temp = scale_;
551  scale_ = NULL;
552  return temp;
553 }
555  delete scale_;
556  scale_ = scale;
557  if (scale) {
558 
559  } else {
560 
561  }
562  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.scale)
563 }
564 
565 // optional bool self_collide = 11;
567  self_collide_ = false;
568 }
569 inline bool Model::self_collide() const {
570  // @@protoc_insertion_point(field_get:ignition.msgs.Model.self_collide)
571  return self_collide_;
572 }
573 inline void Model::set_self_collide(bool value) {
574 
575  self_collide_ = value;
576  // @@protoc_insertion_point(field_set:ignition.msgs.Model.self_collide)
577 }
578 
579 // repeated .ignition.msgs.Model model = 12;
580 inline int Model::model_size() const {
581  return model_.size();
582 }
583 inline void Model::clear_model() {
584  model_.Clear();
585 }
586 inline const ::ignition::msgs::Model& Model::model(int index) const {
587  // @@protoc_insertion_point(field_get:ignition.msgs.Model.model)
588  return model_.Get(index);
589 }
590 inline ::ignition::msgs::Model* Model::mutable_model(int index) {
591  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.model)
592  return model_.Mutable(index);
593 }
594 inline ::ignition::msgs::Model* Model::add_model() {
595  // @@protoc_insertion_point(field_add:ignition.msgs.Model.model)
596  return model_.Add();
597 }
598 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
600  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.model)
601  return &model_;
602 }
603 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
604 Model::model() const {
605  // @@protoc_insertion_point(field_list:ignition.msgs.Model.model)
606  return model_;
607 }
608 
609 // optional .ignition.msgs.AxisAlignedBox bounding_box = 13;
610 inline bool Model::has_bounding_box() const {
611  return !_is_default_instance_ && bounding_box_ != NULL;
612 }
614  if (GetArenaNoVirtual() == NULL && bounding_box_ != NULL) delete bounding_box_;
615  bounding_box_ = NULL;
616 }
617 inline const ::ignition::msgs::AxisAlignedBox& Model::bounding_box() const {
618  // @@protoc_insertion_point(field_get:ignition.msgs.Model.bounding_box)
619  return bounding_box_ != NULL ? *bounding_box_ : *default_instance_->bounding_box_;
620 }
621 inline ::ignition::msgs::AxisAlignedBox* Model::mutable_bounding_box() {
622 
623  if (bounding_box_ == NULL) {
624  bounding_box_ = new ::ignition::msgs::AxisAlignedBox;
625  }
626  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.bounding_box)
627  return bounding_box_;
628 }
629 inline ::ignition::msgs::AxisAlignedBox* Model::release_bounding_box() {
630  // @@protoc_insertion_point(field_release:ignition.msgs.Model.bounding_box)
631 
632  ::ignition::msgs::AxisAlignedBox* temp = bounding_box_;
633  bounding_box_ = NULL;
634  return temp;
635 }
637  delete bounding_box_;
638  bounding_box_ = bounding_box;
639  if (bounding_box) {
640 
641  } else {
642 
643  }
644  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.bounding_box)
645 }
646 
647 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
648 
653 // @@protoc_insertion_point(namespace_scope)
654 
655 } // namespace msgs
656 } // namespace ignition
657 
658 #ifdef _MSC_VER
659 #pragma warning(pop)
660 #endif
661 // @@protoc_insertion_point(global_scope)
662 
663 #endif // PROTOBUF_ignition_2fmsgs_2fmodel_2eproto__INCLUDED
void clear_name()
Definition: model.pb.h:314
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual > * mutable_visual()
Definition: model.pb.h:517
void clear_model()
Definition: model.pb.h:583
void set_name(const ::std::string &value)
Definition: model.pb.h:321
Definition: pose.pb.h:58
Definition: joint.pb.h:265
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > * mutable_joint()
Definition: model.pb.h:443
void clear_deleted()
Definition: model.pb.h:484
::std::string * release_name()
Definition: model.pb.h:342
void clear_visual()
Definition: model.pb.h:501
bool has_header() const
Definition: model.pb.h:276
int GetCachedSize() const
Definition: model.pb.h:101
std::unique_ptr< const Model > ConstModelUniquePtr
Definition: model.pb.h:650
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model()
Definition: model.pb.h:599
::ignition::msgs::AxisAlignedBox * release_bounding_box()
Definition: model.pb.h:629
void set_allocated_name(::std::string *name)
Definition: model.pb.h:347
bool is_static() const
Definition: model.pb.h:375
void clear_bounding_box()
Definition: model.pb.h:613
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fmodel_2eproto()
int link_size() const
Definition: model.pb.h:454
std::unique_ptr< Model > ModelUniquePtr
Definition: model.pb.h:649
bool has_scale() const
Definition: model.pb.h:528
Model & operator=(const Model &from)
Definition: model.pb.h:69
::ignition::msgs::Link * add_link()
Definition: model.pb.h:468
::ignition::msgs::Pose * release_pose()
Definition: model.pb.h:405
::std::string * mutable_name()
Definition: model.pb.h:337
void set_self_collide(bool value)
Definition: model.pb.h:573
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: model.pb.h:554
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: model.pb.h:98
void clear_link()
Definition: model.pb.h:457
void clear_self_collide()
Definition: model.pb.h:566
void set_is_static(bool value)
Definition: model.pb.h:379
Definition: header.pb.h:161
STL class.
const ::ignition::msgs::AxisAlignedBox & bounding_box() const
Definition: model.pb.h:617
const ::ignition::msgs::Vector3d & scale() const
Definition: model.pb.h:535
void clear_id()
Definition: model.pb.h:358
const ::ignition::msgs::Header & header() const
Definition: model.pb.h:283
void clear_is_static()
Definition: model.pb.h:372
void clear_joint()
Definition: model.pb.h:427
Definition: axis_aligned_box.pb.h:57
void set_id(::google::protobuf::uint32 value)
Definition: model.pb.h:365
void set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox *bounding_box)
Definition: model.pb.h:636
void clear_scale()
Definition: model.pb.h:531
bool has_pose() const
Definition: model.pb.h:386
Definition: visual.pb.h:172
std::shared_ptr< const Model > ConstModelSharedPtr
Definition: model.pb.h:652
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link > * mutable_link()
Definition: model.pb.h:473
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual > & visual() const
Definition: model.pb.h:522
::ignition::msgs::Header * release_header()
Definition: model.pb.h:295
const ::ignition::msgs::Pose & pose() const
Definition: model.pb.h:393
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > & joint() const
Definition: model.pb.h:448
std::shared_ptr< Model > ModelSharedPtr
Definition: model.pb.h:651
bool deleted() const
Definition: model.pb.h:487
int visual_size() const
Definition: model.pb.h:498
Model * New() const
Definition: model.pb.h:81
void clear_header()
Definition: model.pb.h:279
Definition: vector3d.pb.h:56
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > & model() const
Definition: model.pb.h:604
Definition: model.pb.h:62
::ignition::msgs::Visual * add_visual()
Definition: model.pb.h:512
STL class.
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: model.pb.h:412
void protobuf_AssignDesc_ignition_2fmsgs_2fmodel_2eproto()
int joint_size() const
Definition: model.pb.h:424
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link > & link() const
Definition: model.pb.h:478
::ignition::msgs::Header * mutable_header()
Definition: model.pb.h:287
const ::std::string & name() const
Definition: model.pb.h:317
void set_allocated_header(::ignition::msgs::Header *header)
Definition: model.pb.h:302
bool self_collide() const
Definition: model.pb.h:569
bool has_bounding_box() const
Definition: model.pb.h:610
::ignition::msgs::AxisAlignedBox * mutable_bounding_box()
Definition: model.pb.h:621
::google::protobuf::uint32 id() const
Definition: model.pb.h:361
::ignition::msgs::Model * add_model()
Definition: model.pb.h:594
int model_size() const
Definition: model.pb.h:580
void protobuf_ShutdownFile_ignition_2fmsgs_2fmodel_2eproto()
void set_deleted(bool value)
Definition: model.pb.h:491
::ignition::msgs::Vector3d * release_scale()
Definition: model.pb.h:547
::ignition::msgs::Vector3d * mutable_scale()
Definition: model.pb.h:539
::ignition::msgs::Pose * mutable_pose()
Definition: model.pb.h:397
void clear_pose()
Definition: model.pb.h:389
::ignition::msgs::Joint * add_joint()
Definition: model.pb.h:438