![]() |
ezEngine Release 25.08
|
Default implementation of ezRTTIAllocator that allocates instances via the given allocator. More...
#include <RTTI.h>

Public Member Functions | |
| virtual ezInternal::NewInstance< void > | AllocateInternal (ezAllocator *pAllocator) override |
| Returns a new instance that was allocated with the given allocator. | |
| virtual ezInternal::NewInstance< void > | CloneInternal (const void *pObject, ezAllocator *pAllocator) override |
| Clones the given instance with the given allocator. | |
| virtual void | Deallocate (void *pObject, ezAllocator *pAllocator) override |
| Deletes the given instance with the given allocator. | |
Public Member Functions inherited from ezRTTIAllocator | |
| 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 (ezAllocator *pAllocator=nullptr) |
| Allocates one instance. | |
| template<typename T > | |
| ezInternal::NewInstance< T > | Clone (const void *pObject, ezAllocator *pAllocator=nullptr) |
| Clones the given instance. | |
Default implementation of ezRTTIAllocator that allocates instances via the given allocator.
|
inlineoverridevirtual |
Returns a new instance that was allocated with the given allocator.
Implements ezRTTIAllocator.
|
inlineoverridevirtual |
Clones the given instance with the given allocator.
Reimplemented from ezRTTIAllocator.
|
inlineoverridevirtual |
Deletes the given instance with the given allocator.
Implements ezRTTIAllocator.