#include <descriptor_database.h>
Public Member Functions | |
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 bool | FindFileByName (const std::string &filename, FileDescriptorProto *output)=0 |
virtual bool | FindFileContainingExtension (const std::string &containing_type, int field_number, FileDescriptorProto *output)=0 |
virtual bool | FindFileContainingSymbol (const std::string &symbol_name, FileDescriptorProto *output)=0 |
virtual | ~DescriptorDatabase () |
Private Member Functions | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DescriptorDatabase) | |
Definition at line 71 of file src/google/protobuf/descriptor_database.h.
|
inline |
Definition at line 73 of file src/google/protobuf/descriptor_database.h.
|
virtual |
Definition at line 92 of file src/google/protobuf/descriptor_database.cc.
|
inlinevirtual |
Reimplemented in google::protobuf::MergedDescriptorDatabase, google::protobuf::DescriptorPoolDatabase, google::protobuf::EncodedDescriptorDatabase, and google::protobuf::SimpleDescriptorDatabase.
Definition at line 105 of file src/google/protobuf/descriptor_database.h.
|
inlinevirtual |
Reimplemented in google::protobuf::EncodedDescriptorDatabase, and google::protobuf::SimpleDescriptorDatabase.
Definition at line 119 of file src/google/protobuf/descriptor_database.h.
bool google::protobuf::DescriptorDatabase::FindAllMessageNames | ( | std::vector< std::string > * | output | ) |
Definition at line 103 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::DescriptorDatabase::FindAllPackageNames | ( | std::vector< std::string > * | output | ) |
Definition at line 94 of file src/google/protobuf/descriptor_database.cc.
|
pure virtual |
Implemented in google::protobuf::MergedDescriptorDatabase, google::protobuf::DescriptorPoolDatabase, google::protobuf::EncodedDescriptorDatabase, google::protobuf::SimpleDescriptorDatabase, google::protobuf::compiler::SourceTreeDescriptorDatabase, google::protobuf::descriptor_unittest::ExponentialErrorDatabase, google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase, google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase, and google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase.
|
pure virtual |
Implemented in google::protobuf::MergedDescriptorDatabase, google::protobuf::DescriptorPoolDatabase, google::protobuf::EncodedDescriptorDatabase, google::protobuf::SimpleDescriptorDatabase, google::protobuf::compiler::SourceTreeDescriptorDatabase, google::protobuf::descriptor_unittest::ExponentialErrorDatabase, google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase, google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase, and google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase.
|
pure virtual |
Implemented in google::protobuf::MergedDescriptorDatabase, google::protobuf::DescriptorPoolDatabase, google::protobuf::EncodedDescriptorDatabase, google::protobuf::SimpleDescriptorDatabase, google::protobuf::compiler::SourceTreeDescriptorDatabase, google::protobuf::descriptor_unittest::ExponentialErrorDatabase, google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase, google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase, and google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase.
|
private |