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

#include <dynamic_message.h>

Public Member Functions

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

Private Member Functions

const MessageGetPrototypeNoLock (const Descriptor *type)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DynamicMessageFactory)
 

Static Private Member Functions

static void ConstructDefaultOneofInstance (const Descriptor *type, const int offsets[], void *default_oneof_instance)
 
static void DeleteDefaultOneofInstance (const Descriptor *type, const int offsets[], void *default_oneof_instance)
 

Private Attributes

const DescriptorPoolpool_
 
bool delegate_to_generated_factory_
 
scoped_ptr< PrototypeMap > prototypes_
 
Mutex prototypes_mutex_
 

Friends

class DynamicMessage
 

Additional Inherited Members

- Static Public Member Functions inherited from google::protobuf::MessageFactory
static MessageFactorygenerated_factory ()
 
static void InternalRegisterGeneratedFile (const char *filename, void(*register_messages)(const string &))
 
static void InternalRegisterGeneratedMessage (const Descriptor *descriptor, const Message *prototype)
 

Constructor & Destructor Documentation

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

Member Function Documentation

static void google::protobuf::DynamicMessageFactory::ConstructDefaultOneofInstance ( const Descriptor type,
const int  offsets[],
void *  default_oneof_instance 
)
staticprivate
static void google::protobuf::DynamicMessageFactory::DeleteDefaultOneofInstance ( const Descriptor type,
const int  offsets[],
void *  default_oneof_instance 
)
staticprivate
const Message* google::protobuf::DynamicMessageFactory::GetPrototype ( const Descriptor type)
virtual
const Message* google::protobuf::DynamicMessageFactory::GetPrototypeNoLock ( const Descriptor type)
private
google::protobuf::DynamicMessageFactory::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( DynamicMessageFactory  )
private
void google::protobuf::DynamicMessageFactory::SetDelegateToGeneratedFactory ( bool  enable)
inline
93  {
95  }
bool delegate_to_generated_factory_
Definition: dynamic_message.h:118

Friends And Related Function Documentation

friend class DynamicMessage
friend

Member Data Documentation

bool google::protobuf::DynamicMessageFactory::delegate_to_generated_factory_
private
const DescriptorPool* google::protobuf::DynamicMessageFactory::pool_
private
scoped_ptr<PrototypeMap> google::protobuf::DynamicMessageFactory::prototypes_
private
Mutex google::protobuf::DynamicMessageFactory::prototypes_mutex_
mutableprivate

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