Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

tSTLAllocator< T > Class Template Reference

Adapter zu tMemoryAllocator zur Verwendung mit der STL-Library. More...

#include <frame_memory.h>

List of all members.

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.

tMemoryAllocatorgetmalloc () const
 Gibt Adresse des assoziierten Memory-Allocators zurück.


Public Attributes

tMemoryAllocator_malloc
 zu verwendender Memory-Allocator


Detailed Description

template<class T>
class tSTLAllocator< T >

Adapter zu tMemoryAllocator zur Verwendung mit der STL-Library.


The documentation for this class was generated from the following file:
Generated on Wed Sep 3 08:36:34 2003 for STL shared memory allocator by doxygen1.2.18