Classes | Public Member Functions | Private Attributes | Friends | List of all members
google::protobuf::compiler::SourceTreeDescriptorDatabase Class Reference

#include <importer.h>

Inheritance diagram for google::protobuf::compiler::SourceTreeDescriptorDatabase:
Inheritance graph
[legend]

Classes

class  SingleFileErrorCollector
 
class  ValidationErrorCollector
 

Public Member Functions

bool FindFileByName (const std::string &filename, FileDescriptorProto *output) override
 
bool FindFileByName (const std::string &filename, FileDescriptorProto *output) override
 
bool FindFileContainingExtension (const std::string &containing_type, int field_number, FileDescriptorProto *output) override
 
bool FindFileContainingExtension (const std::string &containing_type, int field_number, FileDescriptorProto *output) override
 
bool FindFileContainingSymbol (const std::string &symbol_name, FileDescriptorProto *output) override
 
bool FindFileContainingSymbol (const std::string &symbol_name, FileDescriptorProto *output) override
 
DescriptorPool::ErrorCollector * GetValidationErrorCollector ()
 
DescriptorPool::ErrorCollector * GetValidationErrorCollector ()
 
void RecordErrorsTo (MultiFileErrorCollector *error_collector)
 
void RecordErrorsTo (MultiFileErrorCollector *error_collector)
 
 SourceTreeDescriptorDatabase (SourceTree *source_tree)
 
 SourceTreeDescriptorDatabase (SourceTree *source_tree)
 
 SourceTreeDescriptorDatabase (SourceTree *source_tree, DescriptorDatabase *fallback_database)
 
 SourceTreeDescriptorDatabase (SourceTree *source_tree, DescriptorDatabase *fallback_database)
 
 ~SourceTreeDescriptorDatabase ()
 
 ~SourceTreeDescriptorDatabase ()
 
- Public Member Functions inherited from google::protobuf::DescriptorDatabase
 DescriptorDatabase ()
 
 DescriptorDatabase ()
 
virtual bool FindAllExtensionNumbers (const std::string &, std::vector< int > *)
 
virtual bool FindAllExtensionNumbers (const std::string &, std::vector< int > *)
 
virtual bool FindAllFileNames (std::vector< std::string > *)
 
virtual bool FindAllFileNames (std::vector< std::string > *output)
 
bool FindAllMessageNames (std::vector< std::string > *output)
 
bool FindAllMessageNames (std::vector< std::string > *output)
 
bool FindAllPackageNames (std::vector< std::string > *output)
 
bool FindAllPackageNames (std::vector< std::string > *output)
 
virtual ~DescriptorDatabase ()
 
virtual ~DescriptorDatabase ()
 

Private Attributes

MultiFileErrorCollectorerror_collector_
 
DescriptorDatabasefallback_database_
 
SourceLocationTable source_locations_
 
SourceTreesource_tree_
 
bool using_validation_error_collector_
 
ValidationErrorCollector validation_error_collector_
 

Friends

class ValidationErrorCollector
 

Detailed Description

Definition at line 80 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/importer.h.

Constructor & Destructor Documentation

◆ SourceTreeDescriptorDatabase() [1/4]

google::protobuf::compiler::SourceTreeDescriptorDatabase::SourceTreeDescriptorDatabase ( SourceTree source_tree)

◆ SourceTreeDescriptorDatabase() [2/4]

google::protobuf::compiler::SourceTreeDescriptorDatabase::SourceTreeDescriptorDatabase ( SourceTree source_tree,
DescriptorDatabase fallback_database 
)

◆ ~SourceTreeDescriptorDatabase() [1/2]

google::protobuf::compiler::SourceTreeDescriptorDatabase::~SourceTreeDescriptorDatabase ( )

◆ SourceTreeDescriptorDatabase() [3/4]

google::protobuf::compiler::SourceTreeDescriptorDatabase::SourceTreeDescriptorDatabase ( SourceTree source_tree)

◆ SourceTreeDescriptorDatabase() [4/4]

google::protobuf::compiler::SourceTreeDescriptorDatabase::SourceTreeDescriptorDatabase ( SourceTree source_tree,
DescriptorDatabase fallback_database 
)

◆ ~SourceTreeDescriptorDatabase() [2/2]

google::protobuf::compiler::SourceTreeDescriptorDatabase::~SourceTreeDescriptorDatabase ( )

Member Function Documentation

◆ FindFileByName() [1/2]

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileByName ( const std::string &  filename,
FileDescriptorProto output 
)
overridevirtual

◆ FindFileByName() [2/2]

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileByName ( const std::string &  filename,
FileDescriptorProto output 
)
overridevirtual

◆ FindFileContainingExtension() [1/2]

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileContainingExtension ( const std::string &  containing_type,
int  field_number,
FileDescriptorProto output 
)
overridevirtual

◆ FindFileContainingExtension() [2/2]

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileContainingExtension ( const std::string &  containing_type,
int  field_number,
FileDescriptorProto output 
)
overridevirtual

◆ FindFileContainingSymbol() [1/2]

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileContainingSymbol ( const std::string &  symbol_name,
FileDescriptorProto output 
)
overridevirtual

◆ FindFileContainingSymbol() [2/2]

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileContainingSymbol ( const std::string &  symbol_name,
FileDescriptorProto output 
)
overridevirtual

◆ GetValidationErrorCollector() [1/2]

DescriptorPool::ErrorCollector* google::protobuf::compiler::SourceTreeDescriptorDatabase::GetValidationErrorCollector ( )
inline

◆ GetValidationErrorCollector() [2/2]

DescriptorPool::ErrorCollector* google::protobuf::compiler::SourceTreeDescriptorDatabase::GetValidationErrorCollector ( )
inline

◆ RecordErrorsTo() [1/2]

void google::protobuf::compiler::SourceTreeDescriptorDatabase::RecordErrorsTo ( MultiFileErrorCollector error_collector)
inline

◆ RecordErrorsTo() [2/2]

void google::protobuf::compiler::SourceTreeDescriptorDatabase::RecordErrorsTo ( MultiFileErrorCollector error_collector)
inline

Friends And Related Function Documentation

◆ ValidationErrorCollector

Member Data Documentation

◆ error_collector_

MultiFileErrorCollector * google::protobuf::compiler::SourceTreeDescriptorDatabase::error_collector_
private

◆ fallback_database_

DescriptorDatabase * google::protobuf::compiler::SourceTreeDescriptorDatabase::fallback_database_
private

◆ source_locations_

SourceLocationTable google::protobuf::compiler::SourceTreeDescriptorDatabase::source_locations_
private

◆ source_tree_

SourceTree * google::protobuf::compiler::SourceTreeDescriptorDatabase::source_tree_
private

◆ using_validation_error_collector_

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::using_validation_error_collector_
private

◆ validation_error_collector_

ValidationErrorCollector google::protobuf::compiler::SourceTreeDescriptorDatabase::validation_error_collector_
private

The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:03:48