18 #ifndef QGSAUXILIARYSTORAGE_H 19 #define QGSAUXILIARYSTORAGE_H 21 #include "qgis_core.h" 161 bool isHiddenProperty(
int index )
const;
181 int propertyFromIndex(
int index )
const;
308 bool isValid()
const;
313 QString fileName()
const;
319 QString currentFileName()
const;
326 bool saveAs(
const QString &filename )
const;
335 bool saveAs(
const QgsProject &project )
const;
373 static bool duplicateTable(
const QgsDataSourceUri &uri,
const QString &newTable );
378 static QString extension();
387 static bool exists(
const QgsProject &project );
393 void initTmpFileName();
395 static QString filenameForProject(
const QgsProject &project );
398 static bool tableExists(
const QString &table,
sqlite3 *handler );
399 static bool createTable(
const QString &type,
const QString &table,
sqlite3 *handler );
401 static bool exec(
const QString &sql,
sqlite3 *handler );
402 static void debugMsg(
const QString &sql,
sqlite3 *handler );
408 QString mTmpFileName;
Property
Data definable properties.
Class allowing to manage the auxiliary storage for a vector layer.
Class providing some utility methods to manage auxiliary storage.
Container of fields for a vector layer.
Property
Data definable properties.
Unique pointer for spatialite databases, which automatically closes the database when the pointer goe...
Defines left outer join from our vector layer to some other vector layer.
virtual bool deleteAttribute(int attr)
Deletes an attribute field (but does not commit it).
Reads and writes project states.
Encapsulate a field in an attribute table or data source.
Definition for a property.
QgsVectorLayer & operator=(QgsVectorLayer const &rhs)=delete
QgsVectorLayer cannot be copied.
Class for storing the component parts of a PostgreSQL/RDBMS datasource URI.
Represents a vector layer which manages a vector based data sets.
QgsVectorLayer * clone() const override
Returns a new instance equivalent to this one.