globalenums.pb.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: globalenums.proto
  3. #ifndef PROTOBUF_INCLUDED_globalenums_2eproto
  4. #define PROTOBUF_INCLUDED_globalenums_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_globalenums_2eproto
  29. namespace protobuf_globalenums_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_globalenums_2eproto
  41. namespace qtprotobufnamespace {
  42. namespace tests {
  43. namespace globalenums {
  44. } // namespace globalenums
  45. } // namespace tests
  46. } // namespace qtprotobufnamespace
  47. namespace qtprotobufnamespace {
  48. namespace tests {
  49. namespace globalenums {
  50. enum TestEnum {
  51. TEST_ENUM_VALUE0 = 0,
  52. TEST_ENUM_VALUE1 = 1,
  53. TEST_ENUM_VALUE2 = 2,
  54. TEST_ENUM_VALUE3 = 4,
  55. TEST_ENUM_VALUE4 = 3,
  56. TestEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
  57. TestEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
  58. };
  59. bool TestEnum_IsValid(int value);
  60. const TestEnum TestEnum_MIN = TEST_ENUM_VALUE0;
  61. const TestEnum TestEnum_MAX = TEST_ENUM_VALUE3;
  62. const int TestEnum_ARRAYSIZE = TestEnum_MAX + 1;
  63. const ::google::protobuf::EnumDescriptor* TestEnum_descriptor();
  64. inline const ::std::string& TestEnum_Name(TestEnum value) {
  65. return ::google::protobuf::internal::NameOfEnum(
  66. TestEnum_descriptor(), value);
  67. }
  68. inline bool TestEnum_Parse(
  69. const ::std::string& name, TestEnum* value) {
  70. return ::google::protobuf::internal::ParseNamedEnum<TestEnum>(
  71. TestEnum_descriptor(), name, value);
  72. }
  73. // ===================================================================
  74. // ===================================================================
  75. // ===================================================================
  76. #ifdef __GNUC__
  77. #pragma GCC diagnostic push
  78. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  79. #endif // __GNUC__
  80. #ifdef __GNUC__
  81. #pragma GCC diagnostic pop
  82. #endif // __GNUC__
  83. // @@protoc_insertion_point(namespace_scope)
  84. } // namespace globalenums
  85. } // namespace tests
  86. } // namespace qtprotobufnamespace
  87. namespace google {
  88. namespace protobuf {
  89. template <> struct is_proto_enum< ::qtprotobufnamespace::tests::globalenums::TestEnum> : ::std::true_type {};
  90. template <>
  91. inline const EnumDescriptor* GetEnumDescriptor< ::qtprotobufnamespace::tests::globalenums::TestEnum>() {
  92. return ::qtprotobufnamespace::tests::globalenums::TestEnum_descriptor();
  93. }
  94. } // namespace protobuf
  95. } // namespace google
  96. // @@protoc_insertion_point(global_scope)
  97. #endif // PROTOBUF_INCLUDED_globalenums_2eproto