#include <descriptor.h>
Classes | |
class | ErrorCollector |
class | Tables |
Static Public Member Functions | |
static const DescriptorPool * | generated_pool () |
static DescriptorPool * | internal_generated_pool () |
static void | InternalAddGeneratedFile (const void *encoded_file_descriptor, int size) |
Private Types | |
enum | PlaceholderType { PLACEHOLDER_MESSAGE, PLACEHOLDER_ENUM, PLACEHOLDER_EXTENDABLE_MESSAGE } |
Private Member Functions | |
const FileDescriptor * | BuildFileFromDatabase (const FileDescriptorProto &proto) const |
Symbol | CrossLinkOnDemandHelper (const std::string &name, bool expecting_enum) const |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DescriptorPool) | |
bool | IsSubSymbolOfBuiltType (const std::string &name) const |
Symbol | NewPlaceholder (const std::string &name, PlaceholderType placeholder_type) const |
FileDescriptor * | NewPlaceholderFile (const std::string &name) const |
FileDescriptor * | NewPlaceholderFileWithMutexHeld (const std::string &name) const |
Symbol | NewPlaceholderWithMutexHeld (const std::string &name, PlaceholderType placeholder_type) const |
bool | TryFindExtensionInFallbackDatabase (const Descriptor *containing_type, int field_number) const |
bool | TryFindFileInFallbackDatabase (const std::string &name) const |
bool | TryFindSymbolInFallbackDatabase (const std::string &name) const |
Private Attributes | |
bool | allow_unknown_ |
ErrorCollector * | default_error_collector_ |
bool | disallow_enforce_utf8_ |
bool | enforce_dependencies_ |
bool | enforce_weak_ |
DescriptorDatabase * | fallback_database_ |
bool | lazily_build_dependencies_ |
internal::WrappedMutex * | mutex_ |
std::unique_ptr< Tables > | tables_ |
const DescriptorPool * | underlay_ |
std::set< std::string > | unused_import_track_files_ |
Friends | |
class | Descriptor |
class | DescriptorBuilder |
class | EnumDescriptor |
class | FieldDescriptor |
class | FileDescriptor |
class | FileDescriptorTables |
class | internal::LazyDescriptor |
class | MethodDescriptor |
class | ServiceDescriptor |
class | StreamDescriptor |
Definition at line 1539 of file src/google/protobuf/descriptor.h.
|
private |
Enumerator | |
---|---|
PLACEHOLDER_MESSAGE | |
PLACEHOLDER_ENUM | |
PLACEHOLDER_EXTENDABLE_MESSAGE |
Definition at line 1835 of file src/google/protobuf/descriptor.h.
DescriptorPool::DescriptorPool | ( | ) |
Definition at line 1260 of file src/google/protobuf/descriptor.cc.
|
explicit |
Definition at line 1272 of file src/google/protobuf/descriptor.cc.
DescriptorPool::~DescriptorPool | ( | ) |
Definition at line 1297 of file src/google/protobuf/descriptor.cc.
|
explicit |
Definition at line 1285 of file src/google/protobuf/descriptor.cc.
void DescriptorPool::AddUnusedImportTrackFile | ( | const std::string & | file_name | ) |
Definition at line 1308 of file src/google/protobuf/descriptor.cc.
|
inline |
Definition at line 1704 of file src/google/protobuf/descriptor.h.
const FileDescriptor * DescriptorPool::BuildFile | ( | const FileDescriptorProto & | proto | ) |
Definition at line 3549 of file src/google/protobuf/descriptor.cc.
const FileDescriptor * DescriptorPool::BuildFileCollectingErrors | ( | const FileDescriptorProto & | proto, |
ErrorCollector * | error_collector | ||
) |
Definition at line 3561 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 3574 of file src/google/protobuf/descriptor.cc.
void DescriptorPool::ClearUnusedImportTrackFiles | ( | ) |
Definition at line 1312 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 7168 of file src/google/protobuf/descriptor.cc.
|
inline |
Definition at line 1746 of file src/google/protobuf/descriptor.h.
|
inline |
Definition at line 1710 of file src/google/protobuf/descriptor.h.
void DescriptorPool::FindAllExtensions | ( | const Descriptor * | extendee, |
std::vector< const FieldDescriptor * > * | out | ||
) | const |
Definition at line 1549 of file src/google/protobuf/descriptor.cc.
const EnumDescriptor * DescriptorPool::FindEnumTypeByName | ( | const std::string & | name | ) | const |
Definition at line 1463 of file src/google/protobuf/descriptor.cc.
const EnumValueDescriptor * DescriptorPool::FindEnumValueByName | ( | const std::string & | name | ) | const |
Definition at line 1469 of file src/google/protobuf/descriptor.cc.
const FieldDescriptor * DescriptorPool::FindExtensionByName | ( | const std::string & | name | ) | const |
Definition at line 1447 of file src/google/protobuf/descriptor.cc.
const FieldDescriptor * DescriptorPool::FindExtensionByNumber | ( | const Descriptor * | extendee, |
int | number | ||
) | const |
Definition at line 1488 of file src/google/protobuf/descriptor.cc.
const FieldDescriptor * DescriptorPool::FindExtensionByPrintableName | ( | const Descriptor * | extendee, |
const std::string & | printable_name | ||
) | const |
Definition at line 1522 of file src/google/protobuf/descriptor.cc.
const FieldDescriptor * DescriptorPool::FindFieldByName | ( | const std::string & | name | ) | const |
Definition at line 1436 of file src/google/protobuf/descriptor.cc.
const FileDescriptor * DescriptorPool::FindFileByName | ( | const std::string & | name | ) | const |
Definition at line 1389 of file src/google/protobuf/descriptor.cc.
const FileDescriptor * DescriptorPool::FindFileContainingSymbol | ( | const std::string & | symbol_name | ) | const |
Definition at line 1409 of file src/google/protobuf/descriptor.cc.
const Descriptor * DescriptorPool::FindMessageTypeByName | ( | const std::string & | name | ) | const |
Definition at line 1430 of file src/google/protobuf/descriptor.cc.
const MethodDescriptor * DescriptorPool::FindMethodByName | ( | const std::string & | name | ) | const |
Definition at line 1482 of file src/google/protobuf/descriptor.cc.
const OneofDescriptor * DescriptorPool::FindOneofByName | ( | const std::string & | name | ) | const |
Definition at line 1457 of file src/google/protobuf/descriptor.cc.
const ServiceDescriptor * DescriptorPool::FindServiceByName | ( | const std::string & | name | ) | const |
Definition at line 1476 of file src/google/protobuf/descriptor.cc.
|
static |
Definition at line 1346 of file src/google/protobuf/descriptor.cc.
|
private |
|
static |
Definition at line 1340 of file src/google/protobuf/descriptor.cc.
|
inline |
Definition at line 1776 of file src/google/protobuf/descriptor.h.
|
static |
Definition at line 1355 of file src/google/protobuf/descriptor.cc.
void DescriptorPool::InternalDontEnforceDependencies | ( | ) |
Definition at line 1304 of file src/google/protobuf/descriptor.cc.
bool DescriptorPool::InternalIsFileLoaded | ( | const std::string & | filename | ) | const |
Definition at line 1316 of file src/google/protobuf/descriptor.cc.
|
inline |
Definition at line 1768 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1867 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 3864 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 3968 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 3974 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 3870 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 1931 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 1852 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 1889 of file src/google/protobuf/descriptor.cc.
|
friend |
Definition at line 1791 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1799 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1794 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1793 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1797 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1800 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1792 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1796 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1795 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 1798 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1862 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1852 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1864 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1860 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1863 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1851 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1861 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1848 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1857 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1853 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 1865 of file src/google/protobuf/descriptor.h.