26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_SCOPEDTRANSACTION_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_SCOPEDTRANSACTION_H
30 #include "../Config.h"
33 #include <boost/noncopyable.hpp>
40 class DataSourceTransactor;
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
An utility class to coordinate transactions.
te::da::DataSourceTransactor & m_t
A reference to the underlying transactor.
~ScopedTransaction()
Destructor.
ScopedTransaction(te::da::DataSourceTransactor &transactor)
Constructor.
bool m_rollback
A flag that indicates if the transaction may be aborted at the end.
void commit()
It commits the transaction.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.