LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SQLiteDatabase::TransactionScopeGuard Class Referencefinal

#include <sqlitedatabase.h>

+ Collaboration diagram for SQLiteDatabase::TransactionScopeGuard:

Public Member Functions

 TransactionScopeGuard ()=delete
 
 TransactionScopeGuard (const TransactionScopeGuard &other)=delete
 
 TransactionScopeGuard (SQLiteDatabase &db)
 
 ~TransactionScopeGuard () noexcept
 
void commit ()
 
TransactionScopeGuardoperator= (const TransactionScopeGuard &rhs)=delete
 

Private Attributes

SQLiteDatabasemDb
 
bool mIsCommited
 

Constructor & Destructor Documentation

TransactionScopeGuard ( const TransactionScopeGuard other)
delete

+ Here is the call graph for this function:

~TransactionScopeGuard ( )
noexcept

+ Here is the call graph for this function:

Member Function Documentation

void commit ( )

+ Here is the caller graph for this function:

TransactionScopeGuard& operator= ( const TransactionScopeGuard rhs)
delete

Member Data Documentation

SQLiteDatabase& mDb
private
bool mIsCommited
private

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