#include <cpp_file.h>
|
std::string | CreateHeaderInclude (const std::string &basename, const FileDescriptor *file) |
|
void | DoIncludeFile (const std::string &google3_name, bool do_export, io::Printer *printer) |
|
void | GenerateBottomHeaderGuard (io::Printer *printer, bool pb_h) |
|
void | GenerateDependencyIncludes (io::Printer *printer) |
|
void | GenerateEnumDefinitions (io::Printer *printer) |
|
void | GenerateExtensionIdentifiers (io::Printer *printer) |
|
void | GenerateForwardDeclarations (io::Printer *printer) |
|
void | GenerateGlobalStateFunctionDeclarations (io::Printer *printer) |
|
void | GenerateInitForSCC (const SCC *scc, io::Printer *printer) |
|
void | GenerateInlineFunctionDefinitions (io::Printer *printer) |
|
void | GenerateInternalForwardDeclarations (const CrossFileReferences &refs, io::Printer *printer) |
|
void | GenerateLibraryIncludes (io::Printer *printer) |
|
void | GenerateMacroUndefs (io::Printer *printer) |
|
void | GenerateMessageDefinitions (io::Printer *printer) |
|
void | GenerateMetadataPragma (io::Printer *printer, const std::string &info_path) |
|
void | GenerateProto2NamespaceEnumSpecializations (io::Printer *printer) |
|
void | GenerateReflectionInitializationCode (io::Printer *printer) |
|
void | GenerateServiceDefinitions (io::Printer *printer) |
|
void | GenerateSourceDefaultInstance (int idx, io::Printer *printer) |
|
void | GenerateSourceIncludes (io::Printer *printer) |
|
void | GenerateTables (io::Printer *printer) |
|
void | GenerateTopHeaderGuard (io::Printer *printer, bool pb_h) |
|
void | GetCrossFileReferencesForField (const FieldDescriptor *field, CrossFileReferences *refs) |
|
void | GetCrossFileReferencesForFile (const FileDescriptor *file, CrossFileReferences *refs) |
|
const SCC * | GetSCC (const Descriptor *d) |
|
const Descriptor * | GetSCCRepresentative (const Descriptor *d) |
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (FileGenerator) |
|
void | IncludeFile (const std::string &google3_name, io::Printer *printer) |
|
void | IncludeFileAndExport (const std::string &google3_name, io::Printer *printer) |
|
bool | IsDepWeak (const FileDescriptor *dep) const |
|
bool | IsSCCRepresentative (const Descriptor *d) |
|
Definition at line 68 of file cpp_file.h.
◆ FileGenerator()
google::protobuf::compiler::cpp::FileGenerator::FileGenerator |
( |
const FileDescriptor * |
file, |
|
|
const Options & |
options |
|
) |
| |
◆ ~FileGenerator()
google::protobuf::compiler::cpp::FileGenerator::~FileGenerator |
( |
| ) |
|
|
default |
◆ CreateHeaderInclude()
◆ DoIncludeFile()
void google::protobuf::compiler::cpp::FileGenerator::DoIncludeFile |
( |
const std::string & |
google3_name, |
|
|
bool |
do_export, |
|
|
io::Printer * |
printer |
|
) |
| |
|
private |
◆ GenerateBottomHeaderGuard()
void google::protobuf::compiler::cpp::FileGenerator::GenerateBottomHeaderGuard |
( |
io::Printer * |
printer, |
|
|
bool |
pb_h |
|
) |
| |
|
private |
◆ GenerateDependencyIncludes()
void google::protobuf::compiler::cpp::FileGenerator::GenerateDependencyIncludes |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateEnumDefinitions()
void google::protobuf::compiler::cpp::FileGenerator::GenerateEnumDefinitions |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateExtensionIdentifiers()
void google::protobuf::compiler::cpp::FileGenerator::GenerateExtensionIdentifiers |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateForwardDeclarations()
void google::protobuf::compiler::cpp::FileGenerator::GenerateForwardDeclarations |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateGlobalSource()
void google::protobuf::compiler::cpp::FileGenerator::GenerateGlobalSource |
( |
io::Printer * |
printer | ) |
|
◆ GenerateGlobalStateFunctionDeclarations()
void google::protobuf::compiler::cpp::FileGenerator::GenerateGlobalStateFunctionDeclarations |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateHeader()
void google::protobuf::compiler::cpp::FileGenerator::GenerateHeader |
( |
io::Printer * |
printer | ) |
|
◆ GenerateInitForSCC()
void google::protobuf::compiler::cpp::FileGenerator::GenerateInitForSCC |
( |
const SCC * |
scc, |
|
|
io::Printer * |
printer |
|
) |
| |
|
private |
◆ GenerateInlineFunctionDefinitions()
void google::protobuf::compiler::cpp::FileGenerator::GenerateInlineFunctionDefinitions |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateInternalForwardDeclarations()
◆ GenerateLibraryIncludes()
void google::protobuf::compiler::cpp::FileGenerator::GenerateLibraryIncludes |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateMacroUndefs()
void google::protobuf::compiler::cpp::FileGenerator::GenerateMacroUndefs |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateMessageDefinitions()
void google::protobuf::compiler::cpp::FileGenerator::GenerateMessageDefinitions |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateMetadataPragma()
void google::protobuf::compiler::cpp::FileGenerator::GenerateMetadataPragma |
( |
io::Printer * |
printer, |
|
|
const std::string & |
info_path |
|
) |
| |
|
private |
◆ GeneratePBHeader()
◆ GenerateProto2NamespaceEnumSpecializations()
void google::protobuf::compiler::cpp::FileGenerator::GenerateProto2NamespaceEnumSpecializations |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateProtoHeader()
◆ GenerateReflectionInitializationCode()
void google::protobuf::compiler::cpp::FileGenerator::GenerateReflectionInitializationCode |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateServiceDefinitions()
void google::protobuf::compiler::cpp::FileGenerator::GenerateServiceDefinitions |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateSource()
void google::protobuf::compiler::cpp::FileGenerator::GenerateSource |
( |
io::Printer * |
printer | ) |
|
◆ GenerateSourceDefaultInstance()
void google::protobuf::compiler::cpp::FileGenerator::GenerateSourceDefaultInstance |
( |
int |
idx, |
|
|
io::Printer * |
printer |
|
) |
| |
|
private |
◆ GenerateSourceForMessage()
void google::protobuf::compiler::cpp::FileGenerator::GenerateSourceForMessage |
( |
int |
idx, |
|
|
io::Printer * |
printer |
|
) |
| |
◆ GenerateSourceIncludes()
void google::protobuf::compiler::cpp::FileGenerator::GenerateSourceIncludes |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateTables()
void google::protobuf::compiler::cpp::FileGenerator::GenerateTables |
( |
io::Printer * |
printer | ) |
|
|
private |
◆ GenerateTopHeaderGuard()
void google::protobuf::compiler::cpp::FileGenerator::GenerateTopHeaderGuard |
( |
io::Printer * |
printer, |
|
|
bool |
pb_h |
|
) |
| |
|
private |
◆ GetCrossFileReferencesForField()
◆ GetCrossFileReferencesForFile()
◆ GetSCC()
const SCC* google::protobuf::compiler::cpp::FileGenerator::GetSCC |
( |
const Descriptor * |
d | ) |
|
|
inlineprivate |
◆ GetSCCRepresentative()
const Descriptor* google::protobuf::compiler::cpp::FileGenerator::GetSCCRepresentative |
( |
const Descriptor * |
d | ) |
|
|
inlineprivate |
◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()
google::protobuf::compiler::cpp::FileGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
FileGenerator |
| ) |
|
|
private |
◆ IncludeFile()
◆ IncludeFileAndExport()
void google::protobuf::compiler::cpp::FileGenerator::IncludeFileAndExport |
( |
const std::string & |
google3_name, |
|
|
io::Printer * |
printer |
|
) |
| |
|
inlineprivate |
◆ IsDepWeak()
bool google::protobuf::compiler::cpp::FileGenerator::IsDepWeak |
( |
const FileDescriptor * |
dep | ) |
const |
|
inlineprivate |
◆ IsSCCRepresentative()
bool google::protobuf::compiler::cpp::FileGenerator::IsSCCRepresentative |
( |
const Descriptor * |
d | ) |
|
|
inlineprivate |
◆ NumMessages()
int google::protobuf::compiler::cpp::FileGenerator::NumMessages |
( |
| ) |
const |
|
inline |
◆ enum_generators_
std::vector<std::unique_ptr<EnumGenerator> > google::protobuf::compiler::cpp::FileGenerator::enum_generators_ |
|
private |
◆ extension_generators_
std::vector<std::unique_ptr<ExtensionGenerator> > google::protobuf::compiler::cpp::FileGenerator::extension_generators_ |
|
private |
◆ file_
const FileDescriptor* google::protobuf::compiler::cpp::FileGenerator::file_ |
|
private |
◆ message_generators_
std::vector<std::unique_ptr<MessageGenerator> > google::protobuf::compiler::cpp::FileGenerator::message_generators_ |
|
private |
◆ options_
const Options google::protobuf::compiler::cpp::FileGenerator::options_ |
|
private |
◆ scc_analyzer_
◆ sccs_
std::vector<const SCC*> google::protobuf::compiler::cpp::FileGenerator::sccs_ |
|
private |
◆ service_generators_
std::vector<std::unique_ptr<ServiceGenerator> > google::protobuf::compiler::cpp::FileGenerator::service_generators_ |
|
private |
◆ variables_
◆ weak_deps_
The documentation for this class was generated from the following files: