18#ifndef QGSSPATIALITEUTILS_H 
   19#define QGSSPATIALITEUTILS_H 
   40  void operator()( 
sqlite3 *database );
 
   45  void *mSpatialiteContext = 
nullptr;
 
   65    int open( 
const QString &path );
 
   86    int open_v2( 
const QString &path, 
int flags, 
const char *zVfs );
 
   91    QString errorMessage() 
const;
 
Unique pointer for spatialite databases, which automatically closes the database when the pointer goe...
 
void reset(sqlite3 *handle)=delete
It is not allowed to set an arbitrary sqlite3 handle on this object.
 
Unique pointer for sqlite3 prepared statements, which automatically finalizes the statement when the ...
 
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.
 
Closes a spatialite database.