library of assembled shared sources

http://lass.cocamware.com

lass::util::AllocatorFreeList< FixedAllocator > Class Template Reference
[Allocator]

A fixed-size free-list allocator. More...

#include <allocator.h>

Collaboration diagram for lass::util::AllocatorFreeList< FixedAllocator >:

Collaboration graph
[legend]

Data Structures

struct  AllocationNode

Public Member Functions

 AllocatorFreeList (size_t iSize)
 ~AllocatorFreeList ()
 AllocatorFreeList (const AllocatorFreeList &iOther)
void * allocate ()
void deallocate (void *iPointer)

Private Member Functions

AllocatorFreeListoperator= (AllocatorFreeList &)

Private Attributes

AllocationNodetop_

Detailed Description

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
class lass::util::AllocatorFreeList< FixedAllocator >

A fixed-size free-list allocator.

Definition at line 790 of file allocator.h.


Constructor & Destructor Documentation

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
lass::util::AllocatorFreeList< FixedAllocator >::AllocatorFreeList ( size_t  iSize  )  [inline]

Definition at line 793 of file allocator.h.

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
lass::util::AllocatorFreeList< FixedAllocator >::~AllocatorFreeList (  )  [inline]

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
lass::util::AllocatorFreeList< FixedAllocator >::AllocatorFreeList ( const AllocatorFreeList< FixedAllocator > &  iOther  )  [inline]

Definition at line 807 of file allocator.h.


Member Function Documentation

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
void* lass::util::AllocatorFreeList< FixedAllocator >::allocate (  )  [inline]

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
void lass::util::AllocatorFreeList< FixedAllocator >::deallocate ( void *  iPointer  )  [inline]

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
AllocatorFreeList& lass::util::AllocatorFreeList< FixedAllocator >::operator= ( AllocatorFreeList< FixedAllocator > &   )  [private]


Field Documentation

template<typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
AllocationNode* lass::util::AllocatorFreeList< FixedAllocator >::top_ [private]

Definition at line 837 of file allocator.h.


The documentation for this class was generated from the following file:

Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo