VersionedExtentAllocationNode Struct Reference

VersionedExtentAllocationNode is the allocation map for one extent in a VersionedRandomAllocationSegment. More...

#include <VersionedRandomAllocationSegmentImpl.h>

Inheritance diagram for VersionedExtentAllocationNode:

StoredNode List of all members.

Public Member Functions

VersionedPageEntrygetPageEntry (uint i)
VersionedPageEntry const & getPageEntry (uint i) const

Public Attributes

MagicNumber magicNumber
 Magic number identifying the derived StoredNode class.

Static Public Attributes

static const MagicNumber MAGIC_NUMBER = 0xbfc76ee9882a1be6LL

Detailed Description

VersionedExtentAllocationNode is the allocation map for one extent in a VersionedRandomAllocationSegment.

Definition at line 41 of file VersionedRandomAllocationSegmentImpl.h.


Member Function Documentation

VersionedPageEntry& VersionedExtentAllocationNode::getPageEntry ( uint  i  )  [inline]

Definition at line 46 of file VersionedRandomAllocationSegmentImpl.h.

Referenced by VersionedRandomAllocationSegment::backupAllocationNodes(), VersionedRandomAllocationSegment::chainPageEntries(), VersionedRandomAllocationSegment::copyPageEntryFromTemp(), VersionedRandomAllocationSegment::copyPageEntryToTemp(), VersionedRandomAllocationSegment::deferDeallocation(), VersionedRandomAllocationSegment::getOldestTxnId(), VersionedRandomAllocationSegment::getOldPageIds(), VersionedRandomAllocationSegment::initPageEntry(), VersionedRandomAllocationSegment::locateDataPages(), VersionedRandomAllocationSegment::uncommittedDeallocation(), VersionedRandomAllocationSegment::updateTempPageEntry(), and VersionedRandomAllocationSegment::validateFreePageCount().

00047     {
00048         return reinterpret_cast<VersionedPageEntry *>(this+1)[i];
00049     }

VersionedPageEntry const& VersionedExtentAllocationNode::getPageEntry ( uint  i  )  const [inline]

Definition at line 51 of file VersionedRandomAllocationSegmentImpl.h.

00052     {
00053         return reinterpret_cast<VersionedPageEntry const *>(this+1)[i];
00054     }


Member Data Documentation

const MagicNumber VersionedExtentAllocationNode::MAGIC_NUMBER = 0xbfc76ee9882a1be6LL [static]

Definition at line 44 of file VersionedRandomAllocationSegmentImpl.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:49 2009 for Fennel by  doxygen 1.5.1