AllocationPage Class Reference

Class used internally by FileHandle to store header information. More...

#include <AllocationPage.h>

List of all members.

Public Member Functions

int getFirstPage (bool isFree)
int getLastPage (bool isFree)
int getNextPage (int pageNo, bool isFree)
int getPrevPage (int pageNo, bool isFree)
bool isPageFree (int pageNo)
ReturnCode markPageFree (int pageNo, bool isFree)
uint getAllocatedPageCount ()
ReturnCode serialize (char *buffer)

Static Public Member Functions

static ReturnCode deserialize (const char *buffer, AllocationPage *page)

Static Public Attributes

static const uint VERSION = 2
static const int BITMAP_SIZE = PF_PAGE_SIZE - sizeof(uint)
static const int RANGE_SIZE = BITMAP_SIZE*CHAR_BIT


Detailed Description

Class used internally by FileHandle to store header information.
The documentation for this class was generated from the following files:

Generated on Mon May 16 17:05:06 2011 by  doxygen 1.5.6