// Generated by the protocol buffer compiler. DO NOT EDIT! // source: globalenums.proto #include "globalenums.pb.h" #include #include #include #include #include #include #include #include #include // This is a temporary google only hack #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS #include "third_party/protobuf/version.h" #endif // @@protoc_insertion_point(includes) namespace qtprotobufnamespace { namespace tests { namespace globalenums { } // namespace globalenums } // namespace tests } // namespace qtprotobufnamespace namespace protobuf_globalenums_2eproto { void InitDefaults() { } const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1]; const ::google::protobuf::uint32 TableStruct::offsets[1] = {}; static const ::google::protobuf::internal::MigrationSchema* schemas = NULL; static const ::google::protobuf::Message* const* file_default_instances = NULL; void protobuf_AssignDescriptors() { AddDescriptors(); AssignDescriptors( "globalenums.proto", schemas, file_default_instances, TableStruct::offsets, NULL, file_level_enum_descriptors, NULL); } void protobuf_AssignDescriptorsOnce() { static ::google::protobuf::internal::once_flag once; ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); } void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); } void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\021globalenums.proto\022%qtprotobufnamespace" ".tests.globalenums*x\n\010TestEnum\022\024\n\020TEST_E" "NUM_VALUE0\020\000\022\024\n\020TEST_ENUM_VALUE1\020\001\022\024\n\020TE" "ST_ENUM_VALUE2\020\002\022\024\n\020TEST_ENUM_VALUE3\020\004\022\024" "\n\020TEST_ENUM_VALUE4\020\003b\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 188); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "globalenums.proto", &protobuf_RegisterTypes); } void AddDescriptors() { static ::google::protobuf::internal::once_flag once; ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_globalenums_2eproto namespace qtprotobufnamespace { namespace tests { namespace globalenums { const ::google::protobuf::EnumDescriptor* TestEnum_descriptor() { protobuf_globalenums_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_globalenums_2eproto::file_level_enum_descriptors[0]; } bool TestEnum_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: return true; default: return false; } } // @@protoc_insertion_point(namespace_scope) } // namespace globalenums } // namespace tests } // namespace qtprotobufnamespace namespace google { namespace protobuf { } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope)