4 #ifndef PROTOBUF_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2faxis_5faligned_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> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
AxisAlignedBox :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
84 bool IsInitialized()
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;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
127 bool has_min_corner()
const;
128 void clear_min_corner();
129 static const int kMinCornerFieldNumber = 2;
130 const ::ignition::msgs::Vector3d& min_corner()
const;
136 bool has_max_corner()
const;
137 void clear_max_corner();
138 static const int kMaxCornerFieldNumber = 3;
139 const ::ignition::msgs::Vector3d& max_corner()
const;
147 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
148 bool _is_default_instance_;
152 mutable int _cached_size_;
157 void InitAsDefaultInstance();
165 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 170 return !_is_default_instance_ && header_ != NULL;
173 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
178 return header_ != NULL ? *header_ : *default_instance_->header_;
182 if (header_ == NULL) {
183 header_ = new ::ignition::msgs::Header;
208 return !_is_default_instance_ && min_corner_ != NULL;
211 if (GetArenaNoVirtual() == NULL && min_corner_ != NULL)
delete min_corner_;
216 return min_corner_ != NULL ? *min_corner_ : *default_instance_->min_corner_;
220 if (min_corner_ == NULL) {
221 min_corner_ = new ::ignition::msgs::Vector3d;
235 min_corner_ = min_corner;
246 return !_is_default_instance_ && max_corner_ != NULL;
249 if (GetArenaNoVirtual() == NULL && max_corner_ != NULL)
delete max_corner_;
254 return max_corner_ != NULL ? *max_corner_ : *default_instance_->max_corner_;
258 if (max_corner_ == NULL) {
259 max_corner_ = new ::ignition::msgs::Vector3d;
273 max_corner_ = max_corner;
282 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 298 #endif // PROTOBUF_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto__INCLUDED
void clear_min_corner()
Definition: axis_aligned_box.pb.h:210
bool has_max_corner() const
Definition: axis_aligned_box.pb.h:245
AxisAlignedBox & operator=(const AxisAlignedBox &from)
Definition: axis_aligned_box.pb.h:64
AxisAlignedBox * New() const
Definition: axis_aligned_box.pb.h:76
void clear_max_corner()
Definition: axis_aligned_box.pb.h:248
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto()
const ::ignition::msgs::Vector3d & min_corner() const
Definition: axis_aligned_box.pb.h:214
const ::ignition::msgs::Vector3d & max_corner() const
Definition: axis_aligned_box.pb.h:252
const ::ignition::msgs::Header & header() const
Definition: axis_aligned_box.pb.h:176
void clear_header()
Definition: axis_aligned_box.pb.h:172
std::shared_ptr< const AxisAlignedBox > ConstAxisAlignedBoxSharedPtr
Definition: axis_aligned_box.pb.h:287
::ignition::msgs::Vector3d * release_max_corner()
Definition: axis_aligned_box.pb.h:264
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: axis_aligned_box.pb.h:93
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis_aligned_box.pb.h:195
Definition: axis_aligned_box.pb.h:57
void set_allocated_max_corner(::ignition::msgs::Vector3d *max_corner)
Definition: axis_aligned_box.pb.h:271
::ignition::msgs::Vector3d * release_min_corner()
Definition: axis_aligned_box.pb.h:226
std::unique_ptr< const AxisAlignedBox > ConstAxisAlignedBoxUniquePtr
Definition: axis_aligned_box.pb.h:285
std::unique_ptr< AxisAlignedBox > AxisAlignedBoxUniquePtr
Definition: axis_aligned_box.pb.h:284
::ignition::msgs::Header * release_header()
Definition: axis_aligned_box.pb.h:188
Definition: vector3d.pb.h:56
::ignition::msgs::Vector3d * mutable_max_corner()
Definition: axis_aligned_box.pb.h:256
int GetCachedSize() const
Definition: axis_aligned_box.pb.h:96
bool has_min_corner() const
Definition: axis_aligned_box.pb.h:207
::ignition::msgs::Vector3d * mutable_min_corner()
Definition: axis_aligned_box.pb.h:218
std::shared_ptr< AxisAlignedBox > AxisAlignedBoxSharedPtr
Definition: axis_aligned_box.pb.h:286
void protobuf_AssignDesc_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto()
void set_allocated_min_corner(::ignition::msgs::Vector3d *min_corner)
Definition: axis_aligned_box.pb.h:233
bool has_header() const
Definition: axis_aligned_box.pb.h:169
void protobuf_ShutdownFile_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto()
::ignition::msgs::Header * mutable_header()
Definition: axis_aligned_box.pb.h:180