Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/planegeom.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_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_2fplanegeom_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_2fplanegeom_2eproto
62 namespace ignition {
63 namespace msgs {
64 class PlaneGeom;
65 class PlaneGeomDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern PlaneGeomDefaultTypeInternal _PlaneGeom_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PlaneGeom* Arena::CreateMaybeMessage<::ignition::msgs::PlaneGeom>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
77 // ===================================================================
78 
79 class IGNITION_MSGS_VISIBLE PlaneGeom : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PlaneGeom) */ {
80  public:
81  PlaneGeom();
82  virtual ~PlaneGeom();
83 
84  PlaneGeom(const PlaneGeom& from);
85 
86  inline PlaneGeom& operator=(const PlaneGeom& from) {
87  CopyFrom(from);
88  return *this;
89  }
90  #if LANG_CXX11
91  PlaneGeom(PlaneGeom&& from) noexcept
92  : PlaneGeom() {
93  *this = ::std::move(from);
94  }
95 
96  inline PlaneGeom& operator=(PlaneGeom&& 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 PlaneGeom& default_instance();
107 
108  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  static inline const PlaneGeom* internal_default_instance() {
110  return reinterpret_cast<const PlaneGeom*>(
112  }
113  static constexpr int kIndexInFileMessages =
114  0;
115 
116  void Swap(PlaneGeom* other);
117  friend void swap(PlaneGeom& a, PlaneGeom& b) {
118  a.Swap(&b);
119  }
120 
121  // implements Message ----------------------------------------------
122 
123  inline PlaneGeom* New() const final {
124  return CreateMaybeMessage<PlaneGeom>(NULL);
125  }
126 
127  PlaneGeom* New(::google::protobuf::Arena* arena) const final {
128  return CreateMaybeMessage<PlaneGeom>(arena);
129  }
130  void CopyFrom(const ::google::protobuf::Message& from) final;
131  void MergeFrom(const ::google::protobuf::Message& from) final;
132  void CopyFrom(const PlaneGeom& from);
133  void MergeFrom(const PlaneGeom& 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(PlaneGeom* 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 normal = 2;
179  bool has_normal() const;
180  void clear_normal();
181  static const int kNormalFieldNumber = 2;
182  private:
183  const ::ignition::msgs::Vector3d& _internal_normal() const;
184  public:
185  const ::ignition::msgs::Vector3d& normal() const;
186  ::ignition::msgs::Vector3d* release_normal();
187  ::ignition::msgs::Vector3d* mutable_normal();
188  void set_allocated_normal(::ignition::msgs::Vector3d* normal);
189 
190  // .ignition.msgs.Vector2d size = 3;
191  bool has_size() const;
192  void clear_size();
193  static const int kSizeFieldNumber = 3;
194  private:
195  const ::ignition::msgs::Vector2d& _internal_size() const;
196  public:
197  const ::ignition::msgs::Vector2d& size() const;
198  ::ignition::msgs::Vector2d* release_size();
199  ::ignition::msgs::Vector2d* mutable_size();
200  void set_allocated_size(::ignition::msgs::Vector2d* size);
201 
202  // double d = 4;
203  void clear_d();
204  static const int kDFieldNumber = 4;
205  double d() const;
206  void set_d(double value);
207 
208  // @@protoc_insertion_point(class_scope:ignition.msgs.PlaneGeom)
209  private:
210 
211  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
212  ::ignition::msgs::Header* header_;
213  ::ignition::msgs::Vector3d* normal_;
214  ::ignition::msgs::Vector2d* size_;
215  double d_;
216  mutable ::google::protobuf::internal::CachedSize _cached_size_;
217  friend struct ::protobuf_ignition_2fmsgs_2fplanegeom_2eproto::TableStruct;
218 };
219 // ===================================================================
220 
221 
222 // ===================================================================
223 
224 #ifdef __GNUC__
225  #pragma GCC diagnostic push
226  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
227 #endif // __GNUC__
228 // PlaneGeom
229 
230 // .ignition.msgs.Header header = 1;
231 inline bool PlaneGeom::has_header() const {
232  return this != internal_default_instance() && header_ != NULL;
233 }
234 inline const ::ignition::msgs::Header& PlaneGeom::_internal_header() const {
235  return *header_;
236 }
237 inline const ::ignition::msgs::Header& PlaneGeom::header() const {
238  const ::ignition::msgs::Header* p = header_;
239  // @@protoc_insertion_point(field_get:ignition.msgs.PlaneGeom.header)
240  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
242 }
243 inline ::ignition::msgs::Header* PlaneGeom::release_header() {
244  // @@protoc_insertion_point(field_release:ignition.msgs.PlaneGeom.header)
245 
246  ::ignition::msgs::Header* temp = header_;
247  header_ = NULL;
248  return temp;
249 }
250 inline ::ignition::msgs::Header* PlaneGeom::mutable_header() {
251 
252  if (header_ == NULL) {
253  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
254  header_ = p;
255  }
256  // @@protoc_insertion_point(field_mutable:ignition.msgs.PlaneGeom.header)
257  return header_;
258 }
260  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
261  if (message_arena == NULL) {
262  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
263  }
264  if (header) {
265  ::google::protobuf::Arena* submessage_arena = NULL;
266  if (message_arena != submessage_arena) {
267  header = ::google::protobuf::internal::GetOwnedMessage(
268  message_arena, header, submessage_arena);
269  }
270 
271  } else {
272 
273  }
274  header_ = header;
275  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PlaneGeom.header)
276 }
277 
278 // .ignition.msgs.Vector3d normal = 2;
279 inline bool PlaneGeom::has_normal() const {
280  return this != internal_default_instance() && normal_ != NULL;
281 }
282 inline const ::ignition::msgs::Vector3d& PlaneGeom::_internal_normal() const {
283  return *normal_;
284 }
285 inline const ::ignition::msgs::Vector3d& PlaneGeom::normal() const {
286  const ::ignition::msgs::Vector3d* p = normal_;
287  // @@protoc_insertion_point(field_get:ignition.msgs.PlaneGeom.normal)
288  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
290 }
291 inline ::ignition::msgs::Vector3d* PlaneGeom::release_normal() {
292  // @@protoc_insertion_point(field_release:ignition.msgs.PlaneGeom.normal)
293 
294  ::ignition::msgs::Vector3d* temp = normal_;
295  normal_ = NULL;
296  return temp;
297 }
298 inline ::ignition::msgs::Vector3d* PlaneGeom::mutable_normal() {
299 
300  if (normal_ == NULL) {
301  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
302  normal_ = p;
303  }
304  // @@protoc_insertion_point(field_mutable:ignition.msgs.PlaneGeom.normal)
305  return normal_;
306 }
308  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
309  if (message_arena == NULL) {
310  delete reinterpret_cast< ::google::protobuf::MessageLite*>(normal_);
311  }
312  if (normal) {
313  ::google::protobuf::Arena* submessage_arena = NULL;
314  if (message_arena != submessage_arena) {
315  normal = ::google::protobuf::internal::GetOwnedMessage(
316  message_arena, normal, submessage_arena);
317  }
318 
319  } else {
320 
321  }
322  normal_ = normal;
323  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PlaneGeom.normal)
324 }
325 
326 // .ignition.msgs.Vector2d size = 3;
327 inline bool PlaneGeom::has_size() const {
328  return this != internal_default_instance() && size_ != NULL;
329 }
330 inline const ::ignition::msgs::Vector2d& PlaneGeom::_internal_size() const {
331  return *size_;
332 }
333 inline const ::ignition::msgs::Vector2d& PlaneGeom::size() const {
334  const ::ignition::msgs::Vector2d* p = size_;
335  // @@protoc_insertion_point(field_get:ignition.msgs.PlaneGeom.size)
336  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector2d*>(
338 }
339 inline ::ignition::msgs::Vector2d* PlaneGeom::release_size() {
340  // @@protoc_insertion_point(field_release:ignition.msgs.PlaneGeom.size)
341 
342  ::ignition::msgs::Vector2d* temp = size_;
343  size_ = NULL;
344  return temp;
345 }
346 inline ::ignition::msgs::Vector2d* PlaneGeom::mutable_size() {
347 
348  if (size_ == NULL) {
349  auto* p = CreateMaybeMessage<::ignition::msgs::Vector2d>(GetArenaNoVirtual());
350  size_ = p;
351  }
352  // @@protoc_insertion_point(field_mutable:ignition.msgs.PlaneGeom.size)
353  return size_;
354 }
356  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
357  if (message_arena == NULL) {
358  delete reinterpret_cast< ::google::protobuf::MessageLite*>(size_);
359  }
360  if (size) {
361  ::google::protobuf::Arena* submessage_arena = NULL;
362  if (message_arena != submessage_arena) {
363  size = ::google::protobuf::internal::GetOwnedMessage(
364  message_arena, size, submessage_arena);
365  }
366 
367  } else {
368 
369  }
370  size_ = size;
371  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PlaneGeom.size)
372 }
373 
374 // double d = 4;
375 inline void PlaneGeom::clear_d() {
376  d_ = 0;
377 }
378 inline double PlaneGeom::d() const {
379  // @@protoc_insertion_point(field_get:ignition.msgs.PlaneGeom.d)
380  return d_;
381 }
382 inline void PlaneGeom::set_d(double value) {
383 
384  d_ = value;
385  // @@protoc_insertion_point(field_set:ignition.msgs.PlaneGeom.d)
386 }
387 
388 #ifdef __GNUC__
389  #pragma GCC diagnostic pop
390 #endif // __GNUC__
391 
396 // @@protoc_insertion_point(namespace_scope)
397 
398 } // namespace msgs
399 } // namespace ignition
400 
401 #ifdef _MSC_VER
402 #pragma warning(pop)
403 #endif
404 // @@protoc_insertion_point(global_scope)
405 
406 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_2eproto
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:237
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/vector3d.pb.h:77
IGNITION_MSGS_VISIBLE PlaneGeomDefaultTypeInternal _PlaneGeom_default_instance_
PlaneGeom * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:127
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:79
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:52
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:231
std::shared_ptr< PlaneGeom > PlaneGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:394
void clear_d()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:375
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:250
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:50
static const PlaneGeom * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:109
double d() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:378
::ignition::msgs::Vector3d * release_normal()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:291
::ignition::msgs::Vector3d * mutable_normal()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:298
void set_d(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:382
bool has_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:327
const ::ignition::msgs::Vector2d & size() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:333
::ignition::msgs::Vector2d * mutable_size()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:346
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:243
bool has_normal() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:279
::ignition::msgs::Vector2d * release_size()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:339
void IGNITION_MSGS_VISIBLE AddDescriptors()
PlaneGeom & operator=(const PlaneGeom &from)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:86
Definition: build/ignition-msgs8/include/ignition/msgs/vector2d.pb.h:77
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const PlaneGeom > ConstPlaneGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:393
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
void set_allocated_normal(::ignition::msgs::Vector3d *normal)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:307
std::shared_ptr< const PlaneGeom > ConstPlaneGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:395
PlaneGeom * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:123
IGNITION_MSGS_VISIBLE Vector2dDefaultTypeInternal _Vector2d_default_instance_
std::unique_ptr< PlaneGeom > PlaneGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:392
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:259
STL class.
void Swap(PlaneGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
const ::ignition::msgs::Vector3d & normal() const
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:285
friend void swap(PlaneGeom &a, PlaneGeom &b)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:117
void set_allocated_size(::ignition::msgs::Vector2d *size)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:355