STXXL
1.4.1
|
Block identifier class.
Stores block identity, given by file and offset within the file
Public Types | |
enum | { size = Size, t_size = Size } |
Public Member Functions | |
BID () | |
BID (file *s, stxxl::int64 o) | |
BID (const BID &obj) | |
template<unsigned BlockSize> | |
BID (const BID< BlockSize > &obj) | |
bool | is_managed () const |
template<unsigned BlockSize> | |
BID & | operator= (const BID< BlockSize > &obj) |
bool | valid () const |
Public Attributes | |
stxxl::int64 | offset |
offset within the file of the block More... | |
file * | storage |
pointer to the file of the block More... | |
anonymous enum |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 79 of file bid.h.
Referenced by stxxl::block_manager::delete_block().
|
inline |
|
inline |
Definition at line 55 of file bid.h.
Referenced by stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::decrement_iterator().
stxxl::int64 stxxl::BID< Size >::offset |
offset within the file of the block
Definition at line 50 of file bid.h.
Referenced by stxxl::disk_allocator::delete_block(), stxxl::block_manager::delete_block(), stxxl::disk_allocator::new_blocks(), stxxl::operator!=(), stxxl::BID< raw_size >::operator=(), stxxl::operator==(), stxxl::typed_block< RawSize, Type, NRef, MetaInfoType >::read(), and stxxl::typed_block< RawSize, Type, NRef, MetaInfoType >::write().
file* stxxl::BID< Size >::storage |
pointer to the file of the block
Definition at line 49 of file bid.h.
Referenced by stxxl::block_manager::delete_block(), stxxl::operator!=(), stxxl::BID< raw_size >::operator=(), stxxl::operator==(), stxxl::typed_block< RawSize, Type, NRef, MetaInfoType >::read(), and stxxl::typed_block< RawSize, Type, NRef, MetaInfoType >::write().