QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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;
Class for storing the component parts of a RDBMS data source URI (e.g.
Class allowing to manage the auxiliary storage for a vector layer.
Container of fields for a vector layer.
QgsAuxiliaryLayer(const QgsAuxiliaryLayer &rhs)=delete
Copy constructor deactivated.
QgsAuxiliaryLayer & operator=(QgsAuxiliaryLayer const &rhs)=delete
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition for a property.
Unique pointer for spatialite databases, which automatically closes the database when the pointer goe...
QgsAuxiliaryLayer(const QString &pkField, const QString &filename, const QString &table, QgsVectorLayer *vlayer)
Constructor.
Defines left outer join from our vector layer to some other vector layer.
Represents a vector layer which manages a vector based data sets.
Class providing some utility methods to manage auxiliary storage.
virtual bool deleteAttribute(int attr)
Deletes an attribute field (but does not commit it).
Property
Data definable properties.
Property
Data definable properties.
QgsVectorLayer * clone() const override
Returns a new instance equivalent to this one.
Encapsulate a field in an attribute table or data source.