WiscDB
 All Classes Functions Variables Friends
Public Member Functions | Public Attributes
wiscdb::FileHeader Struct Reference

Header metadata for files on disk which contain pages. More...

#include <file.h>

List of all members.

Public Member Functions

bool operator== (const FileHeader &rhs) const

Public Attributes

PageId num_pages
PageId first_used_page
PageId num_free_pages
PageId first_free_page

Detailed Description

Header metadata for files on disk which contain pages.

Definition at line 22 of file file.h.


Member Function Documentation

bool wiscdb::FileHeader::operator== ( const FileHeader rhs) const [inline]

Returns true if this file header is equal to the other.

Parameters:
rhsOther file header to compare against.
Returns:
True if the other header is equal to this one.

Definition at line 49 of file file.h.


Member Data Documentation

Page number of the first free (allocated but unused) page in the file.

Definition at line 41 of file file.h.

Page number of the first used page in the file.

Definition at line 31 of file file.h.

Number of free pages (allocated but not completely used) in the file.

Definition at line 36 of file file.h.

Number of pages allocated in the file.

Definition at line 26 of file file.h.


The documentation for this struct was generated from the following file:
 All Classes Functions Variables Friends