4 #ifndef PROTOBUF_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2foriented_5f3d_5fbox_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> 34 #pragma GCC system_header 37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 40 #include <sys/sysmacros.h> 58 class IGNITION_MSGS_VISIBLE
Oriented3DBox :
public ::google::protobuf::Message {
70 static const ::google::protobuf::Descriptor* descriptor();
80 void CopyFrom(const ::google::protobuf::Message& from);
81 void MergeFrom(const ::google::protobuf::Message& from);
85 bool IsInitialized()
const;
88 bool MergePartialFromCodedStream(
89 ::google::protobuf::io::CodedInputStream* input);
90 void SerializeWithCachedSizes(
91 ::google::protobuf::io::CodedOutputStream* output)
const;
92 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
93 bool deterministic, ::google::protobuf::uint8* output)
const;
95 return InternalSerializeWithCachedSizesToArray(
false, output);
101 void SetCachedSize(
int size)
const;
104 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
105 return _internal_metadata_.arena();
107 inline void* MaybeArenaPtr()
const {
108 return _internal_metadata_.raw_arena_ptr();
112 ::google::protobuf::Metadata GetMetadata()
const;
119 bool has_header()
const;
121 static const int kHeaderFieldNumber = 1;
122 const ::ignition::msgs::Header& header()
const;
128 bool has_center()
const;
130 static const int kCenterFieldNumber = 2;
131 const ::ignition::msgs::Vector3d& center()
const;
137 bool has_orientation()
const;
138 void clear_orientation();
139 static const int kOrientationFieldNumber = 3;
140 const ::ignition::msgs::Quaternion& orientation()
const;
146 bool has_boxsize()
const;
147 void clear_boxsize();
148 static const int kBoxSizeFieldNumber = 4;
149 const ::ignition::msgs::Vector3d& boxsize()
const;
157 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
158 bool _is_default_instance_;
163 mutable int _cached_size_;
168 void InitAsDefaultInstance();
176 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 181 return !_is_default_instance_ && header_ != NULL;
184 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
189 return header_ != NULL ? *header_ : *default_instance_->header_;
193 if (header_ == NULL) {
194 header_ = new ::ignition::msgs::Header;
219 return !_is_default_instance_ && center_ != NULL;
222 if (GetArenaNoVirtual() == NULL && center_ != NULL)
delete center_;
227 return center_ != NULL ? *center_ : *default_instance_->center_;
231 if (center_ == NULL) {
232 center_ = new ::ignition::msgs::Vector3d;
257 return !_is_default_instance_ && orientation_ != NULL;
260 if (GetArenaNoVirtual() == NULL && orientation_ != NULL)
delete orientation_;
265 return orientation_ != NULL ? *orientation_ : *default_instance_->orientation_;
269 if (orientation_ == NULL) {
270 orientation_ = new ::ignition::msgs::Quaternion;
284 orientation_ = orientation;
295 return !_is_default_instance_ && boxsize_ != NULL;
298 if (GetArenaNoVirtual() == NULL && boxsize_ != NULL)
delete boxsize_;
303 return boxsize_ != NULL ? *boxsize_ : *default_instance_->boxsize_;
307 if (boxsize_ == NULL) {
308 boxsize_ = new ::ignition::msgs::Vector3d;
331 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 347 #endif // PROTOBUF_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto__INCLUDED bool has_center() const
Definition: oriented_3d_box.pb.h:218
bool has_header() const
Definition: oriented_3d_box.pb.h:180
::ignition::msgs::Quaternion * mutable_orientation()
Definition: oriented_3d_box.pb.h:267
void clear_boxsize()
Definition: oriented_3d_box.pb.h:297
std::shared_ptr< Oriented3DBox > Oriented3DBoxSharedPtr
Definition: oriented_3d_box.pb.h:335
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: oriented_3d_box.pb.h:94
std::shared_ptr< const Oriented3DBox > ConstOriented3DBoxSharedPtr
Definition: oriented_3d_box.pb.h:336
::ignition::msgs::Vector3d * release_center()
Definition: oriented_3d_box.pb.h:237
void set_allocated_orientation(::ignition::msgs::Quaternion *orientation)
Definition: oriented_3d_box.pb.h:282
void protobuf_AssignDesc_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto()
::ignition::msgs::Vector3d * mutable_center()
Definition: oriented_3d_box.pb.h:229
::ignition::msgs::Quaternion * release_orientation()
Definition: oriented_3d_box.pb.h:275
void set_allocated_boxsize(::ignition::msgs::Vector3d *boxsize)
Definition: oriented_3d_box.pb.h:320
::ignition::msgs::Vector3d * release_boxsize()
Definition: oriented_3d_box.pb.h:313
::ignition::msgs::Header * release_header()
Definition: oriented_3d_box.pb.h:199
const ::ignition::msgs::Header & header() const
Definition: oriented_3d_box.pb.h:187
bool has_boxsize() const
Definition: oriented_3d_box.pb.h:294
Definition: vector3d.pb.h:56
Definition: oriented_3d_box.pb.h:58
Oriented3DBox & operator=(const Oriented3DBox &from)
Definition: oriented_3d_box.pb.h:65
std::unique_ptr< Oriented3DBox > Oriented3DBoxUniquePtr
Definition: oriented_3d_box.pb.h:333
const ::ignition::msgs::Vector3d & center() const
Definition: oriented_3d_box.pb.h:225
const ::ignition::msgs::Quaternion & orientation() const
Definition: oriented_3d_box.pb.h:263
::ignition::msgs::Header * mutable_header()
Definition: oriented_3d_box.pb.h:191
void set_allocated_center(::ignition::msgs::Vector3d *center)
Definition: oriented_3d_box.pb.h:244
void protobuf_ShutdownFile_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto()
::ignition::msgs::Vector3d * mutable_boxsize()
Definition: oriented_3d_box.pb.h:305
void set_allocated_header(::ignition::msgs::Header *header)
Definition: oriented_3d_box.pb.h:206
void clear_header()
Definition: oriented_3d_box.pb.h:183
int GetCachedSize() const
Definition: oriented_3d_box.pb.h:97
bool has_orientation() const
Definition: oriented_3d_box.pb.h:256
void clear_orientation()
Definition: oriented_3d_box.pb.h:259
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2foriented_5f3d_5fbox_2eproto()
Oriented3DBox * New() const
Definition: oriented_3d_box.pb.h:77
const ::ignition::msgs::Vector3d & boxsize() const
Definition: oriented_3d_box.pb.h:301
void clear_center()
Definition: oriented_3d_box.pb.h:221
std::unique_ptr< const Oriented3DBox > ConstOriented3DBoxUniquePtr
Definition: oriented_3d_box.pb.h:334
Definition: quaternion.pb.h:56