mongo::DiskLoc Class Reference
#include <diskloc.h>
List of all members.
Detailed Description
represents a disk location/offset on disk in a database. 64 bits. it is assumed these will be passed around by value a lot so don't do anything to make them large (such as adding a virtual function)
Definition at line 40 of file diskloc.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
mongo::DiskLoc::DiskLoc |
( |
int |
a, |
|
|
int |
b | |
|
) |
| | [inline] |
mongo::DiskLoc::DiskLoc |
( |
|
) |
[inline] |
mongo::DiskLoc::DiskLoc |
( |
const DiskLoc & |
l |
) |
[inline] |
Member Function Documentation
int mongo::DiskLoc::a |
( |
|
) |
const [inline] |
void mongo::DiskLoc::assertOk |
( |
|
) |
[inline] |
const BtreeBucket * mongo::DiskLoc::btree |
( |
|
) |
const [inline] |
int mongo::DiskLoc::compare |
( |
const DiskLoc & |
b |
) |
const [inline] |
Extent * mongo::DiskLoc::ext |
( |
|
) |
const [inline] |
int mongo::DiskLoc::getOfs |
( |
|
) |
const [inline] |
int& mongo::DiskLoc::GETOFS |
( |
|
) |
[inline] |
void mongo::DiskLoc::inc |
( |
int |
amt |
) |
[inline] |
bool mongo::DiskLoc::isNull |
( |
|
) |
const [inline] |
bool mongo::DiskLoc::isValid |
( |
|
) |
const [inline] |
void mongo::DiskLoc::Null |
( |
|
) |
[inline] |
BSONObj mongo::DiskLoc::obj |
( |
|
) |
const [inline] |
bool mongo::DiskLoc::operator!= |
( |
const DiskLoc & |
b |
) |
const [inline] |
bool mongo::DiskLoc::operator< |
( |
const DiskLoc & |
b |
) |
const [inline] |
const DiskLoc& mongo::DiskLoc::operator= |
( |
const DiskLoc & |
b |
) |
[inline] |
bool mongo::DiskLoc::operator== |
( |
const DiskLoc & |
b |
) |
const [inline] |
bool mongo::DiskLoc::questionable |
( |
|
) |
const [inline] |
Record * mongo::DiskLoc::rec |
( |
|
) |
const [inline] |
bool mongo::DiskLoc::sameFile |
( |
DiskLoc |
b |
) |
[inline] |
void mongo::DiskLoc::set |
( |
int |
a, |
|
|
int |
b | |
|
) |
| | [inline] |
void mongo::DiskLoc::setInvalid |
( |
|
) |
[inline] |
BSONObj mongo::DiskLoc::toBSONObj |
( |
|
) |
const [inline] |
string mongo::DiskLoc::toString |
( |
|
) |
const [inline] |
DiskLoc & mongo::DiskLoc::writing |
( |
|
) |
const [inline] |
Marks this disk loc for writing
- Returns:
- a non const reference to this disk loc This function explicitly signals we are writing and casts away const
declare that we are modifying a diskloc and this is a datafile write.
Definition at line 199 of file dur.h.
Member Data Documentation
The documentation for this class was generated from the following files: