zenilib
0.5.3.0
|
#include <PoolAlloc.h>
Classes | |
struct | rebind |
Public Types | |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef ptrdiff_t | difference_type |
typedef T * | pointer |
typedef T & | reference |
typedef size_t | size_type |
typedef T | value_type |
Public Member Functions | |
pool_allocator () | |
pool_allocator (TPoolAllocator &a) | |
pool_allocator (const pool_allocator< T > &p) | |
template<class Other > | |
pool_allocator (const pool_allocator< Other > &p) | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n) |
pointer | allocate (size_type n, const void *) |
void | construct (pointer p, const T &val) |
void | deallocate (pointer, size_type) |
void | destroy (pointer p) |
TPoolAllocator & | getAllocator () const |
size_type | max_size () const |
size_type | max_size (int size) const |
bool | operator!= (const pool_allocator &rhs) const |
template<class Other > | |
pool_allocator< T > & | operator= (const pool_allocator< Other > &p) |
bool | operator== (const pool_allocator &rhs) const |
void | setAllocator (TPoolAllocator *a) |
Protected Attributes | |
TPoolAllocator * | allocator |
Definition at line 233 of file PoolAlloc.h.
typedef const T* pool_allocator< T >::const_pointer |
Definition at line 238 of file PoolAlloc.h.
typedef const T& pool_allocator< T >::const_reference |
Definition at line 240 of file PoolAlloc.h.
typedef ptrdiff_t pool_allocator< T >::difference_type |
Definition at line 236 of file PoolAlloc.h.
typedef T* pool_allocator< T >::pointer |
Definition at line 237 of file PoolAlloc.h.
typedef T& pool_allocator< T >::reference |
Definition at line 239 of file PoolAlloc.h.
typedef size_t pool_allocator< T >::size_type |
Definition at line 235 of file PoolAlloc.h.
typedef T pool_allocator< T >::value_type |
Definition at line 241 of file PoolAlloc.h.
|
inline |
Definition at line 250 of file PoolAlloc.h.
|
inline |
Definition at line 251 of file PoolAlloc.h.
|
inline |
Definition at line 252 of file PoolAlloc.h.
|
inline |
Definition at line 261 of file PoolAlloc.h.
|
inline |
Definition at line 247 of file PoolAlloc.h.
|
inline |
Definition at line 248 of file PoolAlloc.h.
|
inline |
Definition at line 275 of file PoolAlloc.h.
References TPoolAllocator::allocate(), and pool_allocator< T >::getAllocator().
|
inline |
Definition at line 278 of file PoolAlloc.h.
References TPoolAllocator::allocate(), and pool_allocator< T >::getAllocator().
|
inline |
Definition at line 284 of file PoolAlloc.h.
|
inline |
Definition at line 281 of file PoolAlloc.h.
|
inline |
Definition at line 285 of file PoolAlloc.h.
|
inline |
Definition at line 294 of file PoolAlloc.h.
References pool_allocator< T >::allocator.
Referenced by pool_allocator< T >::allocate(), pool_allocator< T >::operator!=(), and pool_allocator< T >::operator==().
|
inline |
Definition at line 290 of file PoolAlloc.h.
|
inline |
Definition at line 291 of file PoolAlloc.h.
|
inline |
Definition at line 288 of file PoolAlloc.h.
References pool_allocator< T >::getAllocator().
|
inline |
Definition at line 255 of file PoolAlloc.h.
References pool_allocator< T >::allocator.
|
inline |
Definition at line 287 of file PoolAlloc.h.
References pool_allocator< T >::getAllocator().
|
inline |
Definition at line 293 of file PoolAlloc.h.
References pool_allocator< T >::allocator.
|
protected |
Definition at line 297 of file PoolAlloc.h.
Referenced by pool_allocator< T >::getAllocator(), pool_allocator< T >::operator=(), and pool_allocator< T >::setAllocator().