STXXL
1.4.0
|
Allocator functor adaptor.
Gives offset to disk number sequence defined in constructor
Definition at line 221 of file block_alloc.h.
Public Member Functions | |
offset_allocator (int_type offset_, const BaseAllocator_ &base_) | |
Creates functor based on instance of BaseAllocator_ functor with offset offset_ . More... | |
offset_allocator (const BaseAllocator_ &base_) | |
Creates functor based on instance of BaseAllocator_ functor. More... | |
offset_allocator () | |
Creates functor based on default BaseAllocator_ functor. More... | |
int_type | get_offset () const |
unsigned_type | operator() (unsigned_type i) const |
void | set_offset (int_type i) |
Public Attributes | |
BaseAllocator_ | base |
int_type | offset |
|
inline |
Creates functor based on instance of BaseAllocator_
functor with offset offset_
.
offset_ | offset |
base_ | used to create a copy |
Definition at line 230 of file block_alloc.h.
|
inline |
Creates functor based on instance of BaseAllocator_
functor.
base_ | used to create a copy |
Definition at line 235 of file block_alloc.h.
|
inline |
Creates functor based on default BaseAllocator_
functor.
Definition at line 239 of file block_alloc.h.
|
inline |
Definition at line 247 of file block_alloc.h.
|
inline |
Definition at line 242 of file block_alloc.h.
|
inline |
Definition at line 252 of file block_alloc.h.
BaseAllocator_ stxxl::offset_allocator< BaseAllocator_ >::base |
Definition at line 223 of file block_alloc.h.
int_type stxxl::offset_allocator< BaseAllocator_ >::offset |
Definition at line 224 of file block_alloc.h.