Very simple allocator implementation, containers using it can be used across dll boundaries. More...
#include <irrAllocator.h>
Public Member Functions | |
virtual | ~irrAllocator () |
Destructor. More... | |
T * | allocate (size_t cnt) |
Allocate memory for an array of objects. More... | |
void | construct (T *ptr, const T &e) |
Construct an element. More... | |
void | deallocate (T *ptr) |
Deallocate memory for an array of objects. More... | |
void | destruct (T *ptr) |
Destruct an element. More... | |
Protected Member Functions | |
virtual void | internal_delete (void *ptr) |
virtual void * | internal_new (size_t cnt) |
Very simple allocator implementation, containers using it can be used across dll boundaries.
Definition at line 25 of file irrAllocator.h.
|
inlinevirtual |
Destructor.
Definition at line 30 of file irrAllocator.h.
|
inline |
Allocate memory for an array of objects.
Definition at line 33 of file irrAllocator.h.
Referenced by irr::video::SMaterialLayer::getTextureMatrix(), irr::video::SMaterialLayer::operator=(), and irr::video::SMaterialLayer::setTextureMatrix().
|
inline |
Construct an element.
Definition at line 45 of file irrAllocator.h.
Referenced by irr::video::SMaterialLayer::getTextureMatrix(), irr::video::SMaterialLayer::operator=(), and irr::video::SMaterialLayer::setTextureMatrix().
|
inline |
Deallocate memory for an array of objects.
Definition at line 39 of file irrAllocator.h.
Referenced by irr::video::SMaterialLayer::operator=(), and irr::video::SMaterialLayer::~SMaterialLayer().
|
inline |
Destruct an element.
Definition at line 51 of file irrAllocator.h.
Referenced by irr::video::SMaterialLayer::operator=(), and irr::video::SMaterialLayer::~SMaterialLayer().
|
inlineprotectedvirtual |
Definition at line 63 of file irrAllocator.h.
Referenced by irr::core::irrAllocator< u16 >::deallocate().
|
inlineprotectedvirtual |
Definition at line 58 of file irrAllocator.h.
Referenced by irr::core::irrAllocator< u16 >::allocate().