Classes | Functions
google::protobuf::compiler::ruby Namespace Reference

Classes

class  Generator
 

Functions

std::string DefaultValueForField (const FieldDescriptor *field)
 
void EndPackageModules (int levels, io::Printer *printer)
 
bool GenerateBinaryDescriptor (const FileDescriptor *file, io::Printer *printer, std::string *error)
 
bool GenerateDslDescriptor (const FileDescriptor *file, io::Printer *printer, std::string *error)
 
void GenerateEnum (const EnumDescriptor *en, io::Printer *printer)
 
void GenerateEnumAssignment (const std::string &prefix, const EnumDescriptor *en, io::Printer *printer)
 
void GenerateField (const FieldDescriptor *field, io::Printer *printer)
 
bool GenerateFile (const FileDescriptor *file, io::Printer *printer, std::string *error)
 
bool GenerateFile (const FileDescriptor *file, io::Printer *printer, string *error)
 
bool GenerateMessage (const Descriptor *message, io::Printer *printer, std::string *error)
 
void GenerateMessageAssignment (const std::string &prefix, const Descriptor *message, io::Printer *printer)
 
void GenerateOneof (const OneofDescriptor *oneof, io::Printer *printer)
 
int GeneratePackageModules (const FileDescriptor *file, io::Printer *printer)
 
std::string GetOutputFilename (const std::string &proto_file)
 
std::string GetRequireName (const std::string &proto_file)
 
bool IsAlpha (char ch)
 
bool IsLower (char ch)
 
bool IsUpper (char ch)
 
std::string LabelForField (const FieldDescriptor *field)
 
std::string LabelForField (FieldDescriptor *field)
 
bool MaybeEmitDependency (const FileDescriptor *import, const FileDescriptor *from, io::Printer *printer, string *error)
 
template<class numeric_type >
std::string NumberToString (numeric_type value)
 
std::string PackageToModule (const std::string &name)
 
std::string RubifyConstant (const std::string &name)
 
string StringifySyntax (FileDescriptor::Syntax syntax)
 
std::string TypeName (const FieldDescriptor *field)
 
std::string TypeName (FieldDescriptor *field)
 
char UpperChar (char ch)
 
bool UsesTypeFromFile (const Descriptor *message, const FileDescriptor *file, string *error)
 

Function Documentation

◆ DefaultValueForField()

std::string google::protobuf::compiler::ruby::DefaultValueForField ( const FieldDescriptor field)

◆ EndPackageModules()

void google::protobuf::compiler::ruby::EndPackageModules ( int  levels,
io::Printer printer 
)

◆ GenerateBinaryDescriptor()

bool google::protobuf::compiler::ruby::GenerateBinaryDescriptor ( const FileDescriptor file,
io::Printer printer,
std::string *  error 
)

◆ GenerateDslDescriptor()

bool google::protobuf::compiler::ruby::GenerateDslDescriptor ( const FileDescriptor file,
io::Printer printer,
std::string *  error 
)

◆ GenerateEnum()

void google::protobuf::compiler::ruby::GenerateEnum ( const EnumDescriptor en,
io::Printer printer 
)

◆ GenerateEnumAssignment()

void google::protobuf::compiler::ruby::GenerateEnumAssignment ( const std::string &  prefix,
const EnumDescriptor en,
io::Printer printer 
)

◆ GenerateField()

void google::protobuf::compiler::ruby::GenerateField ( const FieldDescriptor field,
io::Printer printer 
)

◆ GenerateFile() [1/2]

bool google::protobuf::compiler::ruby::GenerateFile ( const FileDescriptor file,
io::Printer printer,
std::string *  error 
)

◆ GenerateFile() [2/2]

bool google::protobuf::compiler::ruby::GenerateFile ( const FileDescriptor file,
io::Printer printer,
string *  error 
)

◆ GenerateMessage()

bool google::protobuf::compiler::ruby::GenerateMessage ( const Descriptor message,
io::Printer printer,
std::string *  error 
)

◆ GenerateMessageAssignment()

void google::protobuf::compiler::ruby::GenerateMessageAssignment ( const std::string &  prefix,
const Descriptor message,
io::Printer printer 
)

◆ GenerateOneof()

void google::protobuf::compiler::ruby::GenerateOneof ( const OneofDescriptor oneof,
io::Printer printer 
)

◆ GeneratePackageModules()

int google::protobuf::compiler::ruby::GeneratePackageModules ( const FileDescriptor file,
io::Printer printer 
)

◆ GetOutputFilename()

std::string google::protobuf::compiler::ruby::GetOutputFilename ( const std::string &  proto_file)

◆ GetRequireName()

std::string google::protobuf::compiler::ruby::GetRequireName ( const std::string &  proto_file)

◆ IsAlpha()

bool google::protobuf::compiler::ruby::IsAlpha ( char  ch)

◆ IsLower()

bool google::protobuf::compiler::ruby::IsLower ( char  ch)

◆ IsUpper()

bool google::protobuf::compiler::ruby::IsUpper ( char  ch)

◆ LabelForField() [1/2]

std::string google::protobuf::compiler::ruby::LabelForField ( const FieldDescriptor field)

◆ LabelForField() [2/2]

std::string google::protobuf::compiler::ruby::LabelForField ( FieldDescriptor field)

◆ MaybeEmitDependency()

bool google::protobuf::compiler::ruby::MaybeEmitDependency ( const FileDescriptor import,
const FileDescriptor from,
io::Printer printer,
string *  error 
)

◆ NumberToString()

template<class numeric_type >
std::string google::protobuf::compiler::ruby::NumberToString ( numeric_type  value)

◆ PackageToModule()

std::string google::protobuf::compiler::ruby::PackageToModule ( const std::string &  name)

◆ RubifyConstant()

std::string google::protobuf::compiler::ruby::RubifyConstant ( const std::string &  name)

◆ StringifySyntax()

std::string google::protobuf::compiler::ruby::StringifySyntax ( FileDescriptor::Syntax  syntax)

◆ TypeName() [1/2]

std::string google::protobuf::compiler::ruby::TypeName ( const FieldDescriptor field)

◆ TypeName() [2/2]

std::string google::protobuf::compiler::ruby::TypeName ( FieldDescriptor field)

◆ UpperChar()

char google::protobuf::compiler::ruby::UpperChar ( char  ch)

◆ UsesTypeFromFile()

bool google::protobuf::compiler::ruby::UsesTypeFromFile ( const Descriptor message,
const FileDescriptor file,
string *  error 
)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:23