Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
google::protobuf::DescriptorPool::Tables Class Reference

Classes

struct  CheckPoint
 

Public Member Functions

void AddCheckpoint ()
 
bool AddExtension (const FieldDescriptor *field)
 
bool AddFile (const FileDescriptor *file)
 
bool AddSymbol (const std::string &full_name, Symbol symbol)
 
template<typename Type >
TypeAllocate ()
 
template<typename Type >
TypeAllocateArray (int count)
 
std::stringAllocateEmptyString ()
 
FileDescriptorTablesAllocateFileTables ()
 
template<typename Type >
TypeAllocateMessage (Type *dummy=nullptr)
 
internal::once_flagAllocateOnceDynamic ()
 
std::stringAllocateString (const std::string &value)
 
void ClearLastCheckpoint ()
 
void FindAllExtensions (const Descriptor *extendee, std::vector< const FieldDescriptor * > *out) const
 
Symbol FindByNameHelper (const DescriptorPool *pool, const std::string &name)
 
const FieldDescriptorFindExtension (const Descriptor *extendee, int number) const
 
const FileDescriptorFindFile (const std::string &key) const
 
Symbol FindSymbol (const std::string &key) const
 
void RollbackToLastCheckpoint ()
 
 Tables ()
 
 ~Tables ()
 

Public Attributes

HASH_SET< const Descriptor * > extensions_loaded_from_db_
 
HASH_SET< std::stringknown_bad_files_
 
HASH_SET< std::stringknown_bad_symbols_
 
std::vector< std::stringpending_files_
 

Private Member Functions

voidAllocateBytes (int size)
 

Private Attributes

std::vector< void * > allocations_
 
std::vector< CheckPointcheckpoints_
 
ExtensionsGroupedByDescriptorMap extensions_
 
std::vector< DescriptorIntPair > extensions_after_checkpoint_
 
std::vector< FileDescriptorTables * > file_tables_
 
std::vector< const char * > files_after_checkpoint_
 
FilesByNameMap files_by_name_
 
std::vector< Message * > messages_
 
std::vector< internal::once_flag * > once_dynamics_
 
std::vector< std::string * > strings_
 
std::vector< const char * > symbols_after_checkpoint_
 
SymbolsByNameMap symbols_by_name_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Tables()

google::protobuf::DescriptorPool::Tables::Tables ( )

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

◆ ~Tables()

google::protobuf::DescriptorPool::Tables::~Tables ( )

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

Member Function Documentation

◆ AddCheckpoint()

void google::protobuf::DescriptorPool::Tables::AddCheckpoint ( )

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

◆ AddExtension()

bool google::protobuf::DescriptorPool::Tables::AddExtension ( const FieldDescriptor field)

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

◆ AddFile()

bool google::protobuf::DescriptorPool::Tables::AddFile ( const FileDescriptor file)

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

◆ AddSymbol()

bool google::protobuf::DescriptorPool::Tables::AddSymbol ( const std::string full_name,
Symbol  symbol 
)

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

◆ Allocate()

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::Allocate ( )

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

◆ AllocateArray()

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::AllocateArray ( int  count)

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

◆ AllocateBytes()

void * google::protobuf::DescriptorPool::Tables::AllocateBytes ( int  size)
private

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

◆ AllocateEmptyString()

std::string * google::protobuf::DescriptorPool::Tables::AllocateEmptyString ( )

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

◆ AllocateFileTables()

FileDescriptorTables * google::protobuf::DescriptorPool::Tables::AllocateFileTables ( )

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

◆ AllocateMessage()

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::AllocateMessage ( Type dummy = nullptr)

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

◆ AllocateOnceDynamic()

internal::once_flag * google::protobuf::DescriptorPool::Tables::AllocateOnceDynamic ( )

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

◆ AllocateString()

std::string * google::protobuf::DescriptorPool::Tables::AllocateString ( const std::string value)

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

◆ ClearLastCheckpoint()

void google::protobuf::DescriptorPool::Tables::ClearLastCheckpoint ( )

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

◆ FindAllExtensions()

void google::protobuf::DescriptorPool::Tables::FindAllExtensions ( const Descriptor extendee,
std::vector< const FieldDescriptor * > *  out 
) const
inline

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

◆ FindByNameHelper()

Symbol google::protobuf::DescriptorPool::Tables::FindByNameHelper ( const DescriptorPool pool,
const std::string name 
)

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

◆ FindExtension()

const FieldDescriptor * google::protobuf::DescriptorPool::Tables::FindExtension ( const Descriptor extendee,
int  number 
) const
inline

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

◆ FindFile()

const FileDescriptor * google::protobuf::DescriptorPool::Tables::FindFile ( const std::string key) const
inline

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

◆ FindSymbol()

Symbol google::protobuf::DescriptorPool::Tables::FindSymbol ( const std::string key) const
inline

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

◆ RollbackToLastCheckpoint()

void google::protobuf::DescriptorPool::Tables::RollbackToLastCheckpoint ( )

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

Member Data Documentation

◆ allocations_

std::vector<void*> google::protobuf::DescriptorPool::Tables::allocations_
private

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

◆ checkpoints_

std::vector<CheckPoint> google::protobuf::DescriptorPool::Tables::checkpoints_
private

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

◆ extensions_

ExtensionsGroupedByDescriptorMap google::protobuf::DescriptorPool::Tables::extensions_
private

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

◆ extensions_after_checkpoint_

std::vector<DescriptorIntPair> google::protobuf::DescriptorPool::Tables::extensions_after_checkpoint_
private

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

◆ extensions_loaded_from_db_

HASH_SET<const Descriptor*> google::protobuf::DescriptorPool::Tables::extensions_loaded_from_db_

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

◆ file_tables_

std::vector<FileDescriptorTables*> google::protobuf::DescriptorPool::Tables::file_tables_
private

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

◆ files_after_checkpoint_

std::vector<const char*> google::protobuf::DescriptorPool::Tables::files_after_checkpoint_
private

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

◆ files_by_name_

FilesByNameMap google::protobuf::DescriptorPool::Tables::files_by_name_
private

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

◆ known_bad_files_

HASH_SET<std::string> google::protobuf::DescriptorPool::Tables::known_bad_files_

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

◆ known_bad_symbols_

HASH_SET<std::string> google::protobuf::DescriptorPool::Tables::known_bad_symbols_

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

◆ messages_

std::vector<Message*> google::protobuf::DescriptorPool::Tables::messages_
private

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

◆ once_dynamics_

std::vector<internal::once_flag*> google::protobuf::DescriptorPool::Tables::once_dynamics_
private

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

◆ pending_files_

std::vector<std::string> google::protobuf::DescriptorPool::Tables::pending_files_

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

◆ strings_

std::vector<std::string*> google::protobuf::DescriptorPool::Tables::strings_
private

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

◆ symbols_after_checkpoint_

std::vector<const char*> google::protobuf::DescriptorPool::Tables::symbols_after_checkpoint_
private

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

◆ symbols_by_name_

SymbolsByNameMap google::protobuf::DescriptorPool::Tables::symbols_by_name_
private

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


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08