18 #ifndef QGSAUXILIARYSTORAGE_H 19 #define QGSAUXILIARYSTORAGE_H 21 #include "qgis_core.h" 162 bool isHiddenProperty(
int index )
const;
182 int propertyFromIndex(
int index )
const;
309 bool isValid()
const;
314 QString fileName()
const;
320 QString currentFileName()
const;
328 QString errorString()
const;
335 bool saveAs(
const QString &filename );
382 static bool duplicateTable(
const QgsDataSourceUri &uri,
const QString &newTable );
387 static QString extension();
396 static bool exists(
const QgsProject &project );
402 void initTmpFileName();
404 static QString filenameForProject(
const QgsProject &project );
407 static bool tableExists(
const QString &table,
sqlite3 *handler );
408 static bool createTable(
const QString &type,
const QString &table,
sqlite3 *handler );
410 static bool exec(
const QString &sql,
sqlite3 *handler );
411 static void debugMsg(
const QString &sql,
sqlite3 *handler );
417 QString mTmpFileName;
419 QString mErrorString;
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 RDBMS data source URI (e.g.
Represents a vector layer which manages a vector based data sets.
QgsVectorLayer * clone() const override
Returns a new instance equivalent to this one.