SparseBitmapDirectory Struct Reference

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

List of all members.

Public Member Functions

SparseBitmapDirEntry const * getEntriesForRead () const
 
Returns:
read-only reference to array of directory entries on this page

SparseBitmapDirEntrygetEntriesForWrite ()
 
Returns:
read/write reference to array of directory entries on this page


Public Attributes

uint nEntries
 Number of SparseBitmapDirEntry items currently filled on this page.

Static Public Attributes

static const fennel::MagicNumber MAGIC_NUMBER = 0x82009900461412f0LL


Detailed Description

Page header data structure for a sparse bitmap directory node.

Definition at line 64 of file SparseBitmapTest.cpp.


Member Function Documentation

SparseBitmapDirEntry const* SparseBitmapDirectory::getEntriesForRead (  )  const [inline]

Returns:
read-only reference to array of directory entries on this page

Definition at line 77 of file SparseBitmapTest.cpp.

Referenced by SparseBitmap::searchDirectory().

00078     {
00079         return reinterpret_cast<SparseBitmapDirEntry const *>(
00080             this + 1);
00081     }

SparseBitmapDirEntry* SparseBitmapDirectory::getEntriesForWrite (  )  [inline]

Returns:
read/write reference to array of directory entries on this page

Definition at line 87 of file SparseBitmapTest.cpp.

Referenced by SparseBitmap::setBit().

00088     {
00089         return reinterpret_cast<SparseBitmapDirEntry *>(
00090             this + 1);
00091     }


Member Data Documentation

const fennel::MagicNumber SparseBitmapDirectory::MAGIC_NUMBER = 0x82009900461412f0LL [static]

Definition at line 66 of file SparseBitmapTest.cpp.

uint SparseBitmapDirectory::nEntries

Number of SparseBitmapDirEntry items currently filled on this page.

Definition at line 71 of file SparseBitmapTest.cpp.

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


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