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

Constructor & Destructor Documentation

◆ SourceTreeDescriptorDatabase() [1/2]

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

Definition at line 119 of file importer.cc.

◆ SourceTreeDescriptorDatabase() [2/2]

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

Definition at line 127 of file importer.cc.

◆ ~SourceTreeDescriptorDatabase()

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

Definition at line 135 of file importer.cc.

Member Function Documentation

◆ FindFileByName()

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

Implements google::protobuf::DescriptorDatabase.

Definition at line 137 of file importer.cc.

◆ FindFileContainingExtension()

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

Implements google::protobuf::DescriptorDatabase.

Definition at line 174 of file importer.cc.

◆ FindFileContainingSymbol()

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

Implements google::protobuf::DescriptorDatabase.

Definition at line 169 of file importer.cc.

◆ GetValidationErrorCollector()

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

Definition at line 102 of file importer.h.

◆ RecordErrorsTo()

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

Definition at line 94 of file importer.h.

Friends And Related Function Documentation

◆ ValidationErrorCollector

friend class ValidationErrorCollector
friend

Definition at line 142 of file importer.h.

Member Data Documentation

◆ error_collector_

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

Definition at line 121 of file importer.h.

◆ fallback_database_

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

Definition at line 120 of file importer.h.

◆ source_locations_

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

Definition at line 145 of file importer.h.

◆ source_tree_

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

Definition at line 117 of file importer.h.

◆ using_validation_error_collector_

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

Definition at line 144 of file importer.h.

◆ validation_error_collector_

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

Definition at line 146 of file importer.h.


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


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