library of assembled shared sources

http://lass.cocamware.com

lass::util::AllocatorFixed< VariableAllocator > Class Template Reference

fixes a variable-size allocator to one size. More...

#include <allocator.h>


Public Member Functions

 AllocatorFixed (size_t size)
void * allocate ()
void deallocate (void *mem)

Private Attributes

size_t size_


Detailed Description

template<typename VariableAllocator = AllocatorMalloc>
class lass::util::AllocatorFixed< VariableAllocator >

fixes a variable-size allocator to one size.

Definition at line 395 of file allocator.h.


Constructor & Destructor Documentation

template<typename VariableAllocator = AllocatorMalloc>
lass::util::AllocatorFixed< VariableAllocator >::AllocatorFixed ( size_t  size  )  [inline]

Definition at line 398 of file allocator.h.


Member Function Documentation

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

Definition at line 402 of file allocator.h.

template<typename VariableAllocator = AllocatorMalloc>
void lass::util::AllocatorFixed< VariableAllocator >::deallocate ( void *  mem  )  [inline]

Definition at line 406 of file allocator.h.


Field Documentation

template<typename VariableAllocator = AllocatorMalloc>
size_t lass::util::AllocatorFixed< VariableAllocator >::size_ [private]

Definition at line 411 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