#include <SerializeContext.h>
Inherited by AZ::Internal::NullFactory, AZ::Serialize::InstanceFactory< T, U, A >, AZ::Serialize::InstanceFactory< T, U, true >, AZ::Serialize::InstanceFactory< T, false, false >, and AZ::SerializeGenericTypeInfo< Data::Asset< T > >::Factory.
Public Member Functions | |
virtual void * | Create (const char *name)=0 |
Called to create an instance of an object. | |
virtual void | Destroy (void *ptr)=0 |
Called to destroy an instance of an object. | |
void | Destroy (const void *ptr) |
Interface for creating and destroying object from the serializer.
|
pure virtual |
Called to create an instance of an object.
Implemented in AZ::SerializeGenericTypeInfo< Data::Asset< T > >::Factory, AZ::Serialize::InstanceFactory< T, U, A >, AZ::Serialize::InstanceFactory< T, false, false >, and AZ::Serialize::InstanceFactory< T, U, true >.
|
pure virtual |
Called to destroy an instance of an object.
Implemented in AZ::SerializeGenericTypeInfo< Data::Asset< T > >::Factory, AZ::Serialize::InstanceFactory< T, U, A >, AZ::Serialize::InstanceFactory< T, false, false >, and AZ::Serialize::InstanceFactory< T, U, true >.