|
Modules |
| Block scheduling sublayer |
| Allocation functors |
Classes |
struct | BID< SIZE > |
| Stores block identity, given by file and offset within the file. More...
|
struct | BID< 0 > |
| Stores block identity, given by file, offset within the file, and size of the block. More...
|
class | element_block< T, Size_ > |
| Contains data elements for stxxl::typed_block , not intended for direct use. More...
|
class | block_w_bids< T, Size_, RawSize_, NBids_ > |
| Contains BID references for stxxl::typed_block , not intended for direct use. More...
|
class | block_w_info< T_, RawSize_, NBids_, InfoType_ > |
| Contains per block information for stxxl::typed_block , not intended for direct use. More...
|
class | typed_block< RawSize_, T_, NRef_, InfoType_ > |
| Block containing elements of fixed length. More...
|
class | config |
| Access point to disks properties. More...
|
class | block_manager |
| Block manager class. More...
|
Functions |
template<class BlockType, class DiskAssgnFunctor, class BIDIteratorClass> |
void | block_manager::new_blocks (const unsigned_type nblocks, DiskAssgnFunctor functor, BIDIteratorClass out) |
template<class DiskAssgnFunctor, class BIDIteratorClass> |
void | block_manager::new_blocks (DiskAssgnFunctor functor, BIDIteratorClass bidbegin, BIDIteratorClass bidend) |
| Allocates new blocks.
|
template<unsigned BLK_SIZE> |
void | block_manager::delete_block (const BID< BLK_SIZE > &bid) |
| Deallocates a block.
|
template<class BIDIteratorClass> |
void | block_manager::delete_blocks (const BIDIteratorClass &bidbegin, const BIDIteratorClass &bidend) |
| Deallocates blocks.
|
template<class BlockType, class DiskAssgnFunctor, class OutputIterator>
void block_manager::new_blocks |
( |
const unsigned_type |
nblocks, |
|
|
DiskAssgnFunctor |
functor, |
|
|
BIDIteratorClass |
out | |
|
) |
| | [inherited] |
Allocates new blocks according to the strategy given by functor and stores block identifiers to the output iterator out
- Parameters:
-
| nblocks | the number of blocks to allocate |
| functor | object of model of allocation_strategy concept |
| out | iterator object of OutputIterator concept |
The
BlockType
template parameter defines the type of block to allocate