Class used internally by FileHandle to store header information. More...
#include <AllocationPage.h>
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 |
Class used internally by FileHandle to store header information.
1.6.3