TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::compiler::SourceTreeDescriptorDatabase Class Reference

#include <importer.h>

Classes

class  ValidationErrorCollector
 

Public Member Functions

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

Private Attributes

SourceTreesource_tree_
 
MultiFileErrorCollectorerror_collector_
 
bool using_validation_error_collector_
 
SourceLocationTable source_locations_
 
ValidationErrorCollector validation_error_collector_
 

Friends

class ValidationErrorCollector
 

Constructor & Destructor Documentation

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

Member Function Documentation

bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileByName ( const string &  filename,
FileDescriptorProto output 
)
virtual
bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileContainingExtension ( const string &  containing_type,
int  field_number,
FileDescriptorProto output 
)
virtual
bool google::protobuf::compiler::SourceTreeDescriptorDatabase::FindFileContainingSymbol ( const string &  symbol_name,
FileDescriptorProto output 
)
virtual
DescriptorPool::ErrorCollector* google::protobuf::compiler::SourceTreeDescriptorDatabase::GetValidationErrorCollector ( )
inline
93  {
96  }
ValidationErrorCollector validation_error_collector_
Definition: importer.h:131
bool using_validation_error_collector_
Definition: importer.h:129
void google::protobuf::compiler::SourceTreeDescriptorDatabase::RecordErrorsTo ( MultiFileErrorCollector error_collector)
inline
85  {
86  error_collector_ = error_collector;
87  }
MultiFileErrorCollector * error_collector_
Definition: importer.h:110

Friends And Related Function Documentation

friend class ValidationErrorCollector
friend

Member Data Documentation

MultiFileErrorCollector* google::protobuf::compiler::SourceTreeDescriptorDatabase::error_collector_
private
SourceLocationTable google::protobuf::compiler::SourceTreeDescriptorDatabase::source_locations_
private
SourceTree* google::protobuf::compiler::SourceTreeDescriptorDatabase::source_tree_
private
bool google::protobuf::compiler::SourceTreeDescriptorDatabase::using_validation_error_collector_
private
ValidationErrorCollector google::protobuf::compiler::SourceTreeDescriptorDatabase::validation_error_collector_
private

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