|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
One write transaction (BEGIN IMMEDIATE ... COMMIT), rolled back unless commit() is called. More...
#include <ProjectDB.hpp>
Public Member Functions | |
| Transaction (ProjectDB &db) | |
| throws on a read-only project | |
| ~Transaction () | |
| void | commit () |
| Transaction (const Transaction &)=delete | |
| Transaction & | operator= (const Transaction &)=delete |
One write transaction (BEGIN IMMEDIATE ... COMMIT), rolled back unless commit() is called.
ProjectDB methods that open their own transaction (add_material_passport, set_survey_part_quantities, add_sample, …) cannot be called inside one; the resource/template methods can.
Definition at line 169 of file ProjectDB.hpp.
|
explicit |
throws on a read-only project
References reusex::ProjectDB::ProjectDB().
Referenced by operator=(), and Transaction().
| reusex::ProjectDB::Transaction::~Transaction | ( | ) |
|
delete |
References Transaction().
| void reusex::ProjectDB::Transaction::commit | ( | ) |
|
delete |
References reusex::ProjectDB::ProjectDB(), and Transaction().