Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::DynamicMessageFactory Class Reference

#include <dynamic_message.h>

Inheritance diagram for google::protobuf::DynamicMessageFactory:
Inheritance graph
[legend]

Classes

struct  PrototypeMap
 
struct  TypeInfo
 

Public Member Functions

 DynamicMessageFactory ()
 
 DynamicMessageFactory ()
 
 DynamicMessageFactory (const DescriptorPool *pool)
 
 DynamicMessageFactory (const DescriptorPool *pool)
 
const MessageGetPrototype (const Descriptor *type) override
 
const MessageGetPrototype (const Descriptor *type) override
 
void SetDelegateToGeneratedFactory (bool enable)
 
void SetDelegateToGeneratedFactory (bool enable)
 
 ~DynamicMessageFactory ()
 
 ~DynamicMessageFactory ()
 
- Public Member Functions inherited from google::protobuf::MessageFactory
 MessageFactory ()
 
 MessageFactory ()
 
virtual ~MessageFactory ()
 
virtual ~MessageFactory ()
 

Private Member Functions

const MessageGetPrototypeNoLock (const Descriptor *type)
 
const MessageGetPrototypeNoLock (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 DescriptorPoolpool_
 
std::unordered_map< const Descriptor *, const TypeInfo * > prototypes_
 
std::unique_ptr< PrototypeMapprototypes_
 
internal::WrappedMutex prototypes_mutex_
 

Friends

class DynamicMessage
 

Additional Inherited Members

- Static Public Member Functions inherited from google::protobuf::MessageFactory
static MessageFactorygenerated_factory ()
 
static MessageFactorygenerated_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)
 

Detailed Description

Definition at line 80 of file bloaty/third_party/protobuf/src/google/protobuf/dynamic_message.h.

Constructor & Destructor Documentation

◆ DynamicMessageFactory() [1/4]

google::protobuf::DynamicMessageFactory::DynamicMessageFactory ( )

◆ DynamicMessageFactory() [2/4]

google::protobuf::DynamicMessageFactory::DynamicMessageFactory ( const DescriptorPool pool)

◆ ~DynamicMessageFactory() [1/2]

google::protobuf::DynamicMessageFactory::~DynamicMessageFactory ( )

◆ DynamicMessageFactory() [3/4]

google::protobuf::DynamicMessageFactory::DynamicMessageFactory ( )

◆ DynamicMessageFactory() [4/4]

google::protobuf::DynamicMessageFactory::DynamicMessageFactory ( const DescriptorPool pool)

◆ ~DynamicMessageFactory() [2/2]

google::protobuf::DynamicMessageFactory::~DynamicMessageFactory ( )

Member Function Documentation

◆ ConstructDefaultOneofInstance()

void google::protobuf::DynamicMessageFactory::ConstructDefaultOneofInstance ( const Descriptor type,
const uint32  offsets[],
void *  default_oneof_instance 
)
staticprivate

◆ DeleteDefaultOneofInstance()

void google::protobuf::DynamicMessageFactory::DeleteDefaultOneofInstance ( const Descriptor type,
const uint32  offsets[],
const void *  default_oneof_instance 
)
staticprivate

◆ GetPrototype() [1/2]

const Message * google::protobuf::DynamicMessageFactory::GetPrototype ( const Descriptor type)
overridevirtual

◆ GetPrototype() [2/2]

const Message* google::protobuf::DynamicMessageFactory::GetPrototype ( const Descriptor type)
overridevirtual

◆ GetPrototypeNoLock() [1/2]

const Message* google::protobuf::DynamicMessageFactory::GetPrototypeNoLock ( const Descriptor type)
private

◆ GetPrototypeNoLock() [2/2]

const Message * google::protobuf::DynamicMessageFactory::GetPrototypeNoLock ( const Descriptor type)
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::DynamicMessageFactory::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( DynamicMessageFactory  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::DynamicMessageFactory::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( DynamicMessageFactory  )
private

◆ SetDelegateToGeneratedFactory() [1/2]

void google::protobuf::DynamicMessageFactory::SetDelegateToGeneratedFactory ( bool  enable)
inline

◆ SetDelegateToGeneratedFactory() [2/2]

void google::protobuf::DynamicMessageFactory::SetDelegateToGeneratedFactory ( bool  enable)
inline

Friends And Related Function Documentation

◆ DynamicMessage

Member Data Documentation

◆ delegate_to_generated_factory_

bool google::protobuf::DynamicMessageFactory::delegate_to_generated_factory_
private

◆ pool_

const DescriptorPool * google::protobuf::DynamicMessageFactory::pool_
private

◆ prototypes_ [1/2]

std::unordered_map<const Descriptor*, const TypeInfo*> google::protobuf::DynamicMessageFactory::prototypes_
private

◆ prototypes_ [2/2]

std::unique_ptr<PrototypeMap> google::protobuf::DynamicMessageFactory::prototypes_
private

◆ prototypes_mutex_

internal::WrappedMutex google::protobuf::DynamicMessageFactory::prototypes_mutex_
mutableprivate

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:11