WiscDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Member Functions | Public Attributes
wiscdb::RecordId Struct Reference

Identifier for a record in a page. More...

#include <types.h>

List of all members.

Public Member Functions

bool operator== (const RecordId &rhs) const
bool operator!= (const RecordId &rhs) const

Public Attributes

PageId page_number
SlotId slot_number

Detailed Description

Identifier for a record in a page.

Definition at line 30 of file types.h.


Member Function Documentation

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

Returns true if this record ID is different from the record as the given ID.

Parameters:
rhsRecord ID to compare against.
Returns:
Whether the other ID is different from record as this one.

Definition at line 57 of file types.h.

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

Returns true if this record ID refers to the same record as the given ID.

Parameters:
rhsRecord ID to compare against.
Returns:
Whether the other ID refers to the same record as this one.

Definition at line 47 of file types.h.


Member Data Documentation

Number of page containing this record.

Definition at line 34 of file types.h.

Number of slot within the page containing this record.

Definition at line 39 of file types.h.


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