PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CEvoDBScopedCommitter Class Reference

#include <evodb.h>

Collaboration diagram for CEvoDBScopedCommitter:
[legend]

Public Member Functions

 CEvoDBScopedCommitter (CEvoDB &_evoDB)
 
 ~CEvoDBScopedCommitter ()
 
void Commit ()
 
void Rollback ()
 

Private Attributes

CEvoDBevoDB
 
bool didCommitOrRollback {false}
 

Detailed Description

Definition at line 17 of file evodb.h.

Constructor & Destructor Documentation

◆ CEvoDBScopedCommitter()

CEvoDBScopedCommitter::CEvoDBScopedCommitter ( CEvoDB _evoDB)
explicit

Definition at line 12 of file evodb.cpp.

◆ ~CEvoDBScopedCommitter()

CEvoDBScopedCommitter::~CEvoDBScopedCommitter ( )

Definition at line 17 of file evodb.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Commit()

void CEvoDBScopedCommitter::Commit ( )

Definition at line 23 of file evodb.cpp.

Here is the call graph for this function:

◆ Rollback()

void CEvoDBScopedCommitter::Rollback ( )

Definition at line 30 of file evodb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ didCommitOrRollback

bool CEvoDBScopedCommitter::didCommitOrRollback {false}
private

Definition at line 21 of file evodb.h.

◆ evoDB

CEvoDB& CEvoDBScopedCommitter::evoDB
private

Definition at line 20 of file evodb.h.


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