SparseBitmapLeaf Struct Reference

Page header data structure for a sparse bitmap leaf node. More...

List of all members.

Public Member Functions

fennel::PConstBuffer getBytesForRead () const
 
Returns:
read-only reference to bytes containing bit array on this page

fennel::PBuffer getBytesForWrite ()
 
Returns:
read/write reference to bytes containing bit array on this page


Public Attributes

SparseBitmapOffset iStartOffset
 Start offset of bits contained by this leaf node.

Static Public Attributes

static const fennel::MagicNumber MAGIC_NUMBER = 0xba107d175b3338dcLL


Detailed Description

Page header data structure for a sparse bitmap leaf node.

Definition at line 102 of file SparseBitmapTest.cpp.


Member Function Documentation

fennel::PConstBuffer SparseBitmapLeaf::getBytesForRead (  )  const [inline]

Returns:
read-only reference to bytes containing bit array on this page

Definition at line 117 of file SparseBitmapTest.cpp.

Referenced by SparseBitmap::getBit().

00118     {
00119         return reinterpret_cast<fennel::PConstBuffer>(this + 1);
00120     }

fennel::PBuffer SparseBitmapLeaf::getBytesForWrite (  )  [inline]

Returns:
read/write reference to bytes containing bit array on this page

Definition at line 126 of file SparseBitmapTest.cpp.

Referenced by SparseBitmap::setBit().

00127     {
00128         return reinterpret_cast<fennel::PBuffer>(this + 1);
00129     }


Member Data Documentation

const fennel::MagicNumber SparseBitmapLeaf::MAGIC_NUMBER = 0xba107d175b3338dcLL [static]

Definition at line 104 of file SparseBitmapTest.cpp.

SparseBitmapOffset SparseBitmapLeaf::iStartOffset

Start offset of bits contained by this leaf node.

This is redundant (for sanity-checking and self-identification purposes); it should match the corresponding directory entry referencing this leaf.

Definition at line 111 of file SparseBitmapTest.cpp.

Referenced by SparseBitmap::getBit(), and SparseBitmap::setBit().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 22 04:00:47 2009 for Fennel by  doxygen 1.5.1