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

Detailed Description

template<>
struct stxxl::BID< 0 >

Specialization of block identifier class (BID) for variable size block size.

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

Definition at line 89 of file bid.h.

+ Collaboration diagram for stxxl::BID< 0 >:

Public Types

enum  { t_size = 0 }
 

Public Member Functions

 BID ()
 
 BID (file *f, stxxl::int64 o, unsigned s)
 
bool valid () const
 

Public Attributes

stxxl::int64 offset
 offset within the file of the block More...
 
unsigned size
 size of the block in bytes More...
 
filestorage
 pointer to the file of the block More...
 

Member Enumeration Documentation

anonymous enum
Enumerator
t_size 

Blocks size, given by the parameter.

Definition at line 95 of file bid.h.

Constructor & Destructor Documentation

stxxl::BID< 0 >::BID ( )
inline

Definition at line 100 of file bid.h.

stxxl::BID< 0 >::BID ( file f,
stxxl::int64  o,
unsigned  s 
)
inline

Definition at line 103 of file bid.h.

Member Function Documentation

bool stxxl::BID< 0 >::valid ( ) const
inline

Definition at line 106 of file bid.h.

Member Data Documentation

stxxl::int64 stxxl::BID< 0 >::offset

offset within the file of the block

Definition at line 92 of file bid.h.

unsigned stxxl::BID< 0 >::size

size of the block in bytes

Definition at line 93 of file bid.h.

file* stxxl::BID< 0 >::storage

pointer to the file of the block

Definition at line 91 of file bid.h.


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