Go to the documentation of this file.
35 #ifndef GOOGLE_PROTOBUF_COMPILER_CSHARP_HELPERS_H__
36 #define GOOGLE_PROTOBUF_COMPILER_CSHARP_HELPERS_H__
45 #include <google/protobuf/port_def.inc>
53 class FieldGeneratorBase;
93 bool preserve_period);
132 return descriptor->name() ==
"google/protobuf/descriptor.proto";
141 return name ==
"google.protobuf.FileOptions" ||
142 name ==
"google.protobuf.MessageOptions" ||
143 name ==
"google.protobuf.FieldOptions" ||
144 name ==
"google.protobuf.OneofOptions" ||
145 name ==
"google.protobuf.EnumOptions" ||
146 name ==
"google.protobuf.EnumValueOptions" ||
147 name ==
"google.protobuf.ServiceOptions" ||
148 name ==
"google.protobuf.MethodOptions";
153 descriptor->message_type()->file()->name() ==
"google/protobuf/wrappers.proto";
165 #include <google/protobuf/port_undef.inc>
167 #endif // GOOGLE_PROTOBUF_COMPILER_CSHARP_HELPERS_H__
std::string GetFieldConstantName(const FieldDescriptor *field)
GLuint const GLchar * name
std::string StringToBase64(const std::string &input)
std::string GetFullExtensionName(const FieldDescriptor *descriptor)
std::string StripDotProto(const std::string &proto_file)
int GetFixedSize(FieldDescriptor::Type type)
CSharpType GetCSharpType(FieldDescriptor::Type type)
GLsizei const GLchar *const * string
bool IsDescriptorOptionMessage(const Descriptor *descriptor)
std::string UnderscoresToPascalCase(const std::string &input)
bool IsProto2(const FileDescriptor *descriptor)
std::string GetFieldName(const FieldDescriptor *descriptor)
bool IsDescriptorProto(const FileDescriptor *descriptor)
std::string GetReflectionClassUnqualifiedName(const FileDescriptor *descriptor)
std::string GetPropertyName(const FieldDescriptor *descriptor)
const FieldDescriptor * field
uint GetGroupEndTag(const Descriptor *descriptor)
std::string GetClassName(const Descriptor *descriptor)
std::string FileDescriptorToBase64(const FileDescriptor *descriptor)
bool IsNullable(const FieldDescriptor *descriptor)
bool IsMapEntryMessage(const Descriptor *descriptor)
bool IsWrapperType(const FieldDescriptor *descriptor)
std::string GetExtensionClassUnqualifiedName(const FileDescriptor *descriptor)
std::string UnderscoresToCamelCase(const std::string &input, bool cap_next_letter, bool preserve_period)
std::string GetEnumValueName(const std::string &enum_name, const std::string &enum_value_name)
FieldGeneratorBase * CreateFieldGenerator(const FieldDescriptor *descriptor, int presenceIndex, const Options *options)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:49