Zero  0.1.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
generic_page_h Class Reference

Page handle class for any page type. More...

#include <generic_page.h>

Inheritance diagram for generic_page_h:
fixable_page_h btree_page_h borrowed_btree_page_h

Public Member Functions

 generic_page_h (generic_page *s)
 
virtual ~generic_page_h ()
 
generic_pageget_generic_page () const
 return pointer to underlying page More...
 
PageID pid () const
 
StoreID store () const
 
page_tag_t tag () const
 
const lsn_tlsn () const
 

Protected Member Functions

 generic_page_h (generic_page *s, const PageID &pid, page_tag_t tag, StoreID store)
 

Protected Attributes

generic_page_pp
 The actual page we are handling; may be NULL for fixable pages. More...
 

Detailed Description

Page handle class for any page type.

This is the root superclass of all the Zero page handle classes. It provides operations on the fields common to all pages.

Constructor & Destructor Documentation

§ generic_page_h() [1/2]

generic_page_h::generic_page_h ( generic_page s)
inline

§ ~generic_page_h()

virtual generic_page_h::~generic_page_h ( )
inlinevirtual

§ generic_page_h() [2/2]

generic_page_h::generic_page_h ( generic_page s,
const PageID pid,
page_tag_t  tag,
StoreID  store 
)
inlineprotected

Member Function Documentation

§ get_generic_page()

generic_page* generic_page_h::get_generic_page ( ) const
inline

return pointer to underlying page

§ lsn()

const lsn_t& generic_page_h::lsn ( ) const
inline

§ pid()

PageID generic_page_h::pid ( ) const
inline

§ store()

StoreID generic_page_h::store ( ) const
inline

§ tag()

page_tag_t generic_page_h::tag ( ) const
inline

Member Data Documentation

§ _pp

generic_page* generic_page_h::_pp
protected

The actual page we are handling; may be NULL for fixable pages.


The documentation for this class was generated from the following file: