Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::lmdblib::DBStats Struct Reference

#include <types.hpp>

Public Member Functions

 DBStats ()=default
 
 DBStats (const DBStats &other)=default
 
 DBStats (DBStats &&other) noexcept
 
 ~DBStats ()=default
 
 DBStats (std::string name, MDB_stat &stat)
 
 DBStats (const std::string &name, uint64_t numDataItems, uint64_t totalUsedSize)
 
bool operator== (const DBStats &other) const
 
DBStatsoperator= (const DBStats &other)=default
 
DBStatsoperator= (DBStats &&other) noexcept
 

Public Attributes

std::string name
 
uint64_t numDataItems
 
uint64_t totalUsedSize
 

Friends

std::ostream & operator<< (std::ostream &os, const DBStats &stats)
 

Detailed Description

Definition at line 22 of file types.hpp.

Constructor & Destructor Documentation

◆ DBStats() [1/5]

bb::lmdblib::DBStats::DBStats ( )
default

◆ DBStats() [2/5]

bb::lmdblib::DBStats::DBStats ( const DBStats other)
default

◆ DBStats() [3/5]

bb::lmdblib::DBStats::DBStats ( DBStats &&  other)
inlinenoexcept

Definition at line 29 of file types.hpp.

◆ ~DBStats()

bb::lmdblib::DBStats::~DBStats ( )
default

◆ DBStats() [4/5]

bb::lmdblib::DBStats::DBStats ( std::string  name,
MDB_stat &  stat 
)
inline

Definition at line 31 of file types.hpp.

◆ DBStats() [5/5]

bb::lmdblib::DBStats::DBStats ( const std::string &  name,
uint64_t  numDataItems,
uint64_t  totalUsedSize 
)
inline

Definition at line 36 of file types.hpp.

Member Function Documentation

◆ operator=() [1/2]

DBStats & bb::lmdblib::DBStats::operator= ( const DBStats other)
default

◆ operator=() [2/2]

DBStats & bb::lmdblib::DBStats::operator= ( DBStats &&  other)
inlinenoexcept

Definition at line 51 of file types.hpp.

◆ operator==()

bool bb::lmdblib::DBStats::operator== ( const DBStats other) const
inline

Definition at line 44 of file types.hpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const DBStats stats 
)
friend

Definition at line 61 of file types.hpp.

Member Data Documentation

◆ name

std::string bb::lmdblib::DBStats::name

Definition at line 23 of file types.hpp.

◆ numDataItems

uint64_t bb::lmdblib::DBStats::numDataItems

Definition at line 24 of file types.hpp.

◆ totalUsedSize

uint64_t bb::lmdblib::DBStats::totalUsedSize

Definition at line 25 of file types.hpp.


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