Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Serialize::IObjectFactory Class Referenceabstract

#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)
 

Detailed Description

Interface for creating and destroying object from the serializer.

Member Function Documentation

◆ Create()

virtual void * AZ::Serialize::IObjectFactory::Create ( const char *  name)
pure virtual

◆ Destroy()

virtual void AZ::Serialize::IObjectFactory::Destroy ( void *  ptr)
pure virtual

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