QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSAUXILIARYSTORAGE_H
19 #define QGSAUXILIARYSTORAGE_H
21 #include "qgis_core.h"
85 SIP_PYOBJECT __repr__();
87 QString
str = QStringLiteral(
"<QgsAuxiliaryLayer: '%1'>" ).arg( sipCpp->name() );
88 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
93 #pragma clang diagnostic push
94 #pragma clang diagnostic ignored "-Woverloaded-virtual"
106 #pragma clang diagnostic pop
179 bool isHiddenProperty(
int index )
const;
199 int propertyFromIndex(
int index )
const;
341 bool isValid()
const;
346 QString fileName()
const;
352 QString currentFileName()
const;
360 QString errorString()
const;
367 bool saveAs(
const QString &filename );
414 static bool duplicateTable(
const QgsDataSourceUri &uri,
const QString &newTable );
419 static QString extension();
428 static bool exists(
const QgsProject &project );
434 void initTmpFileName();
436 static QString filenameForProject(
const QgsProject &project );
439 static bool tableExists(
const QString &table,
sqlite3 *handler );
440 static bool createTable(
const QString &type,
const QString &table,
sqlite3 *handler, QString &errorMsg );
442 static bool exec(
const QString &sql,
sqlite3 *handler );
443 static QString debugMsg(
const QString &sql,
sqlite3 *handler );
449 QString mTmpFileName;
451 mutable QString mErrorString;
Class for storing the component parts of a RDBMS data source URI (e.g. a Postgres data source).
Class allowing to manage the auxiliary storage for a vector layer.
Container of fields for a vector layer.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition for a property.
Defines left outer join from our vector layer to some other vector layer. The join is done based on [...
QgsVectorLayer & operator=(QgsVectorLayer const &rhs)=delete
QgsVectorLayer cannot be copied.
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.
Unique pointer for sqlite3 databases, which automatically closes the database when the pointer goes o...
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.