webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Enumerations | Functions
csharp_helpers.h File Reference
#include <string>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/io/printer.h>

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::csharp
 

Enumerations

enum  google::protobuf::compiler::csharp::CSharpType {
  google::protobuf::compiler::csharp::CSHARPTYPE_INT32 = 1, google::protobuf::compiler::csharp::CSHARPTYPE_INT64 = 2, google::protobuf::compiler::csharp::CSHARPTYPE_UINT32 = 3, google::protobuf::compiler::csharp::CSHARPTYPE_UINT64 = 4,
  google::protobuf::compiler::csharp::CSHARPTYPE_FLOAT = 5, google::protobuf::compiler::csharp::CSHARPTYPE_DOUBLE = 6, google::protobuf::compiler::csharp::CSHARPTYPE_BOOL = 7, google::protobuf::compiler::csharp::CSHARPTYPE_STRING = 8,
  google::protobuf::compiler::csharp::CSHARPTYPE_BYTESTRING = 9, google::protobuf::compiler::csharp::CSHARPTYPE_MESSAGE = 10, google::protobuf::compiler::csharp::CSHARPTYPE_ENUM = 11, google::protobuf::compiler::csharp::MAX_CSHARPTYPE = 11
}
 

Functions

CSharpType google::protobuf::compiler::csharp::GetCSharpType (FieldDescriptor::Type type)
 
std::string google::protobuf::compiler::csharp::StripDotProto (const std::string &proto_file)
 
std::string google::protobuf::compiler::csharp::GetReflectionClassUnqualifiedName (const FileDescriptor *descriptor)
 
std::string google::protobuf::compiler::csharp::GetClassName (const EnumDescriptor *descriptor)
 
std::string google::protobuf::compiler::csharp::GetFieldName (const FieldDescriptor *descriptor)
 
std::string google::protobuf::compiler::csharp::GetFieldConstantName (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::csharp::GetPropertyName (const FieldDescriptor *descriptor)
 
int google::protobuf::compiler::csharp::GetFixedSize (FieldDescriptor::Type type)
 
std::string google::protobuf::compiler::csharp::UnderscoresToCamelCase (const std::string &input, bool cap_next_letter, bool preserve_period)
 
std::string google::protobuf::compiler::csharp::UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
std::string google::protobuf::compiler::csharp::UnderscoresToPascalCase (const std::string &input)
 
std::string google::protobuf::compiler::csharp::GetEnumValueName (const std::string &enum_name, const std::string &enum_value_name)
 
std::string google::protobuf::compiler::csharp::StringToBase64 (const std::string &input)
 
std::string google::protobuf::compiler::csharp::FileDescriptorToBase64 (const FileDescriptor *descriptor)
 
FieldGeneratorBase * google::protobuf::compiler::csharp::CreateFieldGenerator (const FieldDescriptor *descriptor, int fieldOrdinal, const Options *options)
 
bool google::protobuf::compiler::csharp::IsMapEntryMessage (const Descriptor *descriptor)
 
bool google::protobuf::compiler::csharp::IsDescriptorProto (const FileDescriptor *descriptor)
 
bool google::protobuf::compiler::csharp::IsWrapperType (const FieldDescriptor *descriptor)