![]() |
Plasma Engine
2.0
|
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 plInternal::NewInstance< void > | AllocateInternal (plAllocator *pAllocator) override |
| Will trigger an assert. | |
| virtual void | Deallocate (void *pObject, plAllocator *pAllocator) override |
| Will trigger an assert. | |
Public Member Functions inherited from plRTTIAllocator | |
| template<typename T > | |
| plInternal::NewInstance< T > | Allocate (plAllocator *pAllocator=nullptr) |
| Allocates one instance. | |
| template<typename T > | |
| plInternal::NewInstance< T > | Clone (const void *pObject, plAllocator *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 plRTTIAllocator.
|
inlineoverridevirtual |
Returns false, because this type of allocator is used for classes that shall not be allocated dynamically.
Reimplemented from plRTTIAllocator.
|
inlineoverridevirtual |
Will trigger an assert.
Implements plRTTIAllocator.