39 #ifndef GOOGLE_PROTOBUF_GENERATED_ENUM_REFLECTION_H__
40 #define GOOGLE_PROTOBUF_GENERATED_ENUM_REFLECTION_H__
72 template<
typename EnumType>
78 *value =
static_cast<EnumType
>(tmp);
91 #endif // GOOGLE_PROTOBUF_GENERATED_ENUM_REFLECTION_H__
LIBPROTOBUF_EXPORT const string & NameOfEnum(const EnumDescriptor *descriptor, int value)
LIBPROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor *descriptor, const string &name, int *value)
Definition: descriptor.h:683
const EnumDescriptor * GetEnumDescriptor()
Definition: template_util.h:77
Definition: generated_enum_reflection.h:55
Definition: document.h:390
#define LIBPROTOBUF_EXPORT
Definition: common.h:105
Definition: BnetFileGenerator.h:47
const FieldDescriptor value
Definition: descriptor.h:1522