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::InstanceFactory< T, false, false > Struct Template Reference

Default instance for classes without AZ_CLASS_ALLOCATOR (can't use aznew) defined. More...

#include <SerializeContext.h>

Inherits AZ::Serialize::IObjectFactory.

Public Member Functions

void * Create (const char *name) override
 Called to create an instance of an object.
 
void Destroy (void *ptr) override
 Called to destroy an instance of an object.
 
- Public Member Functions inherited from AZ::Serialize::IObjectFactory
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

template<class T>
struct AZ::Serialize::InstanceFactory< T, false, false >

Default instance for classes without AZ_CLASS_ALLOCATOR (can't use aznew) defined.

Member Function Documentation

◆ Create()

template<class T >
void * AZ::Serialize::InstanceFactory< T, false, false >::Create ( const char *  name)
inlineoverridevirtual

Called to create an instance of an object.

Implements AZ::Serialize::IObjectFactory.

◆ Destroy()

template<class T >
void AZ::Serialize::InstanceFactory< T, false, false >::Destroy ( void *  ptr)
inlineoverridevirtual

Called to destroy an instance of an object.

Implements AZ::Serialize::IObjectFactory.


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