#include <descriptor_database.h>
Classes | |
class | DescriptorIndex |
Public Member Functions | |
bool | Add (const FileDescriptorProto &file) |
bool | AddAndOwn (const FileDescriptorProto *file) |
bool | FindAllExtensionNumbers (const std::string &extendee_type, std::vector< int > *output) override |
bool | FindAllFileNames (std::vector< std::string > *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 | FindFileContainingSymbol (const std::string &symbol_name, FileDescriptorProto *output) override |
SimpleDescriptorDatabase () | |
~SimpleDescriptorDatabase () override | |
![]() | |
DescriptorDatabase () | |
bool | FindAllMessageNames (std::vector< std::string > *output) |
bool | FindAllPackageNames (std::vector< std::string > *output) |
virtual | ~DescriptorDatabase () |
Private Member Functions | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (SimpleDescriptorDatabase) | |
bool | MaybeCopy (const FileDescriptorProto *file, FileDescriptorProto *output) |
Private Attributes | |
std::vector< const FileDescriptorProto * > | files_to_delete_ |
DescriptorIndex< const FileDescriptorProto * > | index_ |
Friends | |
class | EncodedDescriptorDatabase |
Definition at line 162 of file src/google/protobuf/descriptor_database.h.
google::protobuf::SimpleDescriptorDatabase::SimpleDescriptorDatabase | ( | ) |
Definition at line 331 of file src/google/protobuf/descriptor_database.cc.
|
override |
Definition at line 332 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::SimpleDescriptorDatabase::Add | ( | const FileDescriptorProto & | file | ) |
Definition at line 336 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::SimpleDescriptorDatabase::AddAndOwn | ( | const FileDescriptorProto * | file | ) |
Definition at line 342 of file src/google/protobuf/descriptor_database.cc.
|
overridevirtual |
Reimplemented from google::protobuf::DescriptorDatabase.
Definition at line 363 of file src/google/protobuf/descriptor_database.cc.
|
overridevirtual |
Reimplemented from google::protobuf::DescriptorDatabase.
Definition at line 369 of file src/google/protobuf/descriptor_database.cc.
|
overridevirtual |
Implements google::protobuf::DescriptorDatabase.
Definition at line 347 of file src/google/protobuf/descriptor_database.cc.
|
overridevirtual |
Implements google::protobuf::DescriptorDatabase.
Definition at line 357 of file src/google/protobuf/descriptor_database.cc.
|
overridevirtual |
Implements google::protobuf::DescriptorDatabase.
Definition at line 352 of file src/google/protobuf/descriptor_database.cc.
|
private |
|
private |
Definition at line 375 of file src/google/protobuf/descriptor_database.cc.
|
friend |
Definition at line 191 of file src/google/protobuf/descriptor_database.h.
|
private |
Definition at line 287 of file src/google/protobuf/descriptor_database.h.
|
private |
Definition at line 286 of file src/google/protobuf/descriptor_database.h.