RID Class Reference

#include <RID.h>

List of all members.


Detailed Description

Record identifier.

Identifies a record id within a heap file. Contains a page id and a slot number.

Author:
Dave Musicant, with considerable material reused from the UW-Madison Minibase project


Public Member Functions

 RID ()
 Default constructor.
 RID (int pageId, int slotNum)
 Constructor.

Public Attributes

int pageId
 Page identification number.
int slotNum
 Slot number with a heap file page.


Constructor & Destructor Documentation

RID::RID (  ) 

Default constructor.

Assigns INVALID_PAGE and INVALID_SLOT as values.

RID::RID ( int  pageId,
int  slotNum 
)

Constructor.

Parameters:
pageId the page id.
slotNum the slot number.


Generated on Thu Aug 30 08:39:23 2007 for Minibase by  doxygen 1.4.7