Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
CEvoDBScopedCommitter Class Reference
#include <evodb.h>
Collaboration diagram for CEvoDBScopedCommitter:
Public Member Functions | |
CEvoDBScopedCommitter (CEvoDB &_evoDB) | |
~CEvoDBScopedCommitter () | |
void | Commit () |
void | Rollback () |
Private Attributes | |
CEvoDB & | evoDB |
bool | didCommitOrRollback {false} |
Detailed Description
Constructor & Destructor Documentation
◆ CEvoDBScopedCommitter()
|
explicit |
◆ ~CEvoDBScopedCommitter()
CEvoDBScopedCommitter::~CEvoDBScopedCommitter | ( | ) |
Definition at line 14 of file evodb.cpp.
References didCommitOrRollback, and Rollback().
Member Function Documentation
◆ Commit()
void CEvoDBScopedCommitter::Commit | ( | ) |
Definition at line 20 of file evodb.cpp.
References CEvoDB::CommitCurTransaction(), didCommitOrRollback, and evoDB.
◆ Rollback()
void CEvoDBScopedCommitter::Rollback | ( | ) |
Definition at line 27 of file evodb.cpp.
References didCommitOrRollback, evoDB, and CEvoDB::RollbackCurTransaction().
Referenced by ~CEvoDBScopedCommitter().
Member Data Documentation
◆ didCommitOrRollback
|
private |
Definition at line 22 of file evodb.h.
Referenced by Commit(), Rollback(), and ~CEvoDBScopedCommitter().
◆ evoDB
|
private |
Definition at line 21 of file evodb.h.
Referenced by Commit(), and Rollback().
The documentation for this class was generated from the following files: