|
upscaledb
2.2.1
|
#include <upscaledb.hpp>
Public Member Functions | |
| txn (ups_txn_t *t=0) | |
| void | abort () |
| void | commit () |
| std::string | get_name () |
| ups_txn_t * | get_handle () |
Private Attributes | |
| ups_txn_t * | _txn |
A Transaction class
This class wraps structures of type ups_txn_t.
Definition at line 231 of file upscaledb.hpp.
|
inline |
Constructor
Definition at line 234 of file upscaledb.hpp.
|
inline |
Abort the Txn
Definition at line 239 of file upscaledb.hpp.
References upscaledb::error::error(), and ups_txn_abort().
|
inline |
Commit the Txn
Definition at line 246 of file upscaledb.hpp.
References upscaledb::error::error(), and ups_txn_commit().
|
inline |
Returns a pointer to the internal ups_txn_t structure.
Definition at line 258 of file upscaledb.hpp.
Referenced by upscaledb::db::erase(), upscaledb::db::find(), and upscaledb::db::insert().
|
inline |
Definition at line 252 of file upscaledb.hpp.
References ups_txn_get_name().
|
private |
Definition at line 263 of file upscaledb.hpp.
1.8.11