Qore DataProvider Module Reference 3.1
Loading...
Searching...
No Matches
ImplicitModuleTransaction.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace DataProvider {
29
30public:
31
32
33protected:
34 list<code> rollback();
35
36public:
37
40
41
43 static add(code rb_code);
44
46protected:
47 addRollback(code rb_code);
48public:
49
50};
51};
52
54namespace Priv {
55// Holds and optionally executes rollback code
56thread_local ImplicitModuleTransaction rb;
57};
Implements a mechanism to roll back changes made in external module initialization if an error occurs...
Definition ImplicitModuleTransaction.qc.dox.h:28
addRollback(code rb_code)
Adds a rollback closure to be executed if there is an active exception in module initialization.
destructor()
Executes all rollback code if there is an active exception in module initialization.
static add(code rb_code)
Adds a rollback closure to be executed if there is an active exception in module initialization.
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27
Private definitions.
Definition AbstractDataProviderType.qc.dox.h:454