Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
stxxl::BID< 0 > Struct Template Reference

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

#include <bid.h>

Collaboration diagram for stxxl::BID< 0 >:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { t_size = 0 }

Public Member Functions

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

Public Attributes

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

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 88 of file bid.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
t_size 

Blocks size, given by the parameter.

Definition at line 94 of file bid.h.


Constructor & Destructor Documentation

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

Definition at line 99 of file bid.h.

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

Definition at line 102 of file bid.h.


Member Function Documentation

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

Definition at line 105 of file bid.h.


Member Data Documentation

offset within the file of the block

Definition at line 91 of file bid.h.

unsigned stxxl::BID< 0 >::size

size of the block in bytes

Definition at line 92 of file bid.h.

pointer to the file of the block

Definition at line 90 of file bid.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines