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