WiscDB
 All Classes Namespaces Functions Variables Typedefs Enumerations 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 24 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 51 of file file.h.


Member Data Documentation

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

Definition at line 43 of file file.h.

Page number of the first used page in the file.

Definition at line 33 of file file.h.

Number of free pages (allocated but unused) in the file.

Definition at line 38 of file file.h.

Number of pages allocated in the file.

Definition at line 28 of file file.h.


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