27 class QgsMemoryFeatureIterator;
35 QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() );
37 ~QgsMemoryProvider()
override;
40 static QString providerKey();
42 static QString providerDescription();
49 QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() );
55 QString dataSourceUri(
bool expandAuthConfig =
true )
const override;
56 QString storageType()
const override;
59 long featureCount()
const override;
61 bool addFeatures(
QgsFeatureList &flist, QgsFeatureSink::Flags flags = QgsFeatureSink::Flags() )
override;
63 bool addAttributes(
const QList<QgsField> &attributes )
override;
64 bool renameAttributes(
const QgsFieldNameMap &renamedAttributes )
override;
67 bool changeGeometryValues(
const QgsGeometryMap &geometry_map )
override;
68 QString subsetString()
const override;
69 bool setSubsetString(
const QString &theSQL,
bool updateFeatureCount =
true )
override;
70 bool supportsSubsetString()
const override {
return true; }
71 bool createSpatialIndex()
override;
73 QgsVectorDataProvider::Capabilities capabilities()
const override;
74 bool truncate()
override;
78 QString name()
const override;
79 QString description()
const override;
81 void updateExtents()
override;
82 bool isValid()
const override;
102 QString mSubsetString;
104 friend class QgsMemoryFeatureSource;
Base class that can be used for any class that is capable of returning features.
This class represents a coordinate reference system (CRS).
Wrapper for iterator of features from vector data provider or vector layer.
This class wraps a request for features to a vector layer (or directly its vector data provider).
SpatialIndexPresence
Enumeration of spatial index presence states.
Container of fields for a vector layer.
A rectangle specified with double values.
A spatial index for QgsFeature objects.
This is the base class for vector data providers.
Type
The WKB type describes the number of dimensions a geometry has.
QMap< int, QString > QgsFieldNameMap
QMap< QgsFeatureId, QgsGeometry > QgsGeometryMap
QMap< QgsFeatureId, QgsAttributeMap > QgsChangedAttributesMap
QList< QgsFeature > QgsFeatureList
QSet< QgsFeatureId > QgsFeatureIds
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
QSet< int > QgsAttributeIds
QMap< QgsFeatureId, QgsFeature > QgsFeatureMap
const QgsCoordinateReferenceSystem & crs
Setting options for creating vector data providers.