Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/oriented_3d_box.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
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[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto
62 namespace ignition {
63 namespace msgs {
64 class Oriented3DBox;
65 class Oriented3DBoxDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern Oriented3DBoxDefaultTypeInternal _Oriented3DBox_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Oriented3DBox* Arena::CreateMaybeMessage<::ignition::msgs::Oriented3DBox>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
77 // ===================================================================
78 
79 class IGNITION_MSGS_VISIBLE Oriented3DBox : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Oriented3DBox) */ {
80  public:
81  Oriented3DBox();
82  virtual ~Oriented3DBox();
83 
84  Oriented3DBox(const Oriented3DBox& from);
85 
86  inline Oriented3DBox& operator=(const Oriented3DBox& from) {
87  CopyFrom(from);
88  return *this;
89  }
90  #if LANG_CXX11
91  Oriented3DBox(Oriented3DBox&& from) noexcept
92  : Oriented3DBox() {
93  *this = ::std::move(from);
94  }
95 
96  inline Oriented3DBox& operator=(Oriented3DBox&& from) noexcept {
97  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98  if (this != &from) InternalSwap(&from);
99  } else {
100  CopyFrom(from);
101  }
102  return *this;
103  }
104  #endif
105  static const ::google::protobuf::Descriptor* descriptor();
106  static const Oriented3DBox& default_instance();
107 
108  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  static inline const Oriented3DBox* internal_default_instance() {
110  return reinterpret_cast<const Oriented3DBox*>(
112  }
113  static constexpr int kIndexInFileMessages =
114  0;
115 
116  void Swap(Oriented3DBox* other);
117  friend void swap(Oriented3DBox& a, Oriented3DBox& b) {
118  a.Swap(&b);
119  }
120 
121  // implements Message ----------------------------------------------
122 
123  inline Oriented3DBox* New() const final {
124  return CreateMaybeMessage<Oriented3DBox>(NULL);
125  }
126 
127  Oriented3DBox* New(::google::protobuf::Arena* arena) const final {
128  return CreateMaybeMessage<Oriented3DBox>(arena);
129  }
130  void CopyFrom(const ::google::protobuf::Message& from) final;
131  void MergeFrom(const ::google::protobuf::Message& from) final;
132  void CopyFrom(const Oriented3DBox& from);
133  void MergeFrom(const Oriented3DBox& from);
134  void Clear() final;
135  bool IsInitialized() const final;
136 
137  size_t ByteSizeLong() const final;
138  bool MergePartialFromCodedStream(
139  ::google::protobuf::io::CodedInputStream* input) final;
140  void SerializeWithCachedSizes(
141  ::google::protobuf::io::CodedOutputStream* output) const final;
142  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143  bool deterministic, ::google::protobuf::uint8* target) const final;
144  int GetCachedSize() const final { return _cached_size_.Get(); }
145 
146  private:
147  void SharedCtor();
148  void SharedDtor();
149  void SetCachedSize(int size) const final;
150  void InternalSwap(Oriented3DBox* other);
151  private:
152  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
153  return NULL;
154  }
155  inline void* MaybeArenaPtr() const {
156  return NULL;
157  }
158  public:
159 
160  ::google::protobuf::Metadata GetMetadata() const final;
161 
162  // nested types ----------------------------------------------------
163 
164  // accessors -------------------------------------------------------
165 
166  // .ignition.msgs.Header header = 1;
167  bool has_header() const;
168  void clear_header();
169  static const int kHeaderFieldNumber = 1;
170  private:
171  const ::ignition::msgs::Header& _internal_header() const;
172  public:
173  const ::ignition::msgs::Header& header() const;
174  ::ignition::msgs::Header* release_header();
175  ::ignition::msgs::Header* mutable_header();
176  void set_allocated_header(::ignition::msgs::Header* header);
177 
178  // .ignition.msgs.Vector3d center = 2;
179  bool has_center() const;
180  void clear_center();
181  static const int kCenterFieldNumber = 2;
182  private:
183  const ::ignition::msgs::Vector3d& _internal_center() const;
184  public:
185  const ::ignition::msgs::Vector3d& center() const;
186  ::ignition::msgs::Vector3d* release_center();
187  ::ignition::msgs::Vector3d* mutable_center();
188  void set_allocated_center(::ignition::msgs::Vector3d* center);
189 
190  // .ignition.msgs.Quaternion orientation = 3;
191  bool has_orientation() const;
192  void clear_orientation();
193  static const int kOrientationFieldNumber = 3;
194  private:
195  const ::ignition::msgs::Quaternion& _internal_orientation() const;
196  public:
197  const ::ignition::msgs::Quaternion& orientation() const;
198  ::ignition::msgs::Quaternion* release_orientation();
199  ::ignition::msgs::Quaternion* mutable_orientation();
200  void set_allocated_orientation(::ignition::msgs::Quaternion* orientation);
201 
202  // .ignition.msgs.Vector3d boxSize = 4;
203  bool has_boxsize() const;
204  void clear_boxsize();
205  static const int kBoxSizeFieldNumber = 4;
206  private:
207  const ::ignition::msgs::Vector3d& _internal_boxsize() const;
208  public:
209  const ::ignition::msgs::Vector3d& boxsize() const;
210  ::ignition::msgs::Vector3d* release_boxsize();
211  ::ignition::msgs::Vector3d* mutable_boxsize();
212  void set_allocated_boxsize(::ignition::msgs::Vector3d* boxsize);
213 
214  // @@protoc_insertion_point(class_scope:ignition.msgs.Oriented3DBox)
215  private:
216 
217  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
218  ::ignition::msgs::Header* header_;
219  ::ignition::msgs::Vector3d* center_;
220  ::ignition::msgs::Quaternion* orientation_;
221  ::ignition::msgs::Vector3d* boxsize_;
222  mutable ::google::protobuf::internal::CachedSize _cached_size_;
224 };
225 // ===================================================================
226 
227 
228 // ===================================================================
229 
230 #ifdef __GNUC__
231  #pragma GCC diagnostic push
232  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
233 #endif // __GNUC__
234 // Oriented3DBox
235 
236 // .ignition.msgs.Header header = 1;
237 inline bool Oriented3DBox::has_header() const {
238  return this != internal_default_instance() && header_ != NULL;
239 }
240 inline const ::ignition::msgs::Header& Oriented3DBox::_internal_header() const {
241  return *header_;
242 }
243 inline const ::ignition::msgs::Header& Oriented3DBox::header() const {
244  const ::ignition::msgs::Header* p = header_;
245  // @@protoc_insertion_point(field_get:ignition.msgs.Oriented3DBox.header)
246  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
248 }
249 inline ::ignition::msgs::Header* Oriented3DBox::release_header() {
250  // @@protoc_insertion_point(field_release:ignition.msgs.Oriented3DBox.header)
251 
252  ::ignition::msgs::Header* temp = header_;
253  header_ = NULL;
254  return temp;
255 }
256 inline ::ignition::msgs::Header* Oriented3DBox::mutable_header() {
257 
258  if (header_ == NULL) {
259  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
260  header_ = p;
261  }
262  // @@protoc_insertion_point(field_mutable:ignition.msgs.Oriented3DBox.header)
263  return header_;
264 }
266  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
267  if (message_arena == NULL) {
268  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
269  }
270  if (header) {
271  ::google::protobuf::Arena* submessage_arena = NULL;
272  if (message_arena != submessage_arena) {
273  header = ::google::protobuf::internal::GetOwnedMessage(
274  message_arena, header, submessage_arena);
275  }
276 
277  } else {
278 
279  }
280  header_ = header;
281  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Oriented3DBox.header)
282 }
283 
284 // .ignition.msgs.Vector3d center = 2;
285 inline bool Oriented3DBox::has_center() const {
286  return this != internal_default_instance() && center_ != NULL;
287 }
288 inline const ::ignition::msgs::Vector3d& Oriented3DBox::_internal_center() const {
289  return *center_;
290 }
291 inline const ::ignition::msgs::Vector3d& Oriented3DBox::center() const {
292  const ::ignition::msgs::Vector3d* p = center_;
293  // @@protoc_insertion_point(field_get:ignition.msgs.Oriented3DBox.center)
294  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
296 }
297 inline ::ignition::msgs::Vector3d* Oriented3DBox::release_center() {
298  // @@protoc_insertion_point(field_release:ignition.msgs.Oriented3DBox.center)
299 
300  ::ignition::msgs::Vector3d* temp = center_;
301  center_ = NULL;
302  return temp;
303 }
304 inline ::ignition::msgs::Vector3d* Oriented3DBox::mutable_center() {
305 
306  if (center_ == NULL) {
307  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
308  center_ = p;
309  }
310  // @@protoc_insertion_point(field_mutable:ignition.msgs.Oriented3DBox.center)
311  return center_;
312 }
314  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
315  if (message_arena == NULL) {
316  delete reinterpret_cast< ::google::protobuf::MessageLite*>(center_);
317  }
318  if (center) {
319  ::google::protobuf::Arena* submessage_arena = NULL;
320  if (message_arena != submessage_arena) {
321  center = ::google::protobuf::internal::GetOwnedMessage(
322  message_arena, center, submessage_arena);
323  }
324 
325  } else {
326 
327  }
328  center_ = center;
329  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Oriented3DBox.center)
330 }
331 
332 // .ignition.msgs.Quaternion orientation = 3;
333 inline bool Oriented3DBox::has_orientation() const {
334  return this != internal_default_instance() && orientation_ != NULL;
335 }
336 inline const ::ignition::msgs::Quaternion& Oriented3DBox::_internal_orientation() const {
337  return *orientation_;
338 }
339 inline const ::ignition::msgs::Quaternion& Oriented3DBox::orientation() const {
340  const ::ignition::msgs::Quaternion* p = orientation_;
341  // @@protoc_insertion_point(field_get:ignition.msgs.Oriented3DBox.orientation)
342  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Quaternion*>(
344 }
345 inline ::ignition::msgs::Quaternion* Oriented3DBox::release_orientation() {
346  // @@protoc_insertion_point(field_release:ignition.msgs.Oriented3DBox.orientation)
347 
348  ::ignition::msgs::Quaternion* temp = orientation_;
349  orientation_ = NULL;
350  return temp;
351 }
352 inline ::ignition::msgs::Quaternion* Oriented3DBox::mutable_orientation() {
353 
354  if (orientation_ == NULL) {
355  auto* p = CreateMaybeMessage<::ignition::msgs::Quaternion>(GetArenaNoVirtual());
356  orientation_ = p;
357  }
358  // @@protoc_insertion_point(field_mutable:ignition.msgs.Oriented3DBox.orientation)
359  return orientation_;
360 }
362  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
363  if (message_arena == NULL) {
364  delete reinterpret_cast< ::google::protobuf::MessageLite*>(orientation_);
365  }
366  if (orientation) {
367  ::google::protobuf::Arena* submessage_arena = NULL;
368  if (message_arena != submessage_arena) {
369  orientation = ::google::protobuf::internal::GetOwnedMessage(
370  message_arena, orientation, submessage_arena);
371  }
372 
373  } else {
374 
375  }
376  orientation_ = orientation;
377  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Oriented3DBox.orientation)
378 }
379 
380 // .ignition.msgs.Vector3d boxSize = 4;
381 inline bool Oriented3DBox::has_boxsize() const {
382  return this != internal_default_instance() && boxsize_ != NULL;
383 }
384 inline const ::ignition::msgs::Vector3d& Oriented3DBox::_internal_boxsize() const {
385  return *boxsize_;
386 }
387 inline const ::ignition::msgs::Vector3d& Oriented3DBox::boxsize() const {
388  const ::ignition::msgs::Vector3d* p = boxsize_;
389  // @@protoc_insertion_point(field_get:ignition.msgs.Oriented3DBox.boxSize)
390  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
392 }
393 inline ::ignition::msgs::Vector3d* Oriented3DBox::release_boxsize() {
394  // @@protoc_insertion_point(field_release:ignition.msgs.Oriented3DBox.boxSize)
395 
396  ::ignition::msgs::Vector3d* temp = boxsize_;
397  boxsize_ = NULL;
398  return temp;
399 }
400 inline ::ignition::msgs::Vector3d* Oriented3DBox::mutable_boxsize() {
401 
402  if (boxsize_ == NULL) {
403  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
404  boxsize_ = p;
405  }
406  // @@protoc_insertion_point(field_mutable:ignition.msgs.Oriented3DBox.boxSize)
407  return boxsize_;
408 }
410  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
411  if (message_arena == NULL) {
412  delete reinterpret_cast< ::google::protobuf::MessageLite*>(boxsize_);
413  }
414  if (boxsize) {
415  ::google::protobuf::Arena* submessage_arena = NULL;
416  if (message_arena != submessage_arena) {
417  boxsize = ::google::protobuf::internal::GetOwnedMessage(
418  message_arena, boxsize, submessage_arena);
419  }
420 
421  } else {
422 
423  }
424  boxsize_ = boxsize;
425  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Oriented3DBox.boxSize)
426 }
427 
428 #ifdef __GNUC__
429  #pragma GCC diagnostic pop
430 #endif // __GNUC__
431 
436 // @@protoc_insertion_point(namespace_scope)
437 
438 } // namespace msgs
439 } // namespace ignition
440 
441 #ifdef _MSC_VER
442 #pragma warning(pop)
443 #endif
444 // @@protoc_insertion_point(global_scope)
445 
446 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto
const ::ignition::msgs::Vector3d & center() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:291
STL class.
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:243
friend void swap(Oriented3DBox &a, Oriented3DBox &b)
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:117
Definition: build/ignition-msgs8/include/ignition/msgs/vector3d.pb.h:77
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:50
void set_allocated_boxsize(::ignition::msgs::Vector3d *boxsize)
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:409
Oriented3DBox * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:123
std::shared_ptr< Oriented3DBox > Oriented3DBoxSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:434
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:77
bool has_orientation() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:333
void set_allocated_center(::ignition::msgs::Vector3d *center)
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:313
std::unique_ptr< const Oriented3DBox > ConstOriented3DBoxUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:433
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:237
::ignition::msgs::Quaternion * release_orientation()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:345
IGNITION_MSGS_VISIBLE Oriented3DBoxDefaultTypeInternal _Oriented3DBox_default_instance_
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
::ignition::msgs::Vector3d * mutable_boxsize()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:400
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:265
const ::ignition::msgs::Vector3d & boxsize() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:387
::ignition::msgs::Quaternion * mutable_orientation()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:352
std::unique_ptr< Oriented3DBox > Oriented3DBoxUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:432
::ignition::msgs::Vector3d * release_center()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:297
bool has_center() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:285
::ignition::msgs::Vector3d * mutable_center()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:304
static const Oriented3DBox * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:109
::ignition::msgs::Vector3d * release_boxsize()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:393
void set_allocated_orientation(::ignition::msgs::Quaternion *orientation)
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:361
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:249
const ::ignition::msgs::Quaternion & orientation() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:339
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
bool has_boxsize() const
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:381
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:79
void Swap(Oriented3DBox *other)
Oriented3DBox & operator=(const Oriented3DBox &from)
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:86
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
std::shared_ptr< const Oriented3DBox > ConstOriented3DBoxSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:435
Oriented3DBox * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:127
STL class.
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:256
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
Definition: build/ignition-msgs8/include/ignition/msgs/oriented_3d_box.pb.h:52