LibrePCB Developers Documentation
Loading...
Searching...
No Matches
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() [1/3]

◆ TransactionScopeGuard() [2/3]

TransactionScopeGuard ( const TransactionScopeGuard other)
delete

◆ TransactionScopeGuard() [3/3]

+ Here is the call graph for this function:

◆ ~TransactionScopeGuard()

~TransactionScopeGuard ( )
noexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ commit()

void commit ( )
+ Here is the caller graph for this function:

◆ operator=()

TransactionScopeGuard & operator= ( const TransactionScopeGuard rhs)
delete

Member Data Documentation

◆ mDb

SQLiteDatabase& mDb
private

◆ mIsCommited

bool mIsCommited
private

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