![]() |
ezEngine Release 25.08
|
Dummy Allocator for types that should not be allocatable through the reflection system. More...
#include <RTTI.h>

Public Member Functions | |
| virtual bool | CanAllocate () const override |
| Returns false, because this type of allocator is used for classes that shall not be allocated dynamically. | |
| virtual ezInternal::NewInstance< void > | AllocateInternal (ezAllocator *pAllocator) override |
| Will trigger an assert. | |
| virtual void | Deallocate (void *pObject, ezAllocator *pAllocator) override |
| Will trigger an assert. | |
Public Member Functions inherited from ezRTTIAllocator | |
| 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. | |
Dummy Allocator for types that should not be allocatable through the reflection system.
|
inlineoverridevirtual |
Will trigger an assert.
Implements ezRTTIAllocator.
|
inlineoverridevirtual |
Returns false, because this type of allocator is used for classes that shall not be allocated dynamically.
Reimplemented from ezRTTIAllocator.
|
inlineoverridevirtual |
Will trigger an assert.
Implements ezRTTIAllocator.