#include <dynamic_message.h>
Classes | |
struct | PrototypeMap |
struct | TypeInfo |
Public Member Functions | |
DynamicMessageFactory () | |
DynamicMessageFactory () | |
DynamicMessageFactory (const DescriptorPool *pool) | |
DynamicMessageFactory (const DescriptorPool *pool) | |
const Message * | GetPrototype (const Descriptor *type) override |
const Message * | GetPrototype (const Descriptor *type) override |
void | SetDelegateToGeneratedFactory (bool enable) |
void | SetDelegateToGeneratedFactory (bool enable) |
~DynamicMessageFactory () | |
~DynamicMessageFactory () | |
![]() | |
MessageFactory () | |
MessageFactory () | |
virtual | ~MessageFactory () |
virtual | ~MessageFactory () |
Private Member Functions | |
const Message * | GetPrototypeNoLock (const Descriptor *type) |
const Message * | GetPrototypeNoLock (const Descriptor *type) |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DynamicMessageFactory) | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DynamicMessageFactory) | |
Static Private Member Functions | |
static void | ConstructDefaultOneofInstance (const Descriptor *type, const uint32 offsets[], void *default_oneof_instance) |
static void | DeleteDefaultOneofInstance (const Descriptor *type, const uint32 offsets[], const void *default_oneof_instance) |
Private Attributes | |
bool | delegate_to_generated_factory_ |
const DescriptorPool * | pool_ |
std::unordered_map< const Descriptor *, const TypeInfo * > | prototypes_ |
std::unique_ptr< PrototypeMap > | prototypes_ |
internal::WrappedMutex | prototypes_mutex_ |
Friends | |
class | DynamicMessage |
Additional Inherited Members | |
![]() | |
static MessageFactory * | generated_factory () |
static MessageFactory * | generated_factory () |
static void | InternalRegisterGeneratedFile (const google::protobuf::internal::DescriptorTable *table) |
static void | InternalRegisterGeneratedFile (const google::protobuf::internal::DescriptorTable *table) |
static void | InternalRegisterGeneratedMessage (const Descriptor *descriptor, const Message *prototype) |
static void | InternalRegisterGeneratedMessage (const Descriptor *descriptor, const Message *prototype) |
Definition at line 80 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.
google::protobuf::DynamicMessageFactory::DynamicMessageFactory | ( | ) |
Definition at line 634 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
google::protobuf::DynamicMessageFactory::DynamicMessageFactory | ( | const DescriptorPool * | pool | ) |
Definition at line 639 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
google::protobuf::DynamicMessageFactory::~DynamicMessageFactory | ( | ) |
Definition at line 644 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
google::protobuf::DynamicMessageFactory::DynamicMessageFactory | ( | ) |
google::protobuf::DynamicMessageFactory::DynamicMessageFactory | ( | const DescriptorPool * | pool | ) |
google::protobuf::DynamicMessageFactory::~DynamicMessageFactory | ( | ) |
|
staticprivate |
Definition at line 812 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
|
staticprivate |
Definition at line 858 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
|
overridevirtual |
Implements google::protobuf::MessageFactory.
Definition at line 653 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
|
overridevirtual |
Implements google::protobuf::MessageFactory.
|
private |
|
private |
Definition at line 658 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.cc.
|
private |
|
private |
|
inline |
Definition at line 103 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.
|
inline |
Definition at line 105 of file protobuf/src/google/protobuf/dynamic_message.h.
|
friend |
Definition at line 139 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.
|
private |
Definition at line 128 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.
|
private |
Definition at line 127 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.
|
private |
Definition at line 132 of file protobuf/src/google/protobuf/dynamic_message.h.
|
private |
Definition at line 135 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.
|
mutableprivate |
Definition at line 137 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.