Electroneum
Public Member Functions | Private Attributes | List of all members
cryptonote::bdb_txn_safe Struct Reference

#include <db_bdb.h>

Public Member Functions

 bdb_txn_safe ()
 
 ~bdb_txn_safe ()
 
void commit (std::string message="")
 
void abort ()
 
 operator DbTxn * ()
 
 operator DbTxn ** ()
 

Private Attributes

DbTxn * m_txn
 

Constructor & Destructor Documentation

◆ bdb_txn_safe()

cryptonote::bdb_txn_safe::bdb_txn_safe ( )
inline

◆ ~bdb_txn_safe()

cryptonote::bdb_txn_safe::~bdb_txn_safe ( )
inline

Member Function Documentation

◆ abort()

void cryptonote::bdb_txn_safe::abort ( )
inline

◆ commit()

void cryptonote::bdb_txn_safe::commit ( std::string  message = "")
inline

◆ operator DbTxn *()

cryptonote::bdb_txn_safe::operator DbTxn * ( )
inline

◆ operator DbTxn **()

cryptonote::bdb_txn_safe::operator DbTxn ** ( )
inline

Member Data Documentation

◆ m_txn

DbTxn* cryptonote::bdb_txn_safe::m_txn
private

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