![]() |
Plasma Engine
2.0
|
Default implementation of plRTTIAllocator that allocates instances via the given allocator. More...
#include <RTTI.h>

Public Member Functions | |
| virtual plInternal::NewInstance< void > | AllocateInternal (plAllocator *pAllocator) override |
| Returns a new instance that was allocated with the given allocator. | |
| virtual plInternal::NewInstance< void > | CloneInternal (const void *pObject, plAllocator *pAllocator) override |
| Clones the given instance with the given allocator. | |
| virtual void | Deallocate (void *pObject, plAllocator *pAllocator) override |
| Deletes the given instance with the given allocator. | |
Public Member Functions inherited from plRTTIAllocator | |
| virtual bool | CanAllocate () const |
| Returns whether the type that is represented by this allocator, can be dynamically allocated at runtime. | |
| 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. | |
Default implementation of plRTTIAllocator that allocates instances via the given allocator.
|
inlineoverridevirtual |
Returns a new instance that was allocated with the given allocator.
Implements plRTTIAllocator.
|
inlineoverridevirtual |
Clones the given instance with the given allocator.
Reimplemented from plRTTIAllocator.
|
inlineoverridevirtual |
Deletes the given instance with the given allocator.
Implements plRTTIAllocator.