Namespaces | Classes | Typedefs | Functions | Variables
google::protobuf::compiler Namespace Reference

Namespaces

 annotation_test_util
 
 cpp
 
 csharp
 
 java
 
 js
 
 objectivec
 
 php
 
 python
 
 ruby
 

Classes

class  CodeGenerator
 
class  CommandLineInterface
 
class  DiskSourceTree
 
class  GeneratorContext
 
class  GeneratorResponseContext
 
class  GoGoProtoGenerator
 
class  Importer
 
class  MockCodeGenerator
 
class  MultiFileErrorCollector
 
class  Parser
 
class  Proto2ToProto3Generator
 
struct  SCC
 
class  SCCAnalyzer
 
class  SourceLocationTable
 
class  SourceTree
 
class  SourceTreeDescriptorDatabase
 
class  Subprocess
 
class  ZipWriter
 

Typedefs

typedef GeneratorContext OutputDirectory
 

Functions

static bool ApplyMapping (const std::string &filename, const std::string &old_prefix, const std::string &new_prefix, std::string *result)
 
static std::string CanonicalizePath (std::string path)
 
std::string CommaSeparatedList (const std::vector< const FileDescriptor * > &all_files)
 
static uint32 ComputeCRC32 (const std::string &buf)
 
static bool ContainsParentReference (const std::string &path)
 
bool GenerateCode (const CodeGeneratorRequest &request, const CodeGenerator &generator, CodeGeneratorResponse *response, std::string *error_msg)
 
static bool IsWindowsAbsolutePath (const std::string &text)
 
static char LastChar (const std::string &str)
 
void ParseGeneratorParameter (const std::string &text, std::vector< std::pair< std::string, std::string > > *output)
 
int PluginMain (int argc, char *argv[], const CodeGenerator *generator)
 
int ProtobufMain (int argc, char *argv[])
 
static void WriteShort (io::CodedOutputStream *out, uint16 val)
 

Variables

static const uint32 kCRC32Table [256]
 
static const uint16 kDosEpoch = 1 << 5 | 1
 
static const char * kFirstInsertionPoint
 
static const char * kFirstInsertionPointName = "first_mock_insertion_point"
 
static const char * kSecondInsertionPoint
 
static const char * kSecondInsertionPointName = "second_mock_insertion_point"
 

Typedef Documentation

◆ OutputDirectory

Definition at line 165 of file code_generator.h.

Function Documentation

◆ ApplyMapping()

static bool google::protobuf::compiler::ApplyMapping ( const std::string filename,
const std::string old_prefix,
const std::string new_prefix,
std::string result 
)
static

Definition at line 337 of file importer.cc.

◆ CanonicalizePath()

static std::string google::protobuf::compiler::CanonicalizePath ( std::string  path)
static

Definition at line 279 of file importer.cc.

◆ CommaSeparatedList()

std::string google::protobuf::compiler::CommaSeparatedList ( const std::vector< const FileDescriptor * > &  all_files)

Definition at line 70 of file mock_code_generator.cc.

◆ ComputeCRC32()

static uint32 google::protobuf::compiler::ComputeCRC32 ( const std::string buf)
static

Definition at line 122 of file zip_writer.cc.

◆ ContainsParentReference()

static bool google::protobuf::compiler::ContainsParentReference ( const std::string path)
inlinestatic

Definition at line 315 of file importer.cc.

◆ GenerateCode()

bool google::protobuf::compiler::GenerateCode ( const CodeGeneratorRequest &  request,
const CodeGenerator generator,
CodeGeneratorResponse *  response,
std::string error_msg 
)

Definition at line 103 of file plugin.cc.

◆ IsWindowsAbsolutePath()

static bool google::protobuf::compiler::IsWindowsAbsolutePath ( const std::string text)
static

Definition at line 76 of file importer.cc.

◆ LastChar()

static char google::protobuf::compiler::LastChar ( const std::string str)
inlinestatic

Definition at line 256 of file importer.cc.

◆ ParseGeneratorParameter()

PROTOC_EXPORT void google::protobuf::compiler::ParseGeneratorParameter ( const std::string text,
std::vector< std::pair< std::string, std::string > > *  output 
)

Definition at line 101 of file code_generator.cc.

◆ PluginMain()

PROTOC_EXPORT int google::protobuf::compiler::PluginMain ( int  argc,
char *  argv[],
const CodeGenerator generator 
)

Definition at line 147 of file plugin.cc.

◆ ProtobufMain()

int google::protobuf::compiler::ProtobufMain ( int  argc,
char *  argv[] 
)

◆ WriteShort()

static void google::protobuf::compiler::WriteShort ( io::CodedOutputStream out,
uint16  val 
)
static

Definition at line 131 of file zip_writer.cc.

Variable Documentation

◆ kCRC32Table

const uint32 google::protobuf::compiler::kCRC32Table[256]
static

Definition at line 77 of file zip_writer.cc.

◆ kDosEpoch

const uint16 google::protobuf::compiler::kDosEpoch = 1 << 5 | 1
static

Definition at line 75 of file zip_writer.cc.

◆ kFirstInsertionPoint

const char* google::protobuf::compiler::kFirstInsertionPoint
static
Initial value:
=
"# @@protoc_insertion_point(first_mock_insertion_point) is here\n"

Definition at line 81 of file mock_code_generator.cc.

◆ kFirstInsertionPointName

const char* google::protobuf::compiler::kFirstInsertionPointName = "first_mock_insertion_point"
static

Definition at line 79 of file mock_code_generator.cc.

◆ kSecondInsertionPoint

const char* google::protobuf::compiler::kSecondInsertionPoint
static
Initial value:
=
" # @@protoc_insertion_point(second_mock_insertion_point) is here\n"

Definition at line 83 of file mock_code_generator.cc.

◆ kSecondInsertionPointName

const char* google::protobuf::compiler::kSecondInsertionPointName = "second_mock_insertion_point"
static

Definition at line 80 of file mock_code_generator.cc.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09