webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Enumerations | Functions
google::protobuf::compiler::csharp Namespace Reference

Classes

class  EnumFieldGenerator
 
class  EnumGenerator
 
class  EnumOneofFieldGenerator
 
class  FieldGeneratorBase
 
class  Generator
 
class  MapFieldGenerator
 
class  MessageFieldGenerator
 
class  MessageGenerator
 
class  MessageOneofFieldGenerator
 
struct  Options
 
class  PrimitiveFieldGenerator
 
class  PrimitiveOneofFieldGenerator
 
class  ReflectionClassGenerator
 
class  RepeatedEnumFieldGenerator
 
class  RepeatedMessageFieldGenerator
 
class  RepeatedPrimitiveFieldGenerator
 
class  SourceGeneratorBase
 
class  WrapperFieldGenerator
 
class  WrapperOneofFieldGenerator
 

Enumerations

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

Functions

void WriteDocCommentBodyImpl (io::Printer *printer, SourceLocation location)
 
void WriteMessageDocComment (io::Printer *printer, const Descriptor *message)
 
void WritePropertyDocComment (io::Printer *printer, const FieldDescriptor *field)
 
void WriteEnumDocComment (io::Printer *printer, const EnumDescriptor *enumDescriptor)
 
void WriteEnumValueDocComment (io::Printer *printer, const EnumValueDescriptor *value)
 
void WriteMethodDocComment (io::Printer *printer, const MethodDescriptor *method)
 
bool AllPrintableAscii (const std::string &text)
 
void GenerateFile (const google::protobuf::FileDescriptor *file, io::Printer *printer, const Options *options)
 
CSharpType GetCSharpType (FieldDescriptor::Type type)
 
std::string StripDotProto (const std::string &proto_file)
 
std::string GetFileNamespace (const FileDescriptor *descriptor)
 
std::string GetFileNameBase (const FileDescriptor *descriptor)
 
std::string GetReflectionClassUnqualifiedName (const FileDescriptor *descriptor)
 
std::string UnderscoresToCamelCase (const std::string &input, bool cap_next_letter, bool preserve_period)
 
std::string UnderscoresToPascalCase (const std::string &input)
 
std::string ShoutyToPascalCase (const std::string &input)
 
std::string TryRemovePrefix (const std::string &prefix, const std::string &value)
 
std::string GetEnumValueName (const std::string &enum_name, const std::string &enum_value_name)
 
std::string ToCSharpName (const std::string &name, const FileDescriptor *file)
 
std::string GetReflectionClassName (const FileDescriptor *descriptor)
 
std::string GetClassName (const Descriptor *descriptor)
 
std::string GetClassName (const EnumDescriptor *descriptor)
 
std::string GetFieldName (const FieldDescriptor *descriptor)
 
std::string GetFieldConstantName (const FieldDescriptor *field)
 
std::string GetPropertyName (const FieldDescriptor *descriptor)
 
std::string GetOutputFile (const google::protobuf::FileDescriptor *descriptor, const std::string file_extension, const bool generate_directories, const std::string base_namespace, string *error)
 
int GetFixedSize (FieldDescriptor::Type type)
 
std::string StringToBase64 (const std::string &input)
 
std::string FileDescriptorToBase64 (const FileDescriptor *descriptor)
 
FieldGeneratorBaseCreateFieldGenerator (const FieldDescriptor *descriptor, int fieldOrdinal, const Options *options)
 
std::string UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
bool IsMapEntryMessage (const Descriptor *descriptor)
 
bool IsDescriptorProto (const FileDescriptor *descriptor)
 
bool IsWrapperType (const FieldDescriptor *descriptor)
 
bool CompareFieldNumbers (const FieldDescriptor *d1, const FieldDescriptor *d2)
 

Enumeration Type Documentation

◆ CSharpType

Enumerator
CSHARPTYPE_INT32 
CSHARPTYPE_INT64 
CSHARPTYPE_UINT32 
CSHARPTYPE_UINT64 
CSHARPTYPE_FLOAT 
CSHARPTYPE_DOUBLE 
CSHARPTYPE_BOOL 
CSHARPTYPE_STRING 
CSHARPTYPE_BYTESTRING 
CSHARPTYPE_MESSAGE 
CSHARPTYPE_ENUM 
MAX_CSHARPTYPE 

Function Documentation

◆ AllPrintableAscii()

bool google::protobuf::compiler::csharp::AllPrintableAscii ( const std::string text)

◆ CompareFieldNumbers()

bool google::protobuf::compiler::csharp::CompareFieldNumbers ( const FieldDescriptor d1,
const FieldDescriptor d2 
)

◆ CreateFieldGenerator()

FieldGeneratorBase * google::protobuf::compiler::csharp::CreateFieldGenerator ( const FieldDescriptor descriptor,
int  fieldOrdinal,
const Options options 
)

◆ FileDescriptorToBase64()

std::string google::protobuf::compiler::csharp::FileDescriptorToBase64 ( const FileDescriptor descriptor)

◆ GenerateFile()

void google::protobuf::compiler::csharp::GenerateFile ( const google::protobuf::FileDescriptor file,
io::Printer printer,
const Options options 
)

◆ GetClassName() [1/2]

string google::protobuf::compiler::csharp::GetClassName ( const Descriptor descriptor)

◆ GetClassName() [2/2]

std::string google::protobuf::compiler::csharp::GetClassName ( const EnumDescriptor descriptor)

◆ GetCSharpType()

CSharpType google::protobuf::compiler::csharp::GetCSharpType ( FieldDescriptor::Type  type)

◆ GetEnumValueName()

std::string LIBPROTOBUF_EXPORT google::protobuf::compiler::csharp::GetEnumValueName ( const std::string enum_name,
const std::string enum_value_name 
)

◆ GetFieldConstantName()

std::string google::protobuf::compiler::csharp::GetFieldConstantName ( const FieldDescriptor field)

◆ GetFieldName()

std::string google::protobuf::compiler::csharp::GetFieldName ( const FieldDescriptor descriptor)

◆ GetFileNameBase()

std::string google::protobuf::compiler::csharp::GetFileNameBase ( const FileDescriptor descriptor)

◆ GetFileNamespace()

string google::protobuf::compiler::csharp::GetFileNamespace ( const FileDescriptor descriptor)

◆ GetFixedSize()

int google::protobuf::compiler::csharp::GetFixedSize ( FieldDescriptor::Type  type)

◆ GetOutputFile()

string google::protobuf::compiler::csharp::GetOutputFile ( const google::protobuf::FileDescriptor descriptor,
const std::string  file_extension,
const bool  generate_directories,
const std::string  base_namespace,
string error 
)

◆ GetPropertyName()

std::string google::protobuf::compiler::csharp::GetPropertyName ( const FieldDescriptor descriptor)

◆ GetReflectionClassName()

string google::protobuf::compiler::csharp::GetReflectionClassName ( const FileDescriptor descriptor)

◆ GetReflectionClassUnqualifiedName()

std::string google::protobuf::compiler::csharp::GetReflectionClassUnqualifiedName ( const FileDescriptor descriptor)

◆ IsDescriptorProto()

bool google::protobuf::compiler::csharp::IsDescriptorProto ( const FileDescriptor descriptor)
inline

◆ IsMapEntryMessage()

bool google::protobuf::compiler::csharp::IsMapEntryMessage ( const Descriptor descriptor)
inline

◆ IsWrapperType()

bool google::protobuf::compiler::csharp::IsWrapperType ( const FieldDescriptor descriptor)
inline

◆ ShoutyToPascalCase()

std::string google::protobuf::compiler::csharp::ShoutyToPascalCase ( const std::string input)

◆ StringToBase64()

std::string google::protobuf::compiler::csharp::StringToBase64 ( const std::string input)

◆ StripDotProto()

std::string google::protobuf::compiler::csharp::StripDotProto ( const std::string proto_file)

◆ ToCSharpName()

std::string google::protobuf::compiler::csharp::ToCSharpName ( const std::string name,
const FileDescriptor file 
)

◆ TryRemovePrefix()

std::string google::protobuf::compiler::csharp::TryRemovePrefix ( const std::string prefix,
const std::string value 
)

◆ UnderscoresToCamelCase() [1/2]

std::string google::protobuf::compiler::csharp::UnderscoresToCamelCase ( const std::string input,
bool  cap_next_letter 
)
inline

◆ UnderscoresToCamelCase() [2/2]

std::string google::protobuf::compiler::csharp::UnderscoresToCamelCase ( const std::string input,
bool  cap_next_letter,
bool  preserve_period 
)

◆ UnderscoresToPascalCase()

std::string google::protobuf::compiler::csharp::UnderscoresToPascalCase ( const std::string input)

◆ WriteDocCommentBodyImpl()

void google::protobuf::compiler::csharp::WriteDocCommentBodyImpl ( io::Printer printer,
SourceLocation  location 
)

◆ WriteEnumDocComment()

void google::protobuf::compiler::csharp::WriteEnumDocComment ( io::Printer printer,
const EnumDescriptor enumDescriptor 
)

◆ WriteEnumValueDocComment()

void google::protobuf::compiler::csharp::WriteEnumValueDocComment ( io::Printer printer,
const EnumValueDescriptor value 
)

◆ WriteMessageDocComment()

void google::protobuf::compiler::csharp::WriteMessageDocComment ( io::Printer printer,
const Descriptor message 
)

◆ WriteMethodDocComment()

void google::protobuf::compiler::csharp::WriteMethodDocComment ( io::Printer printer,
const MethodDescriptor method 
)

◆ WritePropertyDocComment()

void google::protobuf::compiler::csharp::WritePropertyDocComment ( io::Printer printer,
const FieldDescriptor field 
)