Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
google::protobuf::FileDescriptorTables Class Reference

Public Member Functions

bool AddAliasUnderParent (const void *parent, const std::string &name, Symbol symbol)
 
bool AddAliasUnderParent (const void *parent, const std::string &name, Symbol symbol)
 
bool AddEnumValueByNumber (const EnumValueDescriptor *value)
 
bool AddEnumValueByNumber (EnumValueDescriptor *value)
 
bool AddFieldByNumber (const FieldDescriptor *field)
 
bool AddFieldByNumber (FieldDescriptor *field)
 
void AddFieldByStylizedNames (const FieldDescriptor *field)
 
void AddFieldByStylizedNames (const FieldDescriptor *field)
 
 FileDescriptorTables ()
 
 FileDescriptorTables ()
 
void FinalizeTables ()
 
void FinalizeTables ()
 
const EnumValueDescriptorFindEnumValueByNumber (const EnumDescriptor *parent, int number) const
 
const EnumValueDescriptorFindEnumValueByNumber (const EnumDescriptor *parent, int number) const
 
const EnumValueDescriptorFindEnumValueByNumberCreatingIfUnknown (const EnumDescriptor *parent, int number) const
 
const EnumValueDescriptorFindEnumValueByNumberCreatingIfUnknown (const EnumDescriptor *parent, int number) const
 
const FieldDescriptorFindFieldByCamelcaseName (const void *parent, const std::string &camelcase_name) const
 
const FieldDescriptorFindFieldByCamelcaseName (const void *parent, StringPiece camelcase_name) const
 
const FieldDescriptorFindFieldByLowercaseName (const void *parent, const std::string &lowercase_name) const
 
const FieldDescriptorFindFieldByLowercaseName (const void *parent, StringPiece lowercase_name) const
 
const FieldDescriptorFindFieldByNumber (const Descriptor *parent, int number) const
 
const FieldDescriptorFindFieldByNumber (const Descriptor *parent, int number) const
 
Symbol FindNestedSymbol (const void *parent, const std::string &name) const
 
Symbol FindNestedSymbol (const void *parent, StringPiece name) const
 
Symbol FindNestedSymbolOfType (const void *parent, const std::string &name, const Symbol::Type type) const
 
const SourceCodeInfo_LocationGetSourceLocation (const std::vector< int > &path, const SourceCodeInfo *info) const
 
const SourceCodeInfo_LocationGetSourceLocation (const std::vector< int > &path, const SourceCodeInfo *info) const
 
 ~FileDescriptorTables ()
 
 ~FileDescriptorTables ()
 

Static Public Member Functions

static void BuildLocationsByPath (std::pair< const FileDescriptorTables *, const SourceCodeInfo * > *p)
 
static void BuildLocationsByPath (std::pair< const FileDescriptorTables *, const SourceCodeInfo * > *p)
 
static const FileDescriptorTablesGetEmptyInstance ()
 
static const FileDescriptorTablesGetEmptyInstance ()
 

Private Member Functions

void FieldsByCamelcaseNamesLazyInitInternal () const
 
void FieldsByCamelcaseNamesLazyInitInternal () const
 
void FieldsByLowercaseNamesLazyInitInternal () const
 
void FieldsByLowercaseNamesLazyInitInternal () const
 
const void * FindParentForFieldsByMap (const FieldDescriptor *field) const
 
const void * FindParentForFieldsByMap (const FieldDescriptor *field) const
 
EnumValuesByNumberMap unknown_enum_values_by_number_ PROTOBUF_GUARDED_BY (unknown_enum_values_mu_)
 
EnumValuesByNumberSet unknown_enum_values_by_number_ PROTOBUF_GUARDED_BY (unknown_enum_values_mu_)
 

Static Private Member Functions

static void FieldsByCamelcaseNamesLazyInitStatic (const FileDescriptorTables *tables)
 
static void FieldsByCamelcaseNamesLazyInitStatic (const FileDescriptorTables *tables)
 
static void FieldsByLowercaseNamesLazyInitStatic (const FileDescriptorTables *tables)
 
static void FieldsByLowercaseNamesLazyInitStatic (const FileDescriptorTables *tables)
 

Private Attributes

EnumValuesByNumberMap enum_values_by_number_
 
EnumValuesByNumberSet enum_values_by_number_
 
FieldsByNameMap fields_by_camelcase_name_
 
internal::once_flag fields_by_camelcase_name_once_
 
std::unique_ptr< FieldsByNameMap > fields_by_camelcase_name_tmp_
 
FieldsByNameMap fields_by_lowercase_name_
 
internal::once_flag fields_by_lowercase_name_once_
 
std::unique_ptr< FieldsByNameMap > fields_by_lowercase_name_tmp_
 
FieldsByNumberMap fields_by_number_
 
FieldsByNumberSet fields_by_number_
 
LocationsByPathMap locations_by_path_
 
internal::once_flag locations_by_path_once_
 
SymbolsByParentMap symbols_by_parent_
 
SymbolsByParentSet symbols_by_parent_
 
internal::WrappedMutex unknown_enum_values_mu_
 

Detailed Description

Definition at line 703 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.

Constructor & Destructor Documentation

◆ FileDescriptorTables() [1/2]

google::protobuf::FileDescriptorTables::FileDescriptorTables ( )

◆ ~FileDescriptorTables() [1/2]

google::protobuf::FileDescriptorTables::~FileDescriptorTables ( )

◆ FileDescriptorTables() [2/2]

google::protobuf::FileDescriptorTables::FileDescriptorTables ( )

◆ ~FileDescriptorTables() [2/2]

google::protobuf::FileDescriptorTables::~FileDescriptorTables ( )

Member Function Documentation

◆ AddAliasUnderParent() [1/2]

bool google::protobuf::FileDescriptorTables::AddAliasUnderParent ( const void *  parent,
const std::string &  name,
Symbol  symbol 
)

◆ AddAliasUnderParent() [2/2]

bool google::protobuf::FileDescriptorTables::AddAliasUnderParent ( const void *  parent,
const std::string &  name,
Symbol  symbol 
)

◆ AddEnumValueByNumber() [1/2]

bool google::protobuf::FileDescriptorTables::AddEnumValueByNumber ( const EnumValueDescriptor value)

◆ AddEnumValueByNumber() [2/2]

bool google::protobuf::FileDescriptorTables::AddEnumValueByNumber ( EnumValueDescriptor value)

Definition at line 1733 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AddFieldByNumber() [1/2]

bool google::protobuf::FileDescriptorTables::AddFieldByNumber ( const FieldDescriptor field)

◆ AddFieldByNumber() [2/2]

bool google::protobuf::FileDescriptorTables::AddFieldByNumber ( FieldDescriptor field)

Definition at line 1717 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AddFieldByStylizedNames() [1/2]

void google::protobuf::FileDescriptorTables::AddFieldByStylizedNames ( const FieldDescriptor field)

◆ AddFieldByStylizedNames() [2/2]

void google::protobuf::FileDescriptorTables::AddFieldByStylizedNames ( const FieldDescriptor field)

◆ BuildLocationsByPath() [1/2]

void google::protobuf::FileDescriptorTables::BuildLocationsByPath ( std::pair< const FileDescriptorTables *, const SourceCodeInfo * > *  p)
static

◆ BuildLocationsByPath() [2/2]

static void google::protobuf::FileDescriptorTables::BuildLocationsByPath ( std::pair< const FileDescriptorTables *, const SourceCodeInfo * > *  p)
static

◆ FieldsByCamelcaseNamesLazyInitInternal() [1/2]

void google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal ( ) const
private

◆ FieldsByCamelcaseNamesLazyInitInternal() [2/2]

void google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal ( ) const
private

◆ FieldsByCamelcaseNamesLazyInitStatic() [1/2]

void google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitStatic ( const FileDescriptorTables tables)
staticprivate

◆ FieldsByCamelcaseNamesLazyInitStatic() [2/2]

static void google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitStatic ( const FileDescriptorTables tables)
staticprivate

◆ FieldsByLowercaseNamesLazyInitInternal() [1/2]

void google::protobuf::FileDescriptorTables::FieldsByLowercaseNamesLazyInitInternal ( ) const
private

◆ FieldsByLowercaseNamesLazyInitInternal() [2/2]

void google::protobuf::FileDescriptorTables::FieldsByLowercaseNamesLazyInitInternal ( ) const
private

◆ FieldsByLowercaseNamesLazyInitStatic() [1/2]

void google::protobuf::FileDescriptorTables::FieldsByLowercaseNamesLazyInitStatic ( const FileDescriptorTables tables)
staticprivate

◆ FieldsByLowercaseNamesLazyInitStatic() [2/2]

static void google::protobuf::FileDescriptorTables::FieldsByLowercaseNamesLazyInitStatic ( const FileDescriptorTables tables)
staticprivate

◆ FinalizeTables() [1/2]

void google::protobuf::FileDescriptorTables::FinalizeTables ( )

◆ FinalizeTables() [2/2]

void google::protobuf::FileDescriptorTables::FinalizeTables ( )

◆ FindEnumValueByNumber() [1/2]

const EnumValueDescriptor * google::protobuf::FileDescriptorTables::FindEnumValueByNumber ( const EnumDescriptor parent,
int  number 
) const
inline

◆ FindEnumValueByNumber() [2/2]

const EnumValueDescriptor* google::protobuf::FileDescriptorTables::FindEnumValueByNumber ( const EnumDescriptor parent,
int  number 
) const
inline

◆ FindEnumValueByNumberCreatingIfUnknown() [1/2]

const EnumValueDescriptor * google::protobuf::FileDescriptorTables::FindEnumValueByNumberCreatingIfUnknown ( const EnumDescriptor parent,
int  number 
) const
inline

◆ FindEnumValueByNumberCreatingIfUnknown() [2/2]

const EnumValueDescriptor* google::protobuf::FileDescriptorTables::FindEnumValueByNumberCreatingIfUnknown ( const EnumDescriptor parent,
int  number 
) const
inline

◆ FindFieldByCamelcaseName() [1/2]

const FieldDescriptor * google::protobuf::FileDescriptorTables::FindFieldByCamelcaseName ( const void *  parent,
const std::string &  camelcase_name 
) const
inline

◆ FindFieldByCamelcaseName() [2/2]

const FieldDescriptor * google::protobuf::FileDescriptorTables::FindFieldByCamelcaseName ( const void *  parent,
StringPiece  camelcase_name 
) const
inline

Definition at line 1551 of file protobuf/src/google/protobuf/descriptor.cc.

◆ FindFieldByLowercaseName() [1/2]

const FieldDescriptor * google::protobuf::FileDescriptorTables::FindFieldByLowercaseName ( const void *  parent,
const std::string &  lowercase_name 
) const
inline

◆ FindFieldByLowercaseName() [2/2]

const FieldDescriptor * google::protobuf::FileDescriptorTables::FindFieldByLowercaseName ( const void *  parent,
StringPiece  lowercase_name 
) const
inline

Definition at line 1527 of file protobuf/src/google/protobuf/descriptor.cc.

◆ FindFieldByNumber() [1/2]

const FieldDescriptor * google::protobuf::FileDescriptorTables::FindFieldByNumber ( const Descriptor parent,
int  number 
) const
inline

◆ FindFieldByNumber() [2/2]

const FieldDescriptor* google::protobuf::FileDescriptorTables::FindFieldByNumber ( const Descriptor parent,
int  number 
) const
inline

◆ FindNestedSymbol() [1/2]

Symbol google::protobuf::FileDescriptorTables::FindNestedSymbol ( const void *  parent,
const std::string &  name 
) const
inline

◆ FindNestedSymbol() [2/2]

Symbol google::protobuf::FileDescriptorTables::FindNestedSymbol ( const void *  parent,
StringPiece  name 
) const
inline

Definition at line 1436 of file protobuf/src/google/protobuf/descriptor.cc.

◆ FindNestedSymbolOfType()

Symbol google::protobuf::FileDescriptorTables::FindNestedSymbolOfType ( const void *  parent,
const std::string &  name,
const Symbol::Type  type 
) const
inline

◆ FindParentForFieldsByMap() [1/2]

const void * google::protobuf::FileDescriptorTables::FindParentForFieldsByMap ( const FieldDescriptor field) const
private

◆ FindParentForFieldsByMap() [2/2]

const void* google::protobuf::FileDescriptorTables::FindParentForFieldsByMap ( const FieldDescriptor field) const
private

◆ GetEmptyInstance() [1/2]

const FileDescriptorTables & google::protobuf::FileDescriptorTables::GetEmptyInstance ( )
inlinestatic

◆ GetEmptyInstance() [2/2]

static const FileDescriptorTables& google::protobuf::FileDescriptorTables::GetEmptyInstance ( )
inlinestatic

◆ GetSourceLocation() [1/2]

const SourceCodeInfo_Location * google::protobuf::FileDescriptorTables::GetSourceLocation ( const std::vector< int > &  path,
const SourceCodeInfo info 
) const

◆ GetSourceLocation() [2/2]

const SourceCodeInfo_Location* google::protobuf::FileDescriptorTables::GetSourceLocation ( const std::vector< int > &  path,
const SourceCodeInfo info 
) const

◆ PROTOBUF_GUARDED_BY() [1/2]

EnumValuesByNumberMap unknown_enum_values_by_number_ google::protobuf::FileDescriptorTables::PROTOBUF_GUARDED_BY ( unknown_enum_values_mu_  )
mutableprivate

◆ PROTOBUF_GUARDED_BY() [2/2]

EnumValuesByNumberSet unknown_enum_values_by_number_ google::protobuf::FileDescriptorTables::PROTOBUF_GUARDED_BY ( unknown_enum_values_mu_  )
mutableprivate

Member Data Documentation

◆ enum_values_by_number_ [1/2]

EnumValuesByNumberMap google::protobuf::FileDescriptorTables::enum_values_by_number_
private

◆ enum_values_by_number_ [2/2]

EnumValuesByNumberSet google::protobuf::FileDescriptorTables::enum_values_by_number_
private

Definition at line 1333 of file protobuf/src/google/protobuf/descriptor.cc.

◆ fields_by_camelcase_name_

FieldsByNameMap google::protobuf::FileDescriptorTables::fields_by_camelcase_name_
mutableprivate

◆ fields_by_camelcase_name_once_

internal::once_flag google::protobuf::FileDescriptorTables::fields_by_camelcase_name_once_
mutableprivate

◆ fields_by_camelcase_name_tmp_

std::unique_ptr< FieldsByNameMap > google::protobuf::FileDescriptorTables::fields_by_camelcase_name_tmp_
private

◆ fields_by_lowercase_name_

FieldsByNameMap google::protobuf::FileDescriptorTables::fields_by_lowercase_name_
mutableprivate

◆ fields_by_lowercase_name_once_

internal::once_flag google::protobuf::FileDescriptorTables::fields_by_lowercase_name_once_
mutableprivate

◆ fields_by_lowercase_name_tmp_

std::unique_ptr< FieldsByNameMap > google::protobuf::FileDescriptorTables::fields_by_lowercase_name_tmp_
private

◆ fields_by_number_ [1/2]

FieldsByNumberMap google::protobuf::FileDescriptorTables::fields_by_number_
private

◆ fields_by_number_ [2/2]

FieldsByNumberSet google::protobuf::FileDescriptorTables::fields_by_number_
private

Definition at line 1332 of file protobuf/src/google/protobuf/descriptor.cc.

◆ locations_by_path_

LocationsByPathMap google::protobuf::FileDescriptorTables::locations_by_path_
mutableprivate

◆ locations_by_path_once_

internal::once_flag google::protobuf::FileDescriptorTables::locations_by_path_once_
mutableprivate

◆ symbols_by_parent_ [1/2]

SymbolsByParentMap google::protobuf::FileDescriptorTables::symbols_by_parent_
private

◆ symbols_by_parent_ [2/2]

SymbolsByParentSet google::protobuf::FileDescriptorTables::symbols_by_parent_
private

Definition at line 1325 of file protobuf/src/google/protobuf/descriptor.cc.

◆ unknown_enum_values_mu_

internal::WrappedMutex google::protobuf::FileDescriptorTables::unknown_enum_values_mu_
mutableprivate

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


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