globalenumssamenamespace.pb.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: globalenumssamenamespace.proto
  3. #ifndef PROTOBUF_INCLUDED_globalenumssamenamespace_2eproto
  4. #define PROTOBUF_INCLUDED_globalenumssamenamespace_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. // @@protoc_insertion_point(includes)
  28. #define PROTOBUF_INTERNAL_EXPORT_protobuf_globalenumssamenamespace_2eproto
  29. namespace protobuf_globalenumssamenamespace_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[1];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. } // namespace protobuf_globalenumssamenamespace_2eproto
  41. namespace qtprotobufnamespace {
  42. namespace tests {
  43. } // namespace tests
  44. } // namespace qtprotobufnamespace
  45. namespace qtprotobufnamespace {
  46. namespace tests {
  47. enum TestEnum2 {
  48. TEST_ENUM2_VALUE0 = 0,
  49. TEST_ENUM2_VALUE1 = 1,
  50. TEST_ENUM2_VALUE2 = 2,
  51. TEST_ENUM2_VALUE3 = 4,
  52. TEST_ENUM2_VALUE4 = 3,
  53. TestEnum2_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
  54. TestEnum2_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
  55. };
  56. bool TestEnum2_IsValid(int value);
  57. const TestEnum2 TestEnum2_MIN = TEST_ENUM2_VALUE0;
  58. const TestEnum2 TestEnum2_MAX = TEST_ENUM2_VALUE3;
  59. const int TestEnum2_ARRAYSIZE = TestEnum2_MAX + 1;
  60. const ::google::protobuf::EnumDescriptor* TestEnum2_descriptor();
  61. inline const ::std::string& TestEnum2_Name(TestEnum2 value) {
  62. return ::google::protobuf::internal::NameOfEnum(
  63. TestEnum2_descriptor(), value);
  64. }
  65. inline bool TestEnum2_Parse(
  66. const ::std::string& name, TestEnum2* value) {
  67. return ::google::protobuf::internal::ParseNamedEnum<TestEnum2>(
  68. TestEnum2_descriptor(), name, value);
  69. }
  70. // ===================================================================
  71. // ===================================================================
  72. // ===================================================================
  73. #ifdef __GNUC__
  74. #pragma GCC diagnostic push
  75. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  76. #endif // __GNUC__
  77. #ifdef __GNUC__
  78. #pragma GCC diagnostic pop
  79. #endif // __GNUC__
  80. // @@protoc_insertion_point(namespace_scope)
  81. } // namespace tests
  82. } // namespace qtprotobufnamespace
  83. namespace google {
  84. namespace protobuf {
  85. template <> struct is_proto_enum< ::qtprotobufnamespace::tests::TestEnum2> : ::std::true_type {};
  86. template <>
  87. inline const EnumDescriptor* GetEnumDescriptor< ::qtprotobufnamespace::tests::TestEnum2>() {
  88. return ::qtprotobufnamespace::tests::TestEnum2_descriptor();
  89. }
  90. } // namespace protobuf
  91. } // namespace google
  92. // @@protoc_insertion_point(global_scope)
  93. #endif // PROTOBUF_INCLUDED_globalenumssamenamespace_2eproto