library of assembled shared sources |
http://lass.cocamware.com |
#include <allocator.h>
Data Structures | |
struct | Node |
Public Member Functions | |
AllocatorSimpleBlock (size_t size) | |
~AllocatorSimpleBlock () | |
void * | allocate () |
void | deallocate (void *pointer) |
Private Member Functions | |
const bool | grow () |
AllocatorSimpleBlock (const AllocatorSimpleBlock &) | |
AllocatorSimpleBlock & | operator= (const AllocatorSimpleBlock &) |
Static Private Member Functions | |
static const size_t | blockSize (size_t size, size_t *pSize, size_t *pAllocationsPerBlock) |
Private Attributes | |
Node * | blocks_ |
Node * | pool_ |
size_t | size_ |
size_t | allocationsPerBlock_ |
Definition at line 938 of file allocator.h.
lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::AllocatorSimpleBlock | ( | size_t | size | ) | [inline] |
Definition at line 941 of file allocator.h.
lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::~AllocatorSimpleBlock | ( | ) | [inline] |
Definition at line 948 of file allocator.h.
References lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::Node::next.
lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::AllocatorSimpleBlock | ( | const AllocatorSimpleBlock< requestedBlockSize, FixedAllocator > & | ) | [private] |
void* lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::allocate | ( | ) | [inline] |
Definition at line 957 of file allocator.h.
References LASS_ASSERT, and lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::Node::next.
void lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::deallocate | ( | void * | pointer | ) | [inline] |
Definition at line 968 of file allocator.h.
References lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::Node::next.
const bool lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::grow | ( | ) | [inline, private] |
Definition at line 982 of file allocator.h.
References lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::Node::next.
static const size_t lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::blockSize | ( | size_t | size, | |
size_t * | pSize, | |||
size_t * | pAllocationsPerBlock | |||
) | [inline, static, private] |
Definition at line 1000 of file allocator.h.
AllocatorSimpleBlock& lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::operator= | ( | const AllocatorSimpleBlock< requestedBlockSize, FixedAllocator > & | ) | [private] |
Node* lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::blocks_ [private] |
Definition at line 1014 of file allocator.h.
Node* lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::pool_ [private] |
Definition at line 1015 of file allocator.h.
size_t lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::size_ [private] |
Definition at line 1016 of file allocator.h.
size_t lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >::allocationsPerBlock_ [private] |
Definition at line 1017 of file allocator.h.
Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by 1.5.7.1 |