offset_allocator< BaseAllocator_ > Struct Template Reference
[Allocation functors]

Allocator functor adaptor. More...

#include <mng.h>

List of all members.

Public Member Functions

 offset_allocator (int_type offset_)
 Creates functor based on BaseAllocator_ functor created with default constructor with offset offset_.
 offset_allocator (int_type offset_, BaseAllocator_ &base_)
 Creates functor based on instance of BaseAllocator_ functor with offset offset_.


Detailed Description

template<class BaseAllocator_>
struct offset_allocator< BaseAllocator_ >

Allocator functor adaptor.

Gives offset to disk number sequence defined in constructor


Constructor & Destructor Documentation

template<class BaseAllocator_>
offset_allocator< BaseAllocator_ >::offset_allocator ( int_type  offset_  )  [inline]

Creates functor based on BaseAllocator_ functor created with default constructor with offset offset_.

Parameters:
offset_ offset

template<class BaseAllocator_>
offset_allocator< BaseAllocator_ >::offset_allocator ( int_type  offset_,
BaseAllocator_ &  base_ 
) [inline]

Creates functor based on instance of BaseAllocator_ functor with offset offset_.

Parameters:
offset_ offset
base_ used to create a copy


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

Generated on Wed Apr 21 06:45:47 2010 for Stxxl by  doxygen 1.5.6