37 #ifndef PROTOC_GENERATORHELPERS_H_ 38 #define PROTOC_GENERATORHELPERS_H_ 40 #include <google/protobuf/descriptor.h> 41 #include <google/protobuf/descriptor.pb.h> 50 extern const char kThickSeparator[];
51 extern const char kThinSeparator[];
61 string ClassName(
const google::protobuf::Descriptor* descriptor,
65 string StripProto(
const string& filename);
68 string FilenameIdentifier(
const string& filename);
71 #if GOOGLE_PROTOBUF_VERSION < 3002000 73 string GlobalAddDescriptorsName(
const string& filename);
77 string GlobalAssignDescriptorsName(
const string& filename);
80 inline bool HasDescriptorMethods(
const google::protobuf::FileDescriptor* file) {
81 return file->options().optimize_for() !=
82 google::protobuf::FileOptions::LITE_RUNTIME;
85 #endif // PROTOC_GENERATORHELPERS_H_ The namespace containing all OLA symbols.
Definition: Credentials.cpp:44