webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Public Attributes | List of all members
google::protobuf::DescriptorPool::Tables Class Reference

Public Member Functions

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

Public Attributes

vector< stringpending_files_
 
hash_set< stringknown_bad_files_
 
hash_set< stringknown_bad_symbols_
 
hash_set< const Descriptor * > extensions_loaded_from_db_
 

Constructor & Destructor Documentation

◆ Tables()

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

◆ ~Tables()

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

Member Function Documentation

◆ AddCheckpoint()

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

◆ AddExtension()

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

◆ AddFile()

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

◆ AddSymbol()

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

◆ Allocate()

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

◆ AllocateArray()

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

◆ AllocateFileTables()

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

◆ AllocateMessage()

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

◆ AllocateString()

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

◆ ClearLastCheckpoint()

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

◆ FindAllExtensions()

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

◆ FindByNameHelper()

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

◆ FindExtension()

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

◆ FindFile()

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

◆ FindSymbol()

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

◆ RollbackToLastCheckpoint()

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

Member Data Documentation

◆ extensions_loaded_from_db_

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

◆ known_bad_files_

hash_set<string> google::protobuf::DescriptorPool::Tables::known_bad_files_

◆ known_bad_symbols_

hash_set<string> google::protobuf::DescriptorPool::Tables::known_bad_symbols_

◆ pending_files_

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

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