ezEngine  Milestone 9
ezRTTIAllocator Struct Referenceabstract

The interface for an allocator that creates instances of reflected types. More...

#include <RTTI.h>

Inheritance diagram for ezRTTIAllocator:

Public Member Functions

virtual bool CanAllocate () const
 Returns whether the type that is represented by this allocator, can be dynamically allocated at runtime.
 
template<typename T >
ezInternal::NewInstance< T > Allocate (ezAllocatorBase *pAllocator=nullptr)
 Allocates one instance.
 
template<typename T >
ezInternal::NewInstance< T > Clone (const void *pObject, ezAllocatorBase *pAllocator=nullptr)
 Clones the given instance.
 
virtual void Deallocate (void *pObject, ezAllocatorBase *pAllocator=nullptr)=0
 Deallocates the given instance.
 

Detailed Description

The interface for an allocator that creates instances of reflected types.


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