library of assembled shared sources

http://lass.cocamware.com

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

A variable-size allocator built on top of a fixed-size allocator. More...

#include <allocator.h>


Public Member Functions

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

Private Types

typedef std::map< size_t,
FixedAllocator > 
TFixedAllocators

Private Member Functions

FixedAllocator & fixedAllocator (size_t size)

Private Attributes

TFixedAllocators fixedAllocators_


Detailed Description

template<typename FixedAllocator>
class lass::util::AllocatorVariable< FixedAllocator >

A variable-size allocator built on top of a fixed-size allocator.

Definition at line 359 of file allocator.h.


Member Typedef Documentation

template<typename FixedAllocator >
typedef std::map<size_t, FixedAllocator> lass::util::AllocatorVariable< FixedAllocator >::TFixedAllocators [private]

Definition at line 371 of file allocator.h.


Member Function Documentation

template<typename FixedAllocator >
void* lass::util::AllocatorVariable< FixedAllocator >::allocate ( size_t  size  )  [inline]

Definition at line 362 of file allocator.h.

template<typename FixedAllocator >
void lass::util::AllocatorVariable< FixedAllocator >::deallocate ( void *  mem,
size_t  size 
) [inline]

Definition at line 366 of file allocator.h.

template<typename FixedAllocator >
FixedAllocator& lass::util::AllocatorVariable< FixedAllocator >::fixedAllocator ( size_t  size  )  [inline, private]

Definition at line 373 of file allocator.h.


Field Documentation

template<typename FixedAllocator >
TFixedAllocators lass::util::AllocatorVariable< FixedAllocator >::fixedAllocators_ [private]

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