18 #ifndef QGSSPATIALITEUTILS_H 19 #define QGSSPATIALITEUTILS_H 23 #include "qgis_core.h" 40 void operator()(
sqlite3 *database );
45 void *mSpatialiteContext =
nullptr;
65 int open(
const QString &path );
79 void reset(
sqlite3 *handle ) =
delete;
86 int open_v2(
const QString &path,
int flags,
const char *zVfs );
91 QString errorMessage()
const;
100 #endif // QGSSPATIALITEUTILS_H Unique pointer for sqlite3 prepared statements, which automatically finalizes the statement when the ...
Closes a spatialite database.
Unique pointer for spatialite databases, which automatically closes the database when the pointer goe...
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.