LCOV - code coverage report
Current view: top level - out/build/linux-debug/OdbDesignLib - symbolname.pb.h (source / functions) Coverage Total Hit
Test: OdbDesign Test Coverage Lines: 100.0 % 32 32
Test Date: 2026-11-21 03:51:50 Functions: 100.0 % 11 11
Legend: Lines: hit not hit

            Line data    Source code
       1              : // Generated by the protocol buffer compiler.  DO NOT EDIT!
       2              : // NO CHECKED-IN PROTOBUF GENCODE
       3              : // source: symbolname.proto
       4              : // Protobuf C++ Version: 6.33.4
       5              : 
       6              : #ifndef symbolname_2eproto_2epb_2eh
       7              : #define symbolname_2eproto_2epb_2eh
       8              : 
       9              : #include <limits>
      10              : #include <string>
      11              : #include <type_traits>
      12              : #include <utility>
      13              : 
      14              : #include "google/protobuf/runtime_version.h"
      15              : #if PROTOBUF_VERSION != 6033004
      16              : #error "Protobuf C++ gencode is built with an incompatible version of"
      17              : #error "Protobuf C++ headers/runtime. See"
      18              : #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
      19              : #endif
      20              : #include "google/protobuf/io/coded_stream.h"
      21              : #include "google/protobuf/arena.h"
      22              : #include "google/protobuf/arenastring.h"
      23              : #include "google/protobuf/generated_message_tctable_decl.h"
      24              : #include "google/protobuf/generated_message_util.h"
      25              : #include "google/protobuf/metadata_lite.h"
      26              : #include "google/protobuf/generated_message_reflection.h"
      27              : #include "google/protobuf/message.h"
      28              : #include "google/protobuf/message_lite.h"
      29              : #include "google/protobuf/repeated_field.h"  // IWYU pragma: export
      30              : #include "google/protobuf/extension_set.h"  // IWYU pragma: export
      31              : #include "google/protobuf/unknown_field_set.h"
      32              : #include "enums.pb.h"
      33              : // @@protoc_insertion_point(includes)
      34              : 
      35              : // Must be included last.
      36              : #include "google/protobuf/port_def.inc"
      37              : 
      38              : #define PROTOBUF_INTERNAL_EXPORT_symbolname_2eproto ODBDESIGN_EXPORT
      39              : 
      40              : namespace google {
      41              : namespace protobuf {
      42              : namespace internal {
      43              : template <typename T>
      44              : ::absl::string_view GetAnyMessageName();
      45              : }  // namespace internal
      46              : }  // namespace protobuf
      47              : }  // namespace google
      48              : 
      49              : // Internal implementation detail -- do not use these members.
      50              : struct ODBDESIGN_EXPORT TableStruct_symbolname_2eproto {
      51              :   static const ::uint32_t offsets[];
      52              : };
      53              : extern "C" {
      54              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_symbolname_2eproto;
      55              : }  // extern "C"
      56              : namespace Odb {
      57              : namespace Lib {
      58              : namespace Protobuf {
      59              : class SymbolName;
      60              : struct SymbolNameDefaultTypeInternal;
      61              : ODBDESIGN_EXPORT extern SymbolNameDefaultTypeInternal _SymbolName_default_instance_;
      62              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull SymbolName_class_data_;
      63              : }  // namespace Protobuf
      64              : }  // namespace Lib
      65              : }  // namespace Odb
      66              : namespace google {
      67              : namespace protobuf {
      68              : }  // namespace protobuf
      69              : }  // namespace google
      70              : 
      71              : namespace Odb {
      72              : namespace Lib {
      73              : namespace Protobuf {
      74              : 
      75              : // ===================================================================
      76              : 
      77              : 
      78              : // -------------------------------------------------------------------
      79              : 
      80              : class ODBDESIGN_EXPORT SymbolName final : public ::google::protobuf::Message
      81              : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.SymbolName) */ {
      82              :  public:
      83       169018 :   inline SymbolName() : SymbolName(nullptr) {}
      84              :   ~SymbolName() PROTOBUF_FINAL;
      85              : 
      86              : #if defined(PROTOBUF_CUSTOM_VTABLE)
      87              :   void operator delete(SymbolName* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
      88              :     SharedDtor(*msg);
      89              :     ::google::protobuf::internal::SizedDelete(msg, sizeof(SymbolName));
      90              :   }
      91              : #endif
      92              : 
      93              :   template <typename = void>
      94              :   explicit PROTOBUF_CONSTEXPR SymbolName(::google::protobuf::internal::ConstantInitialized);
      95              : 
      96       259279 :   inline SymbolName(const SymbolName& from) : SymbolName(nullptr, from) {}
      97              :   inline SymbolName(SymbolName&& from) noexcept
      98              :       : SymbolName(nullptr, ::std::move(from)) {}
      99        84394 :   inline SymbolName& operator=(const SymbolName& from) {
     100        84394 :     CopyFrom(from);
     101        84394 :     return *this;
     102              :   }
     103              :   inline SymbolName& operator=(SymbolName&& from) noexcept {
     104              :     if (this == &from) return *this;
     105              :     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
     106              :       InternalSwap(&from);
     107              :     } else {
     108              :       CopyFrom(from);
     109              :     }
     110              :     return *this;
     111              :   }
     112              : 
     113              :   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
     114              :       ABSL_ATTRIBUTE_LIFETIME_BOUND {
     115              :     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
     116              :   }
     117              :   inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
     118              :       ABSL_ATTRIBUTE_LIFETIME_BOUND {
     119              :     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
     120              :   }
     121              : 
     122              :   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
     123              :     return GetDescriptor();
     124              :   }
     125              :   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
     126              :     return default_instance().GetMetadata().descriptor;
     127              :   }
     128              :   static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
     129              :     return default_instance().GetMetadata().reflection;
     130              :   }
     131              :   static const SymbolName& default_instance() {
     132              :     return *reinterpret_cast<const SymbolName*>(
     133              :         &_SymbolName_default_instance_);
     134              :   }
     135              :   static constexpr int kIndexInFileMessages = 0;
     136              :   friend void swap(SymbolName& a, SymbolName& b) { a.Swap(&b); }
     137              :   inline void Swap(SymbolName* PROTOBUF_NONNULL other) {
     138              :     if (other == this) return;
     139              :     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
     140              :       InternalSwap(other);
     141              :     } else {
     142              :       ::google::protobuf::internal::GenericSwap(this, other);
     143              :     }
     144              :   }
     145              :   void UnsafeArenaSwap(SymbolName* PROTOBUF_NONNULL other) {
     146              :     if (other == this) return;
     147              :     ABSL_DCHECK(GetArena() == other->GetArena());
     148              :     InternalSwap(other);
     149              :   }
     150              : 
     151              :   // implements Message ----------------------------------------------
     152              : 
     153              :   SymbolName* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
     154              :     return ::google::protobuf::Message::DefaultConstruct<SymbolName>(arena);
     155              :   }
     156              :   using ::google::protobuf::Message::CopyFrom;
     157              :   void CopyFrom(const SymbolName& from);
     158              :   using ::google::protobuf::Message::MergeFrom;
     159       126817 :   void MergeFrom(const SymbolName& from) { SymbolName::MergeImpl(*this, from); }
     160              : 
     161              :   private:
     162              :   static void MergeImpl(::google::protobuf::MessageLite& to_msg,
     163              :                         const ::google::protobuf::MessageLite& from_msg);
     164              : 
     165              :   public:
     166              :   bool IsInitialized() const {
     167              :     return true;
     168              :   }
     169              :   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
     170              :   #if defined(PROTOBUF_CUSTOM_VTABLE)
     171              :   private:
     172              :   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
     173              :   static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     174              :       const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
     175              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
     176              : 
     177              :   public:
     178              :   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
     179              :   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     180              :       ::uint8_t* PROTOBUF_NONNULL target,
     181              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
     182              :     return _InternalSerialize(*this, target, stream);
     183              :   }
     184              :   #else   // PROTOBUF_CUSTOM_VTABLE
     185              :   ::size_t ByteSizeLong() const final;
     186              :   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
     187              :       ::uint8_t* PROTOBUF_NONNULL target,
     188              :       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
     189              :   #endif  // PROTOBUF_CUSTOM_VTABLE
     190       132990 :   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
     191              : 
     192              :   private:
     193              :   void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     194              :   static void SharedDtor(MessageLite& self);
     195              :   void InternalSwap(SymbolName* PROTOBUF_NONNULL other);
     196              :  private:
     197              :   template <typename T>
     198              :   friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
     199              :   static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.SymbolName"; }
     200              : 
     201              :   explicit SymbolName(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     202              :   SymbolName(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SymbolName& from);
     203              :   SymbolName(
     204              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SymbolName&& from) noexcept
     205              :       : SymbolName(arena) {
     206              :     *this = ::std::move(from);
     207              :   }
     208              :   const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
     209              :   static void* PROTOBUF_NONNULL PlacementNew_(
     210              :       const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
     211              :       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     212              :   static constexpr auto InternalNewImpl_();
     213              : 
     214              :  public:
     215              :   static constexpr auto InternalGenerateClassData_();
     216              : 
     217              :   ::google::protobuf::Metadata GetMetadata() const;
     218              :   // nested types ----------------------------------------------------
     219              : 
     220              :   // accessors -------------------------------------------------------
     221              :   enum : int {
     222              :     kNameFieldNumber = 1,
     223              :     kUnitTypeFieldNumber = 2,
     224              :   };
     225              :   // optional string name = 1;
     226              :   bool has_name() const;
     227              :   void clear_name() ;
     228              :   const ::std::string& name() const;
     229              :   template <typename Arg_ = const ::std::string&, typename... Args_>
     230              :   void set_name(Arg_&& arg, Args_... args);
     231              :   ::std::string* PROTOBUF_NONNULL mutable_name();
     232              :   [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
     233              :   void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
     234              : 
     235              :   private:
     236              :   const ::std::string& _internal_name() const;
     237              :   PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
     238              :   ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
     239              : 
     240              :   public:
     241              :   // optional .Odb.Lib.Protobuf.UnitType unitType = 2;
     242              :   bool has_unittype() const;
     243              :   void clear_unittype() ;
     244              :   ::Odb::Lib::Protobuf::UnitType unittype() const;
     245              :   void set_unittype(::Odb::Lib::Protobuf::UnitType value);
     246              : 
     247              :   private:
     248              :   ::Odb::Lib::Protobuf::UnitType _internal_unittype() const;
     249              :   void _internal_set_unittype(::Odb::Lib::Protobuf::UnitType value);
     250              : 
     251              :   public:
     252              :   // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.SymbolName)
     253              :  private:
     254              :   class _Internal;
     255              :   friend class ::google::protobuf::internal::TcParser;
     256              :   static const ::google::protobuf::internal::TcParseTable<1, 2,
     257              :                                    0, 40,
     258              :                                    2>
     259              :       _table_;
     260              : 
     261              :   friend class ::google::protobuf::MessageLite;
     262              :   friend class ::google::protobuf::Arena;
     263              :   template <typename T>
     264              :   friend class ::google::protobuf::Arena::InternalHelper;
     265              :   using InternalArenaConstructable_ = void;
     266              :   using DestructorSkippable_ = void;
     267              :   struct Impl_ {
     268              :     inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
     269              :     inline explicit Impl_(
     270              :         ::google::protobuf::internal::InternalVisibility visibility,
     271              :         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
     272              :     inline explicit Impl_(
     273              :         ::google::protobuf::internal::InternalVisibility visibility,
     274              :         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
     275              :         const SymbolName& from_msg);
     276              :     ::google::protobuf::internal::HasBits<1> _has_bits_;
     277              :     ::google::protobuf::internal::CachedSize _cached_size_;
     278              :     ::google::protobuf::internal::ArenaStringPtr name_;
     279              :     int unittype_;
     280              :     PROTOBUF_TSAN_DECLARE_MEMBER
     281              :   };
     282              :   union { Impl_ _impl_; };
     283              :   friend struct ::TableStruct_symbolname_2eproto;
     284              : };
     285              : 
     286              : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull SymbolName_class_data_;
     287              : 
     288              : // ===================================================================
     289              : 
     290              : 
     291              : 
     292              : 
     293              : // ===================================================================
     294              : 
     295              : 
     296              : #ifdef __GNUC__
     297              : #pragma GCC diagnostic push
     298              : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
     299              : #endif  // __GNUC__
     300              : // -------------------------------------------------------------------
     301              : 
     302              : // SymbolName
     303              : 
     304              : // optional string name = 1;
     305              : inline bool SymbolName::has_name() const {
     306              :   bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
     307              :   return value;
     308              : }
     309              : inline void SymbolName::clear_name() {
     310              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     311              :   _impl_.name_.ClearToEmpty();
     312              :   ClearHasBit(_impl_._has_bits_[0],
     313              :                   0x00000001U);
     314              : }
     315         2363 : inline const ::std::string& SymbolName::name() const
     316              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     317              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.SymbolName.name)
     318         2363 :   return _internal_name();
     319              : }
     320              : template <typename Arg_, typename... Args_>
     321              : PROTOBUF_ALWAYS_INLINE void SymbolName::set_name(Arg_&& arg, Args_... args) {
     322        84624 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     323        84624 :   SetHasBit(_impl_._has_bits_[0], 0x00000001U);
     324        84624 :   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
     325              :   // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.SymbolName.name)
     326        84624 : }
     327              : inline ::std::string* PROTOBUF_NONNULL SymbolName::mutable_name()
     328              :     ABSL_ATTRIBUTE_LIFETIME_BOUND {
     329              :   SetHasBit(_impl_._has_bits_[0], 0x00000001U);
     330              :   ::std::string* _s = _internal_mutable_name();
     331              :   // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.SymbolName.name)
     332              :   return _s;
     333              : }
     334       406041 : inline const ::std::string& SymbolName::_internal_name() const {
     335       406041 :   ::google::protobuf::internal::TSanRead(&_impl_);
     336       406041 :   return _impl_.name_.Get();
     337              : }
     338              : inline void SymbolName::_internal_set_name(const ::std::string& value) {
     339       197062 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     340       197062 :   _impl_.name_.Set(value, GetArena());
     341       197062 : }
     342              : inline ::std::string* PROTOBUF_NONNULL SymbolName::_internal_mutable_name() {
     343              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     344              :   return _impl_.name_.Mutable( GetArena());
     345              : }
     346              : inline ::std::string* PROTOBUF_NULLABLE SymbolName::release_name() {
     347              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     348              :   // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.SymbolName.name)
     349              :   if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
     350              :     return nullptr;
     351              :   }
     352              :   ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
     353              :   auto* released = _impl_.name_.Release();
     354              :   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
     355              :     _impl_.name_.Set("", GetArena());
     356              :   }
     357              :   return released;
     358              : }
     359              : inline void SymbolName::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
     360              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     361              :   if (value != nullptr) {
     362              :     SetHasBit(_impl_._has_bits_[0], 0x00000001U);
     363              :   } else {
     364              :     ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
     365              :   }
     366              :   _impl_.name_.SetAllocated(value, GetArena());
     367              :   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
     368              :     _impl_.name_.Set("", GetArena());
     369              :   }
     370              :   // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.SymbolName.name)
     371              : }
     372              : 
     373              : // optional .Odb.Lib.Protobuf.UnitType unitType = 2;
     374              : inline bool SymbolName::has_unittype() const {
     375              :   bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
     376              :   return value;
     377              : }
     378              : inline void SymbolName::clear_unittype() {
     379              :   ::google::protobuf::internal::TSanWrite(&_impl_);
     380              :   _impl_.unittype_ = 0;
     381              :   ClearHasBit(_impl_._has_bits_[0],
     382              :                   0x00000002U);
     383              : }
     384         2589 : inline ::Odb::Lib::Protobuf::UnitType SymbolName::unittype() const {
     385              :   // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.SymbolName.unitType)
     386         2589 :   return _internal_unittype();
     387              : }
     388        84624 : inline void SymbolName::set_unittype(::Odb::Lib::Protobuf::UnitType value) {
     389        84624 :   _internal_set_unittype(value);
     390        84624 :   SetHasBit(_impl_._has_bits_[0], 0x00000002U);
     391              :   // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.SymbolName.unitType)
     392        84624 : }
     393       209205 : inline ::Odb::Lib::Protobuf::UnitType SymbolName::_internal_unittype() const {
     394       209205 :   ::google::protobuf::internal::TSanRead(&_impl_);
     395       209205 :   return static_cast<::Odb::Lib::Protobuf::UnitType>(_impl_.unittype_);
     396              : }
     397        84624 : inline void SymbolName::_internal_set_unittype(::Odb::Lib::Protobuf::UnitType value) {
     398        84624 :   ::google::protobuf::internal::TSanWrite(&_impl_);
     399        84624 :   _impl_.unittype_ = value;
     400        84624 : }
     401              : 
     402              : #ifdef __GNUC__
     403              : #pragma GCC diagnostic pop
     404              : #endif  // __GNUC__
     405              : 
     406              : // @@protoc_insertion_point(namespace_scope)
     407              : }  // namespace Protobuf
     408              : }  // namespace Lib
     409              : }  // namespace Odb
     410              : 
     411              : 
     412              : // @@protoc_insertion_point(global_scope)
     413              : 
     414              : #include "google/protobuf/port_undef.inc"
     415              : 
     416              : #endif  // symbolname_2eproto_2epb_2eh
        

Generated by: LCOV version 2.0-1