Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value > Class Template Reference

Public Member Functions

bool AddExtension (const std::string &filename, const FieldDescriptorProto &field, Value value)
 
bool AddExtension (const std::string &filename, const FieldDescriptorProto &field, Value value)
 
bool AddFile (const FileDescriptorProto &file, Value value)
 
bool AddFile (const FileDescriptorProto &file, Value value)
 
bool AddNestedExtensions (const std::string &filename, const DescriptorProto &message_type, Value value)
 
bool AddNestedExtensions (const std::string &filename, const DescriptorProto &message_type, Value value)
 
bool AddSymbol (const std::string &name, Value value)
 
bool AddSymbol (const std::string &name, Value value)
 
bool FindAllExtensionNumbers (const std::string &containing_type, std::vector< int > *output)
 
bool FindAllExtensionNumbers (const std::string &containing_type, std::vector< int > *output)
 
void FindAllFileNames (std::vector< std::string > *output)
 
void FindAllFileNames (std::vector< std::string > *output)
 
Value FindExtension (const std::string &containing_type, int field_number)
 
Value FindExtension (const std::string &containing_type, int field_number)
 
Value FindFile (const std::string &filename)
 
Value FindFile (const std::string &filename)
 
Value FindSymbol (const std::string &name)
 
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 >, Valueby_extension_
 
std::map< std::string, Valueby_name_
 
std::map< std::string, Valueby_symbol_
 

Detailed Description

template<typename Value>
class google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >

Definition at line 196 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor_database.h.

Member Function Documentation

◆ AddExtension() [1/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddExtension ( const std::string &  filename,
const FieldDescriptorProto field,
Value  value 
)

◆ AddExtension() [2/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddExtension ( const std::string &  filename,
const FieldDescriptorProto field,
Value  value 
)

◆ AddFile() [1/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddFile ( const FileDescriptorProto file,
Value  value 
)

◆ AddFile() [2/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddFile ( const FileDescriptorProto file,
Value  value 
)

◆ AddNestedExtensions() [1/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddNestedExtensions ( const std::string &  filename,
const DescriptorProto message_type,
Value  value 
)

◆ AddNestedExtensions() [2/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddNestedExtensions ( const std::string &  filename,
const DescriptorProto message_type,
Value  value 
)

◆ AddSymbol() [1/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddSymbol ( const std::string &  name,
Value  value 
)

◆ AddSymbol() [2/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::AddSymbol ( const std::string &  name,
Value  value 
)

◆ FindAllExtensionNumbers() [1/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindAllExtensionNumbers ( const std::string &  containing_type,
std::vector< int > *  output 
)

◆ FindAllExtensionNumbers() [2/2]

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindAllExtensionNumbers ( const std::string &  containing_type,
std::vector< int > *  output 
)

◆ FindAllFileNames() [1/2]

template<typename Value >
void google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindAllFileNames ( std::vector< std::string > *  output)

◆ FindAllFileNames() [2/2]

template<typename Value >
void google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindAllFileNames ( std::vector< std::string > *  output)

◆ FindExtension() [1/2]

template<typename Value >
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindExtension ( const std::string &  containing_type,
int  field_number 
)

◆ FindExtension() [2/2]

template<typename Value >
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindExtension ( const std::string &  containing_type,
int  field_number 
)

◆ FindFile() [1/2]

template<typename Value >
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindFile ( const std::string &  filename)

◆ FindFile() [2/2]

template<typename Value >
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindFile ( const std::string &  filename)

◆ FindLastLessOrEqual()

template<typename Value >
std::map< std::string, Value >::iterator google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindLastLessOrEqual ( const std::string &  name)
private

◆ FindSymbol() [1/2]

template<typename Value >
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindSymbol ( const std::string &  name)

◆ FindSymbol() [2/2]

template<typename Value >
Value google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::FindSymbol ( const std::string &  name)

◆ IsSubSymbol()

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::IsSubSymbol ( const std::string &  sub_symbol,
const std::string &  super_symbol 
)
private

◆ ValidateSymbolName()

template<typename Value >
bool google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::ValidateSymbolName ( const std::string &  name)
private

Member Data Documentation

◆ by_extension_

template<typename Value >
std::map< std::pair< std::string, int >, Value > google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::by_extension_
private

◆ by_name_

template<typename Value >
std::map< std::string, Value > google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::by_name_
private

◆ by_symbol_

template<typename Value >
std::map< std::string, Value > google::protobuf::SimpleDescriptorDatabase::DescriptorIndex< Value >::by_symbol_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:21