123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: Terminor_parameter.proto
- #ifndef PROTOBUF_Terminor_5fparameter_2eproto__INCLUDED
- #define PROTOBUF_Terminor_5fparameter_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3005000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- namespace protobuf_Terminor_5fparameter_2eproto {
- // Internal implementation detail -- do not use these members.
- struct TableStruct {
- static const ::google::protobuf::internal::ParseTableField entries[];
- static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
- static const ::google::protobuf::internal::ParseTable schema[2];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- void InitDefaultsArea3dImpl();
- void InitDefaultsArea3d();
- void InitDefaultsTerminor_parameterImpl();
- void InitDefaultsTerminor_parameter();
- inline void InitDefaults() {
- InitDefaultsArea3d();
- InitDefaultsTerminor_parameter();
- }
- } // namespace protobuf_Terminor_5fparameter_2eproto
- namespace LidarMeasure {
- class Area3d;
- class Area3dDefaultTypeInternal;
- extern Area3dDefaultTypeInternal _Area3d_default_instance_;
- class Terminor_parameter;
- class Terminor_parameterDefaultTypeInternal;
- extern Terminor_parameterDefaultTypeInternal _Terminor_parameter_default_instance_;
- } // namespace LidarMeasure
- namespace LidarMeasure {
- // ===================================================================
- class Area3d : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:LidarMeasure.Area3d) */ {
- public:
- Area3d();
- virtual ~Area3d();
- Area3d(const Area3d& from);
- inline Area3d& operator=(const Area3d& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Area3d(Area3d&& from) noexcept
- : Area3d() {
- *this = ::std::move(from);
- }
- inline Area3d& operator=(Area3d&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Area3d& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Area3d* internal_default_instance() {
- return reinterpret_cast<const Area3d*>(
- &_Area3d_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(Area3d* other);
- friend void swap(Area3d& a, Area3d& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Area3d* New() const PROTOBUF_FINAL { return New(NULL); }
- Area3d* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Area3d& from);
- void MergeFrom(const Area3d& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Area3d* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required float min_x = 1;
- bool has_min_x() const;
- void clear_min_x();
- static const int kMinXFieldNumber = 1;
- float min_x() const;
- void set_min_x(float value);
- // required float max_x = 2;
- bool has_max_x() const;
- void clear_max_x();
- static const int kMaxXFieldNumber = 2;
- float max_x() const;
- void set_max_x(float value);
- // required float min_y = 3;
- bool has_min_y() const;
- void clear_min_y();
- static const int kMinYFieldNumber = 3;
- float min_y() const;
- void set_min_y(float value);
- // required float max_y = 4;
- bool has_max_y() const;
- void clear_max_y();
- static const int kMaxYFieldNumber = 4;
- float max_y() const;
- void set_max_y(float value);
- // required float min_z = 5;
- bool has_min_z() const;
- void clear_min_z();
- static const int kMinZFieldNumber = 5;
- float min_z() const;
- void set_min_z(float value);
- // required float max_z = 6;
- bool has_max_z() const;
- void clear_max_z();
- static const int kMaxZFieldNumber = 6;
- float max_z() const;
- void set_max_z(float value);
- // @@protoc_insertion_point(class_scope:LidarMeasure.Area3d)
- private:
- void set_has_min_x();
- void clear_has_min_x();
- void set_has_max_x();
- void clear_has_max_x();
- void set_has_min_y();
- void clear_has_min_y();
- void set_has_max_y();
- void clear_has_max_y();
- void set_has_min_z();
- void clear_has_min_z();
- void set_has_max_z();
- void clear_has_max_z();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- float min_x_;
- float max_x_;
- float min_y_;
- float max_y_;
- float min_z_;
- float max_z_;
- friend struct ::protobuf_Terminor_5fparameter_2eproto::TableStruct;
- friend void ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3dImpl();
- };
- // -------------------------------------------------------------------
- class Terminor_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:LidarMeasure.Terminor_parameter) */ {
- public:
- Terminor_parameter();
- virtual ~Terminor_parameter();
- Terminor_parameter(const Terminor_parameter& from);
- inline Terminor_parameter& operator=(const Terminor_parameter& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Terminor_parameter(Terminor_parameter&& from) noexcept
- : Terminor_parameter() {
- *this = ::std::move(from);
- }
- inline Terminor_parameter& operator=(Terminor_parameter&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Terminor_parameter& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Terminor_parameter* internal_default_instance() {
- return reinterpret_cast<const Terminor_parameter*>(
- &_Terminor_parameter_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(Terminor_parameter* other);
- friend void swap(Terminor_parameter& a, Terminor_parameter& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Terminor_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
- Terminor_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Terminor_parameter& from);
- void MergeFrom(const Terminor_parameter& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Terminor_parameter* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .LidarMeasure.Area3d area_3d = 1;
- bool has_area_3d() const;
- void clear_area_3d();
- static const int kArea3DFieldNumber = 1;
- const ::LidarMeasure::Area3d& area_3d() const;
- ::LidarMeasure::Area3d* release_area_3d();
- ::LidarMeasure::Area3d* mutable_area_3d();
- void set_allocated_area_3d(::LidarMeasure::Area3d* area_3d);
- // @@protoc_insertion_point(class_scope:LidarMeasure.Terminor_parameter)
- private:
- void set_has_area_3d();
- void clear_has_area_3d();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::LidarMeasure::Area3d* area_3d_;
- friend struct ::protobuf_Terminor_5fparameter_2eproto::TableStruct;
- friend void ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameterImpl();
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Area3d
- // required float min_x = 1;
- inline bool Area3d::has_min_x() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Area3d::set_has_min_x() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Area3d::clear_has_min_x() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Area3d::clear_min_x() {
- min_x_ = 0;
- clear_has_min_x();
- }
- inline float Area3d::min_x() const {
- // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.min_x)
- return min_x_;
- }
- inline void Area3d::set_min_x(float value) {
- set_has_min_x();
- min_x_ = value;
- // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.min_x)
- }
- // required float max_x = 2;
- inline bool Area3d::has_max_x() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Area3d::set_has_max_x() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Area3d::clear_has_max_x() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Area3d::clear_max_x() {
- max_x_ = 0;
- clear_has_max_x();
- }
- inline float Area3d::max_x() const {
- // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.max_x)
- return max_x_;
- }
- inline void Area3d::set_max_x(float value) {
- set_has_max_x();
- max_x_ = value;
- // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.max_x)
- }
- // required float min_y = 3;
- inline bool Area3d::has_min_y() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Area3d::set_has_min_y() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Area3d::clear_has_min_y() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Area3d::clear_min_y() {
- min_y_ = 0;
- clear_has_min_y();
- }
- inline float Area3d::min_y() const {
- // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.min_y)
- return min_y_;
- }
- inline void Area3d::set_min_y(float value) {
- set_has_min_y();
- min_y_ = value;
- // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.min_y)
- }
- // required float max_y = 4;
- inline bool Area3d::has_max_y() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Area3d::set_has_max_y() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Area3d::clear_has_max_y() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Area3d::clear_max_y() {
- max_y_ = 0;
- clear_has_max_y();
- }
- inline float Area3d::max_y() const {
- // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.max_y)
- return max_y_;
- }
- inline void Area3d::set_max_y(float value) {
- set_has_max_y();
- max_y_ = value;
- // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.max_y)
- }
- // required float min_z = 5;
- inline bool Area3d::has_min_z() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Area3d::set_has_min_z() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Area3d::clear_has_min_z() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Area3d::clear_min_z() {
- min_z_ = 0;
- clear_has_min_z();
- }
- inline float Area3d::min_z() const {
- // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.min_z)
- return min_z_;
- }
- inline void Area3d::set_min_z(float value) {
- set_has_min_z();
- min_z_ = value;
- // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.min_z)
- }
- // required float max_z = 6;
- inline bool Area3d::has_max_z() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Area3d::set_has_max_z() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Area3d::clear_has_max_z() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Area3d::clear_max_z() {
- max_z_ = 0;
- clear_has_max_z();
- }
- inline float Area3d::max_z() const {
- // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.max_z)
- return max_z_;
- }
- inline void Area3d::set_max_z(float value) {
- set_has_max_z();
- max_z_ = value;
- // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.max_z)
- }
- // -------------------------------------------------------------------
- // Terminor_parameter
- // required .LidarMeasure.Area3d area_3d = 1;
- inline bool Terminor_parameter::has_area_3d() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Terminor_parameter::set_has_area_3d() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Terminor_parameter::clear_has_area_3d() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Terminor_parameter::clear_area_3d() {
- if (area_3d_ != NULL) area_3d_->Clear();
- clear_has_area_3d();
- }
- inline const ::LidarMeasure::Area3d& Terminor_parameter::area_3d() const {
- const ::LidarMeasure::Area3d* p = area_3d_;
- // @@protoc_insertion_point(field_get:LidarMeasure.Terminor_parameter.area_3d)
- return p != NULL ? *p : *reinterpret_cast<const ::LidarMeasure::Area3d*>(
- &::LidarMeasure::_Area3d_default_instance_);
- }
- inline ::LidarMeasure::Area3d* Terminor_parameter::release_area_3d() {
- // @@protoc_insertion_point(field_release:LidarMeasure.Terminor_parameter.area_3d)
- clear_has_area_3d();
- ::LidarMeasure::Area3d* temp = area_3d_;
- area_3d_ = NULL;
- return temp;
- }
- inline ::LidarMeasure::Area3d* Terminor_parameter::mutable_area_3d() {
- set_has_area_3d();
- if (area_3d_ == NULL) {
- area_3d_ = new ::LidarMeasure::Area3d;
- }
- // @@protoc_insertion_point(field_mutable:LidarMeasure.Terminor_parameter.area_3d)
- return area_3d_;
- }
- inline void Terminor_parameter::set_allocated_area_3d(::LidarMeasure::Area3d* area_3d) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete area_3d_;
- }
- if (area_3d) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- area_3d = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, area_3d, submessage_arena);
- }
- set_has_area_3d();
- } else {
- clear_has_area_3d();
- }
- area_3d_ = area_3d;
- // @@protoc_insertion_point(field_set_allocated:LidarMeasure.Terminor_parameter.area_3d)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace LidarMeasure
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_Terminor_5fparameter_2eproto__INCLUDED
|