Wt  3.3.8
Public Member Functions | List of all members
Wt::Auth::AbstractUserDatabase::Transaction Class Referenceabstract

An abstract transaction. More...

Inherited by Wt::Auth::Dbo::UserDatabase< DboType >::TransactionImpl.

Public Member Functions

virtual ~Transaction () WT_CXX11ONLY(noexcept(false))
 Destructor. More...
 
virtual void commit ()=0
 Commits the transaction. More...
 
virtual void rollback ()=0
 Rolls back the transaction. More...
 

Detailed Description

An abstract transaction.

An abstract transaction interface.

See also
startTransaction()

Constructor & Destructor Documentation

Wt::Auth::AbstractUserDatabase::Transaction::~Transaction ( )
virtualnoexcept

Destructor.

If the transaction is not yet finished (committed or rolled back), it will be rolled back.

See also
rollback()

Member Function Documentation

virtual void Wt::Auth::AbstractUserDatabase::Transaction::commit ( )
pure virtual

Commits the transaction.

See also
rollback()
virtual void Wt::Auth::AbstractUserDatabase::Transaction::rollback ( )
pure virtual

Rolls back the transaction.

See also
commit()

Generated on Mon Sep 4 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11