Ignition Msgs

API Reference

8.4.0
ellipsoidgeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/ellipsoidgeom.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fellipsoidgeom_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fellipsoidgeom_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>
32 #ifndef _MSC_VER
33 #pragma GCC system_header
34 #else
35 #pragma warning(push)
36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
37 #endif
38 #ifdef __linux__
39 #include <sys/sysmacros.h>
40 #endif
41 #include <memory>
42 #include <ignition/msgs/Export.hh>
43 // @@protoc_insertion_point(includes)
44 
45 namespace ignition {
46 namespace msgs {
47 
48 // Internal implementation detail -- do not call these.
52 
53 class EllipsoidGeom;
54 
55 // ===================================================================
56 
57 class IGNITION_MSGS_VISIBLE EllipsoidGeom : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.EllipsoidGeom) */ {
58  public:
59  EllipsoidGeom();
60  virtual ~EllipsoidGeom();
61 
62  EllipsoidGeom(const EllipsoidGeom& from);
63 
64  inline EllipsoidGeom& operator=(const EllipsoidGeom& from) {
65  CopyFrom(from);
66  return *this;
67  }
68 
69  static const ::google::protobuf::Descriptor* descriptor();
70  static const EllipsoidGeom& default_instance();
71 
72  void Swap(EllipsoidGeom* other);
73 
74  // implements Message ----------------------------------------------
75 
76  inline EllipsoidGeom* New() const { return New(NULL); }
77 
78  EllipsoidGeom* New(::google::protobuf::Arena* arena) const;
79  void CopyFrom(const ::google::protobuf::Message& from);
80  void MergeFrom(const ::google::protobuf::Message& from);
81  void CopyFrom(const EllipsoidGeom& from);
82  void MergeFrom(const EllipsoidGeom& from);
83  void Clear();
84  bool IsInitialized() const;
85 
86  int ByteSize() 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;
93  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
94  return InternalSerializeWithCachedSizesToArray(false, output);
95  }
96  int GetCachedSize() const { return _cached_size_; }
97  private:
98  void SharedCtor();
99  void SharedDtor();
100  void SetCachedSize(int size) const;
101  void InternalSwap(EllipsoidGeom* other);
102  private:
103  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
104  return _internal_metadata_.arena();
105  }
106  inline void* MaybeArenaPtr() const {
107  return _internal_metadata_.raw_arena_ptr();
108  }
109  public:
110 
111  ::google::protobuf::Metadata GetMetadata() const;
112 
113  // nested types ----------------------------------------------------
114 
115  // accessors -------------------------------------------------------
116 
117  // optional .ignition.msgs.Header header = 1;
118  bool has_header() const;
119  void clear_header();
120  static const int kHeaderFieldNumber = 1;
121  const ::ignition::msgs::Header& header() const;
122  ::ignition::msgs::Header* mutable_header();
123  ::ignition::msgs::Header* release_header();
124  void set_allocated_header(::ignition::msgs::Header* header);
125 
126  // optional .ignition.msgs.Vector3d radii = 2;
127  bool has_radii() const;
128  void clear_radii();
129  static const int kRadiiFieldNumber = 2;
130  const ::ignition::msgs::Vector3d& radii() const;
131  ::ignition::msgs::Vector3d* mutable_radii();
132  ::ignition::msgs::Vector3d* release_radii();
133  void set_allocated_radii(::ignition::msgs::Vector3d* radii);
134 
135  // @@protoc_insertion_point(class_scope:ignition.msgs.EllipsoidGeom)
136  private:
137 
138  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
139  bool _is_default_instance_;
140  ::ignition::msgs::Header* header_;
142  mutable int _cached_size_;
143  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fellipsoidgeom_2eproto();
146 
147  void InitAsDefaultInstance();
148  static EllipsoidGeom* default_instance_;
149 };
150 // ===================================================================
151 
152 
153 // ===================================================================
154 
155 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
156 // EllipsoidGeom
157 
158 // optional .ignition.msgs.Header header = 1;
159 inline bool EllipsoidGeom::has_header() const {
160  return !_is_default_instance_ && header_ != NULL;
161 }
163  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
164  header_ = NULL;
165 }
166 inline const ::ignition::msgs::Header& EllipsoidGeom::header() const {
167  // @@protoc_insertion_point(field_get:ignition.msgs.EllipsoidGeom.header)
168  return header_ != NULL ? *header_ : *default_instance_->header_;
169 }
170 inline ::ignition::msgs::Header* EllipsoidGeom::mutable_header() {
171 
172  if (header_ == NULL) {
173  header_ = new ::ignition::msgs::Header;
174  }
175  // @@protoc_insertion_point(field_mutable:ignition.msgs.EllipsoidGeom.header)
176  return header_;
177 }
178 inline ::ignition::msgs::Header* EllipsoidGeom::release_header() {
179  // @@protoc_insertion_point(field_release:ignition.msgs.EllipsoidGeom.header)
180 
181  ::ignition::msgs::Header* temp = header_;
182  header_ = NULL;
183  return temp;
184 }
186  delete header_;
187  header_ = header;
188  if (header) {
189 
190  } else {
191 
192  }
193  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.EllipsoidGeom.header)
194 }
195 
196 // optional .ignition.msgs.Vector3d radii = 2;
197 inline bool EllipsoidGeom::has_radii() const {
198  return !_is_default_instance_ && radii_ != NULL;
199 }
201  if (GetArenaNoVirtual() == NULL && radii_ != NULL) delete radii_;
202  radii_ = NULL;
203 }
204 inline const ::ignition::msgs::Vector3d& EllipsoidGeom::radii() const {
205  // @@protoc_insertion_point(field_get:ignition.msgs.EllipsoidGeom.radii)
206  return radii_ != NULL ? *radii_ : *default_instance_->radii_;
207 }
208 inline ::ignition::msgs::Vector3d* EllipsoidGeom::mutable_radii() {
209 
210  if (radii_ == NULL) {
211  radii_ = new ::ignition::msgs::Vector3d;
212  }
213  // @@protoc_insertion_point(field_mutable:ignition.msgs.EllipsoidGeom.radii)
214  return radii_;
215 }
216 inline ::ignition::msgs::Vector3d* EllipsoidGeom::release_radii() {
217  // @@protoc_insertion_point(field_release:ignition.msgs.EllipsoidGeom.radii)
218 
219  ::ignition::msgs::Vector3d* temp = radii_;
220  radii_ = NULL;
221  return temp;
222 }
224  delete radii_;
225  radii_ = radii;
226  if (radii) {
227 
228  } else {
229 
230  }
231  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.EllipsoidGeom.radii)
232 }
233 
234 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
235 
240 // @@protoc_insertion_point(namespace_scope)
241 
242 } // namespace msgs
243 } // namespace ignition
244 
245 #ifdef _MSC_VER
246 #pragma warning(pop)
247 #endif
248 // @@protoc_insertion_point(global_scope)
249 
250 #endif // PROTOBUF_ignition_2fmsgs_2fellipsoidgeom_2eproto__INCLUDED
std::shared_ptr< EllipsoidGeom > EllipsoidGeomSharedPtr
Definition: ellipsoidgeom.pb.h:238
EllipsoidGeom & operator=(const EllipsoidGeom &from)
Definition: ellipsoidgeom.pb.h:64
Definition: ellipsoidgeom.pb.h:57
void clear_header()
Definition: ellipsoidgeom.pb.h:162
::ignition::msgs::Header * mutable_header()
Definition: ellipsoidgeom.pb.h:170
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: ellipsoidgeom.pb.h:93
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fellipsoidgeom_2eproto()
bool has_header() const
Definition: ellipsoidgeom.pb.h:159
const ::ignition::msgs::Vector3d & radii() const
Definition: ellipsoidgeom.pb.h:204
std::shared_ptr< const EllipsoidGeom > ConstEllipsoidGeomSharedPtr
Definition: ellipsoidgeom.pb.h:239
void set_allocated_radii(::ignition::msgs::Vector3d *radii)
Definition: ellipsoidgeom.pb.h:223
Definition: header.pb.h:161
void protobuf_ShutdownFile_ignition_2fmsgs_2fellipsoidgeom_2eproto()
std::unique_ptr< const EllipsoidGeom > ConstEllipsoidGeomUniquePtr
Definition: ellipsoidgeom.pb.h:237
bool has_radii() const
Definition: ellipsoidgeom.pb.h:197
void set_allocated_header(::ignition::msgs::Header *header)
Definition: ellipsoidgeom.pb.h:185
void protobuf_AssignDesc_ignition_2fmsgs_2fellipsoidgeom_2eproto()
void clear_radii()
Definition: ellipsoidgeom.pb.h:200
Definition: vector3d.pb.h:56
STL class.
const ::ignition::msgs::Header & header() const
Definition: ellipsoidgeom.pb.h:166
::ignition::msgs::Vector3d * release_radii()
Definition: ellipsoidgeom.pb.h:216
std::unique_ptr< EllipsoidGeom > EllipsoidGeomUniquePtr
Definition: ellipsoidgeom.pb.h:236
::ignition::msgs::Header * release_header()
Definition: ellipsoidgeom.pb.h:178
::ignition::msgs::Vector3d * mutable_radii()
Definition: ellipsoidgeom.pb.h:208
int GetCachedSize() const
Definition: ellipsoidgeom.pb.h:96
EllipsoidGeom * New() const
Definition: ellipsoidgeom.pb.h:76