Public Member Functions | |
bool | AddExtension (const std::string &filename, const FieldDescriptorProto &field, Value value) |
bool | AddFile (const FileDescriptorProto &file, Value value) |
bool | AddNestedExtensions (const std::string &filename, const DescriptorProto &message_type, Value value) |
bool | AddSymbol (const std::string &name, Value value) |
bool | FindAllExtensionNumbers (const std::string &containing_type, std::vector< int > *output) |
void | FindAllFileNames (std::vector< std::string > *output) |
Value | FindExtension (const std::string &containing_type, int field_number) |
Value | FindFile (const std::string &filename) |
Value | FindSymbol (const std::string &name) |
Private Member Functions | |
std::map< std::string, Value >::iterator | FindLastLessOrEqual (const std::string &name) |
bool | IsSubSymbol (const std::string &sub_symbol, const std::string &super_symbol) |
bool | ValidateSymbolName (const std::string &name) |
Private Attributes | |
std::map< std::pair< std::string, int >, Value > | by_extension_ |
std::map< std::string, Value > | by_name_ |
std::map< std::string, Value > | by_symbol_ |
Definition at line 196 of file src/google/protobuf/descriptor_database.h.
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddExtension | ( | const std::string & | filename, |
const FieldDescriptorProto & | field, | ||
Value | value | ||
) |
Definition at line 220 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddFile | ( | const FileDescriptorProto & | file, |
Value | value | ||
) |
Definition at line 115 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddNestedExtensions | ( | const std::string & | filename, |
const DescriptorProto & | message_type, | ||
Value | value | ||
) |
Definition at line 206 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddSymbol | ( | const std::string & | name, |
Value | value | ||
) |
Definition at line 148 of file src/google/protobuf/descriptor_database.cc.
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindAllExtensionNumbers | ( | const std::string & | containing_type, |
std::vector< int > * | output | ||
) |
Definition at line 269 of file src/google/protobuf/descriptor_database.cc.
void google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindAllFileNames | ( | std::vector< std::string > * | output | ) |
Definition at line 285 of file src/google/protobuf/descriptor_database.cc.
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindExtension | ( | const std::string & | containing_type, |
int | field_number | ||
) |
Definition at line 262 of file src/google/protobuf/descriptor_database.cc.
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindFile | ( | const std::string & | filename | ) |
Definition at line 245 of file src/google/protobuf/descriptor_database.cc.
|
private |
Definition at line 297 of file src/google/protobuf/descriptor_database.cc.
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindSymbol | ( | const std::string & | name | ) |
Definition at line 251 of file src/google/protobuf/descriptor_database.cc.
|
private |
Definition at line 309 of file src/google/protobuf/descriptor_database.cc.
|
private |
Definition at line 317 of file src/google/protobuf/descriptor_database.cc.
|
private |
Definition at line 217 of file src/google/protobuf/descriptor_database.h.
|
private |
Definition at line 215 of file src/google/protobuf/descriptor_database.h.
|
private |
Definition at line 216 of file src/google/protobuf/descriptor_database.h.