Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
#include <irrAllocator.h>
Public Member Functions | |
T * | allocate (size_t cnt) |
Allocate memory for an array of objects. | |
void | construct (T *ptr, const T &e) |
Construct an element. | |
void | deallocate (T *ptr) |
Deallocate memory for an array of objects. | |
void | destruct (T *ptr) |
Destruct an element. | |
virtual | ~irrAllocator () |
Destructor. | |
Protected Member Functions | |
virtual void | internal_delete (void *ptr) |
virtual void * | internal_new (size_t cnt) |
Definition at line 25 of file irrAllocator.h.
virtual irr::core::irrAllocator< T >::~irrAllocator | ( | ) | [inline, virtual] |
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::core::list< irr::scene::ISceneNode * >::insert_after(), irr::core::list< irr::scene::ISceneNode * >::insert_before(), irr::core::list< irr::scene::ISceneNode * >::push_back(), and irr::core::list< irr::scene::ISceneNode * >::push_front().
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::core::list< irr::scene::ISceneNode * >::insert_after(), irr::core::list< irr::scene::ISceneNode * >::insert_before(), irr::core::list< irr::scene::ISceneNode * >::push_back(), and irr::core::list< irr::scene::ISceneNode * >::push_front().
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< irr::scene::ISceneNode * >::clear(), and irr::core::list< irr::scene::ISceneNode * >::erase().
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< irr::scene::ISceneNode * >::clear(), and irr::core::list< irr::scene::ISceneNode * >::erase().
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< irr::scene::IMeshBuffer * >::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< irr::scene::IMeshBuffer * >::allocate().
The Irrlicht
Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated
on Sun Jan 10 09:24:09 2010 by Doxygen
(1.5.6) |