Storage Engine API
mongo::SnapshotId Class Reference

#include <snapshot.h>

Public Member Functions

 SnapshotId ()
 
 SnapshotId (uint64_t id)
 
bool isNull () const
 
bool operator== (const SnapshotId &other) const
 
bool operator!= (const SnapshotId &other) const
 
std::string toString () const
 

Private Attributes

uint64_t _id
 

Static Private Attributes

static const uint64_t kNullId = 0
 

Constructor & Destructor Documentation

◆ SnapshotId() [1/2]

mongo::SnapshotId::SnapshotId ( )
inline

◆ SnapshotId() [2/2]

mongo::SnapshotId::SnapshotId ( uint64_t  id)
inlineexplicit

Member Function Documentation

◆ isNull()

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

◆ operator!=()

bool mongo::SnapshotId::operator!= ( const SnapshotId other) const
inline

◆ operator==()

bool mongo::SnapshotId::operator== ( const SnapshotId other) const
inline

◆ toString()

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

Member Data Documentation

◆ _id

uint64_t mongo::SnapshotId::_id
private

◆ kNullId

const uint64_t mongo::SnapshotId::kNullId = 0
staticprivate

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