SmartPtrSerializer

Exposes _smart_ptr<> as serializable type for Serialization::IArchive. More...

#include

Inherits yasli::PointerInterface.

Public Member Functions

SmartPtrSerializer (_smart_ptr< T > &ptr)
const char * registeredTypeName () const override
void create (const char *registeredTypeName) const override
Serialization::TypeID baseType () const override
virtual Serialization::SStruct serializer () const override
void * get () const override
const void * handle () const override
Serialization::TypeID pointerType () const override
Serialization::IClassFactory * factory () const override

Protected Attributes

_smart_ptr< T > & m_ptr

Detailed Description

template class SmartPtrSerializer< T >

Exposes _smart_ptr<> as serializable type for Serialization::IArchive.