TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::SimpleDescriptorDatabase Class Reference

#include <descriptor_database.h>

Classes

class  DescriptorIndex
 

Public Member Functions

 SimpleDescriptorDatabase ()
 
 ~SimpleDescriptorDatabase ()
 
bool Add (const FileDescriptorProto &file)
 
bool AddAndOwn (const FileDescriptorProto *file)
 
bool FindFileByName (const string &filename, FileDescriptorProto *output)
 
bool FindFileContainingSymbol (const string &symbol_name, FileDescriptorProto *output)
 
bool FindFileContainingExtension (const string &containing_type, int field_number, FileDescriptorProto *output)
 
bool FindAllExtensionNumbers (const string &extendee_type, vector< int > *output)
 
- Public Member Functions inherited from google::protobuf::DescriptorDatabase
 DescriptorDatabase ()
 
virtual ~DescriptorDatabase ()
 

Private Member Functions

bool MaybeCopy (const FileDescriptorProto *file, FileDescriptorProto *output)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (SimpleDescriptorDatabase)
 

Private Attributes

DescriptorIndex< const
FileDescriptorProto * > 
index_
 
vector< const
FileDescriptorProto * > 
files_to_delete_
 

Friends

class EncodedDescriptorDatabase
 

Constructor & Destructor Documentation

google::protobuf::SimpleDescriptorDatabase::SimpleDescriptorDatabase ( )
google::protobuf::SimpleDescriptorDatabase::~SimpleDescriptorDatabase ( )

Member Function Documentation

bool google::protobuf::SimpleDescriptorDatabase::Add ( const FileDescriptorProto file)
bool google::protobuf::SimpleDescriptorDatabase::AddAndOwn ( const FileDescriptorProto file)
bool google::protobuf::SimpleDescriptorDatabase::FindAllExtensionNumbers ( const string &  extendee_type,
vector< int > *  output 
)
virtual
bool google::protobuf::SimpleDescriptorDatabase::FindFileByName ( const string &  filename,
FileDescriptorProto output 
)
virtual
bool google::protobuf::SimpleDescriptorDatabase::FindFileContainingExtension ( const string &  containing_type,
int  field_number,
FileDescriptorProto output 
)
virtual
bool google::protobuf::SimpleDescriptorDatabase::FindFileContainingSymbol ( const string &  symbol_name,
FileDescriptorProto output 
)
virtual
google::protobuf::SimpleDescriptorDatabase::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( SimpleDescriptorDatabase  )
private
bool google::protobuf::SimpleDescriptorDatabase::MaybeCopy ( const FileDescriptorProto file,
FileDescriptorProto output 
)
private

Friends And Related Function Documentation

friend class EncodedDescriptorDatabase
friend

Member Data Documentation

vector<const FileDescriptorProto*> google::protobuf::SimpleDescriptorDatabase::files_to_delete_
private
DescriptorIndex<const FileDescriptorProto*> google::protobuf::SimpleDescriptorDatabase::index_
private

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