#include <allocator.h>
Public Types | |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef T | value_type |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
MPAllocator (MemoryPool &mp) | |
template<class U> | |
MPAllocator (const MPAllocator< U > &allocator) | |
~MPAllocator () | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
MemoryPool & | getMemoryPool () const |
pointer | allocate (size_type n, const void *=0) |
void | deallocate (void *p, size_type) |
size_type | max_size () const |
void | construct (pointer p, const value_type &x) |
void | destroy (pointer p) |
template<class U> | |
bool | operator== (const MPAllocator< U > &allocator) |
template<class U> | |
bool | operator!= (const MPAllocator< U > &allocator) |
Classes | |
struct | rebind |
typedef T* tl.MPAllocator< T >.pointer |
typedef const T* tl.MPAllocator< T >.const_pointer |
typedef T& tl.MPAllocator< T >.reference |
typedef const T& tl.MPAllocator< T >.const_reference |
typedef T tl.MPAllocator< T >.value_type |
typedef size_t tl.MPAllocator< T >.size_type |
typedef ptrdiff_t tl.MPAllocator< T >.difference_type |
tl.MPAllocator< T >.MPAllocator | ( | MemoryPool & | mp | ) |
tl.MPAllocator< T >.MPAllocator | ( | const MPAllocator< U > & | allocator | ) |
tl.MPAllocator< T >.~MPAllocator | ( | ) |
pointer tl.MPAllocator< T >.address | ( | reference | x | ) | const |
const_pointer tl.MPAllocator< T >.address | ( | const_reference | x | ) | const |
MemoryPool& tl.MPAllocator< T >.getMemoryPool | ( | ) | const |
pointer tl.MPAllocator< T >.allocate | ( | size_type | n, | |
const void * | = 0 | |||
) |
void tl.MPAllocator< T >.deallocate | ( | void * | p, | |
size_type | ||||
) |
size_type tl.MPAllocator< T >.max_size | ( | ) | const |
void tl.MPAllocator< T >.construct | ( | pointer | p, | |
const value_type & | x | |||
) |
void tl.MPAllocator< T >.destroy | ( | pointer | p | ) |
bool tl.MPAllocator< T >.operator== | ( | const MPAllocator< U > & | allocator | ) |
bool tl.MPAllocator< T >.operator!= | ( | const MPAllocator< U > & | allocator | ) |
Genereated on Tue Mar 11 19:25:43 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.