STXXL
1.4.0
|
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 56 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 51 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 50 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().