STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::BID< SIZE > Struct Template Reference

Detailed Description

template<unsigned SIZE>
struct stxxl::BID< SIZE >

Block identifier class.

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

Definition at line 42 of file bid.h.

+ Inheritance diagram for stxxl::BID< SIZE >:
+ Collaboration diagram for stxxl::BID< SIZE >:

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>
BIDoperator= (const BID< BlockSize > &obj)
 
bool valid () const
 

Public Attributes

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

Member Enumeration Documentation

template<unsigned SIZE>
anonymous enum
Enumerator
size 

Block size.

t_size 

Blocks size, given by the parameter.

Definition at line 44 of file bid.h.

Constructor & Destructor Documentation

template<unsigned SIZE>
stxxl::BID< SIZE >::BID ( )
inline

Definition at line 53 of file bid.h.

template<unsigned SIZE>
stxxl::BID< SIZE >::BID ( file s,
stxxl::int64  o 
)
inline

Definition at line 61 of file bid.h.

template<unsigned SIZE>
stxxl::BID< SIZE >::BID ( const BID< SIZE > &  obj)
inline

Definition at line 64 of file bid.h.

template<unsigned SIZE>
template<unsigned BlockSize>
stxxl::BID< SIZE >::BID ( const BID< BlockSize > &  obj)
inlineexplicit

Definition at line 68 of file bid.h.

Member Function Documentation

template<unsigned SIZE>
bool stxxl::BID< SIZE >::is_managed ( ) const
inline

Definition at line 79 of file bid.h.

Referenced by stxxl::block_manager::delete_block().

template<unsigned SIZE>
template<unsigned BlockSize>
BID& stxxl::BID< SIZE >::operator= ( const BID< BlockSize > &  obj)
inline

Definition at line 72 of file bid.h.

template<unsigned SIZE>
bool stxxl::BID< SIZE >::valid ( ) const
inline

Member Data Documentation


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