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