ExtentAllocationNode Struct Reference

ExtentAllocationNode is the allocation map for one extent in a RandomAllocationSegment. More...

#include <RandomAllocationSegmentImpl.h>

Inheritance diagram for ExtentAllocationNode:

StoredNode List of all members.

Public Member Functions

PageEntrygetPageEntry (uint i)
PageEntry const & getPageEntry (uint i) const

Public Attributes

MagicNumber magicNumber
 Magic number identifying the derived StoredNode class.

Static Public Attributes

static const MagicNumber MAGIC_NUMBER = 0xb9ca99dced182239LL

Detailed Description

ExtentAllocationNode is the allocation map for one extent in a RandomAllocationSegment.

Definition at line 39 of file RandomAllocationSegmentImpl.h.


Member Function Documentation

PageEntry& ExtentAllocationNode::getPageEntry ( uint  i  )  [inline]

Definition at line 44 of file RandomAllocationSegmentImpl.h.

00045     {
00046         return reinterpret_cast<PageEntry *>(this+1)[i];
00047     }

PageEntry const& ExtentAllocationNode::getPageEntry ( uint  i  )  const [inline]

Definition at line 49 of file RandomAllocationSegmentImpl.h.

00050     {
00051         return reinterpret_cast<PageEntry const *>(this+1)[i];
00052     }


Member Data Documentation

const MagicNumber ExtentAllocationNode::MAGIC_NUMBER = 0xb9ca99dced182239LL [static]

Definition at line 42 of file RandomAllocationSegmentImpl.h.

MagicNumber StoredNode::magicNumber [inherited]

Magic number identifying the derived StoredNode class.

Definition at line 394 of file SegPageLock.h.

Referenced by Database::init(), and BTreeVerifier::verifyNode().


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