globalenumssamenamespace.pb.cc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: globalenumssamenamespace.proto
  3. #include "globalenumssamenamespace.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/io/coded_stream.h>
  8. #include <google/protobuf/wire_format_lite_inl.h>
  9. #include <google/protobuf/descriptor.h>
  10. #include <google/protobuf/generated_message_reflection.h>
  11. #include <google/protobuf/reflection_ops.h>
  12. #include <google/protobuf/wire_format.h>
  13. // This is a temporary google only hack
  14. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  15. #include "third_party/protobuf/version.h"
  16. #endif
  17. // @@protoc_insertion_point(includes)
  18. namespace qtprotobufnamespace {
  19. namespace tests {
  20. } // namespace tests
  21. } // namespace qtprotobufnamespace
  22. namespace protobuf_globalenumssamenamespace_2eproto {
  23. void InitDefaults() {
  24. }
  25. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
  26. const ::google::protobuf::uint32 TableStruct::offsets[1] = {};
  27. static const ::google::protobuf::internal::MigrationSchema* schemas = NULL;
  28. static const ::google::protobuf::Message* const* file_default_instances = NULL;
  29. void protobuf_AssignDescriptors() {
  30. AddDescriptors();
  31. AssignDescriptors(
  32. "globalenumssamenamespace.proto", schemas, file_default_instances, TableStruct::offsets,
  33. NULL, file_level_enum_descriptors, NULL);
  34. }
  35. void protobuf_AssignDescriptorsOnce() {
  36. static ::google::protobuf::internal::once_flag once;
  37. ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
  38. }
  39. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  40. void protobuf_RegisterTypes(const ::std::string&) {
  41. protobuf_AssignDescriptorsOnce();
  42. }
  43. void AddDescriptorsImpl() {
  44. InitDefaults();
  45. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  46. "\n\036globalenumssamenamespace.proto\022\031qtprot"
  47. "obufnamespace.tests*~\n\tTestEnum2\022\025\n\021TEST"
  48. "_ENUM2_VALUE0\020\000\022\025\n\021TEST_ENUM2_VALUE1\020\001\022\025"
  49. "\n\021TEST_ENUM2_VALUE2\020\002\022\025\n\021TEST_ENUM2_VALU"
  50. "E3\020\004\022\025\n\021TEST_ENUM2_VALUE4\020\003b\006proto3"
  51. };
  52. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  53. descriptor, 195);
  54. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  55. "globalenumssamenamespace.proto", &protobuf_RegisterTypes);
  56. }
  57. void AddDescriptors() {
  58. static ::google::protobuf::internal::once_flag once;
  59. ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
  60. }
  61. // Force AddDescriptors() to be called at dynamic initialization time.
  62. struct StaticDescriptorInitializer {
  63. StaticDescriptorInitializer() {
  64. AddDescriptors();
  65. }
  66. } static_descriptor_initializer;
  67. } // namespace protobuf_globalenumssamenamespace_2eproto
  68. namespace qtprotobufnamespace {
  69. namespace tests {
  70. const ::google::protobuf::EnumDescriptor* TestEnum2_descriptor() {
  71. protobuf_globalenumssamenamespace_2eproto::protobuf_AssignDescriptorsOnce();
  72. return protobuf_globalenumssamenamespace_2eproto::file_level_enum_descriptors[0];
  73. }
  74. bool TestEnum2_IsValid(int value) {
  75. switch (value) {
  76. case 0:
  77. case 1:
  78. case 2:
  79. case 3:
  80. case 4:
  81. return true;
  82. default:
  83. return false;
  84. }
  85. }
  86. // @@protoc_insertion_point(namespace_scope)
  87. } // namespace tests
  88. } // namespace qtprotobufnamespace
  89. namespace google {
  90. namespace protobuf {
  91. } // namespace protobuf
  92. } // namespace google
  93. // @@protoc_insertion_point(global_scope)