35 #ifndef GOOGLE_PROTOBUF_COMPILER_CSHARP_HELPERS_H__ 36 #define GOOGLE_PROTOBUF_COMPILER_CSHARP_HELPERS_H__ 51 class FieldGeneratorBase;
89 bool preserve_period);
120 return descriptor->
name() ==
"google/protobuf/descriptor.proto";
132 #endif // GOOGLE_PROTOBUF_COMPILER_CSHARP_HELPERS_H__
std::string GetClassName(const Descriptor *descriptor)
Definition: csharp_helpers.cc:305
Definition: descriptor.h:801
const FieldDescriptor * field
Definition: parser_unittest.cc:2279
Definition: csharp_helpers.h:59
std::string UnderscoresToPascalCase(const std::string &input)
Definition: csharp_helpers.cc:177
std::string GetEnumValueName(const std::string &enum_name, const std::string &enum_value_name)
Definition: csharp_helpers.cc:268
const MessageOptions & options() const
std::string StripDotProto(const std::string &proto_file)
Definition: csharp_helpers.cc:109
Definition: csharp_helpers.h:58
const Descriptor * descriptor
Definition: descriptor.cc:271
FieldGeneratorBase * CreateFieldGenerator(const FieldDescriptor *descriptor, int fieldOrdinal, const Options *options)
Definition: csharp_helpers.cc:453
std::string GetFieldName(const FieldDescriptor *descriptor)
Definition: csharp_helpers.cc:316
Definition: descriptor.h:1156
Definition: descriptor.h:172
bool IsMapEntryMessage(const Descriptor *descriptor)
Definition: csharp_helpers.h:112
Definition: csharp_helpers.h:61
std::string GetReflectionClassUnqualifiedName(const FileDescriptor *descriptor)
Definition: csharp_helpers.cc:130
Definition: csharp_helpers.h:63
Definition: descriptor.h:439
std::string GetFieldConstantName(const FieldDescriptor *field)
Definition: csharp_helpers.cc:324
Definition: csharp_helpers.h:55
Definition: csharp_helpers.h:65
Definition: descriptor.h:458
std::string StringToBase64(const std::string &input)
Definition: csharp_helpers.cc:414
Type
Definition: descriptor.h:443
std::string GetPropertyName(const FieldDescriptor *descriptor)
Definition: csharp_helpers.cc:328
Definition: csharp_helpers.h:57
Definition: csharp_helpers.h:60
Definition: __init__.py:1
EGLenum type
Definition: eglext.h:63
GLsizei const GLchar *const * string
Definition: gl2.h:479
bool IsWrapperType(const FieldDescriptor *descriptor)
Definition: csharp_helpers.h:123
std::string FileDescriptorToBase64(const FileDescriptor *descriptor)
Definition: csharp_helpers.cc:445
Definition: csharp_helpers.h:64
const string & name() const
Definition: csharp_helpers.h:62
Definition: csharp_field_base.h:45
CSharpType
Definition: csharp_helpers.h:54
#define LIBPROTOBUF_EXPORT
Definition: port.h:97
bool map_entry() const
Definition: descriptor.pb.h:6368
std::string UnderscoresToCamelCase(const std::string &input, bool cap_next_letter, bool preserve_period)
Definition: csharp_helpers.cc:137
Definition: csharp_options.h:43
Definition: gflags_completions.h:115
string input
Definition: tokenizer_unittest.cc:198
Definition: csharp_helpers.h:56
int GetFixedSize(FieldDescriptor::Type type)
Definition: csharp_helpers.cc:381
const Descriptor * message_type() const
CSharpType GetCSharpType(FieldDescriptor::Type type)
Definition: csharp_helpers.cc:63
bool IsDescriptorProto(const FileDescriptor *descriptor)
Definition: csharp_helpers.h:119
Definition: csharp_helpers.h:66
const FileDescriptor * file() const