Storage Engine API
mongo::DiskLoc56Bit Struct Reference

A variant of DiskLoc Used by the V1 bucket type. More...

#include <btree_ondisk.h>

Detailed Description

A variant of DiskLoc Used by the V1 bucket type.

Public Types

enum  { OurNullOfs = -2, OurMaxA = 0xffffff }
 

Public Member Functions

int & GETOFS ()
 
int getOfs () const
 
bool isNull () const
 
unsigned long long toLongLong () const
 
bool operator< (const DiskLoc56Bit &rhs) const
 
int compare (const DiskLoc56Bit &rhs) const
 
bool operator== (const DiskLoc56Bit &rhs) const
 
bool operator!= (const DiskLoc56Bit &rhs) const
 
bool operator== (const DiskLoc &rhs) const
 
bool operator!= (const DiskLoc &rhs) const
 
void Null ()
 
void operator= (const DiskLoc &loc)
 
RecordId toRecordId () const
 
 operator DiskLoc () const
 
std::string toString () const
 

Public Attributes

int ofs
 
unsigned char _a [3]
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
OurNullOfs 
OurMaxA 

Member Function Documentation

◆ compare()

int mongo::DiskLoc56Bit::compare ( const DiskLoc56Bit rhs) const
inline

◆ GETOFS()

int& mongo::DiskLoc56Bit::GETOFS ( )
inline

◆ getOfs()

int mongo::DiskLoc56Bit::getOfs ( ) const
inline

◆ isNull()

bool mongo::DiskLoc56Bit::isNull ( ) const
inline

◆ Null()

void mongo::DiskLoc56Bit::Null ( )
inline

◆ operator DiskLoc()

mongo::DiskLoc56Bit::operator DiskLoc ( ) const
inline

◆ operator!=() [1/2]

bool mongo::DiskLoc56Bit::operator!= ( const DiskLoc56Bit rhs) const
inline

◆ operator!=() [2/2]

bool mongo::DiskLoc56Bit::operator!= ( const DiskLoc rhs) const
inline

◆ operator<()

bool mongo::DiskLoc56Bit::operator< ( const DiskLoc56Bit rhs) const
inline

◆ operator=()

void mongo::DiskLoc56Bit::operator= ( const DiskLoc loc)

◆ operator==() [1/2]

bool mongo::DiskLoc56Bit::operator== ( const DiskLoc56Bit rhs) const
inline

◆ operator==() [2/2]

bool mongo::DiskLoc56Bit::operator== ( const DiskLoc rhs) const
inline

◆ toLongLong()

unsigned long long mongo::DiskLoc56Bit::toLongLong ( ) const
inline

◆ toRecordId()

RecordId mongo::DiskLoc56Bit::toRecordId ( ) const
inline

◆ toString()

std::string mongo::DiskLoc56Bit::toString ( ) const
inline

Member Data Documentation

◆ _a

unsigned char mongo::DiskLoc56Bit::_a[3]

◆ ofs

int mongo::DiskLoc56Bit::ofs

The documentation for this struct was generated from the following files: