#include <frame_memory.h>
Public Methods | |
pointer | address (reference value) const |
return address of values | |
const_pointer | address (const_reference value) const |
return address of values (const) | |
tSTLAllocator () throw () | |
standard constructor | |
tSTLAllocator (const tSTLAllocator &allocator) throw () | |
copy constructor | |
~tSTLAllocator () throw () | |
destructor | |
size_type | max_size () const throw () |
return maximum number of elements that can be allocated | |
pointer | allocate (size_type num, const_pointer hint=0) |
allocate but don't initialize num elements of type T | |
void | construct (pointer p, const T &value) |
initialize elements of allocated storage p with value value | |
void | destroy (pointer p) |
destroy elements of initialized storage p | |
void | deallocate (pointer p, size_type num) |
deallocate storage p of deleted elements | |
void | setmalloc (tMemoryAllocator *malloc) |
Setzt Adresse des assoziierten Memory-Allocators; muss vor Verwendung aufgerufen werden. | |
tMemoryAllocator * | getmalloc () const |
Gibt Adresse des assoziierten Memory-Allocators zurück. | |
Public Attributes | |
tMemoryAllocator * | _malloc |
zu verwendender Memory-Allocator |