Public Types | Public Member Functions | Public Attributes

BID< SIZE > Struct Template Reference
[Block management layer]

Block identifier class. More...

#include <bid.h>

Inheritance diagram for BID< SIZE >:
Inheritance graph
[legend]
Collaboration diagram for BID< SIZE >:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { size = SIZE, t_size = SIZE }

Public Member Functions

bool valid () const
 BID (file *s, stxxl::int64 o)
 BID (const BID &obj)
template<unsigned BlockSize>
 BID (const BID< BlockSize > &obj)
template<unsigned BlockSize>
BIDoperator= (const BID< BlockSize > &obj)
bool is_managed () const

Public Attributes

filestorage
 pointer to the file of the block
stxxl::int64 offset
 offset within the file of the block

Detailed Description

template<unsigned SIZE>
struct BID< SIZE >

Block identifier class.

Stores block identity, given by file and offset within the file


Member Enumeration Documentation

template<unsigned SIZE>
anonymous enum
Enumerator:
size 

Block size.

t_size 

Blocks size, given by the parameter.


Member Data Documentation

template<unsigned SIZE>
stxxl::int64 BID< SIZE >::offset
template<unsigned SIZE>
file* BID< SIZE >::storage

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