|
| QgsVectorDataProviderFeaturePool (QgsVectorLayer *layer, bool selectedOnly=false) |
| Creates a new feature pool for the data provider of layer. More...
|
|
bool | addFeature (QgsFeature &feature, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags()) override |
| Adds a single feature to the sink. More...
|
|
bool | addFeatures (QgsFeatureList &features, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags()) override |
| Adds a list of features to the sink. More...
|
|
void | deleteFeature (QgsFeatureId fid) override |
| Removes a feature from this pool. More...
|
|
void | updateFeature (QgsFeature &feature) override |
| Updates a feature in this pool. More...
|
|
| QgsFeaturePool (QgsVectorLayer *layer) |
| Creates a new feature pool for layer. More...
|
|
virtual | ~QgsFeaturePool ()=default |
|
QgsFeatureIds | allFeatureIds () const |
| Returns the complete set of feature ids in this pool. More...
|
|
QgsCoordinateReferenceSystem | crs () const |
| The coordinate reference system of this layer. More...
|
|
virtual void | deleteFeature (QgsFeatureId fid)=0 |
| Removes a feature from this pool. More...
|
|
QgsWkbTypes::GeometryType | geometryType () const |
| The geometry type of this layer. More...
|
|
bool | getFeature (QgsFeatureId id, QgsFeature &feature) |
| Retrieves the feature with the specified id into feature. More...
|
|
QgsFeatureIds | getFeatures (const QgsFeatureRequest &request, QgsFeedback *feedback=nullptr) |
| Gets features for the provided request. More...
|
|
QgsFeatureIds | getIntersects (const QgsRectangle &rect) const |
| Gets all feature ids in the bounding box rect. More...
|
|
QgsVectorLayer * | layer () const |
| Gets a pointer to the underlying layer. More...
|
|
QString | layerId () const |
| The layer id of the layer. More...
|
|
QString | layerName () const |
| Returns the name of the layer. More...
|
|
QPointer< QgsVectorLayer > | layerPtr () const |
| Gets a QPointer to the underlying layer. More...
|
|
virtual void | updateFeature (QgsFeature &feature)=0 |
| Updates a feature in this pool. More...
|
|
virtual | ~QgsFeatureSink ()=default |
|
virtual bool | addFeature (QgsFeature &feature, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags()) |
| Adds a single feature to the sink. More...
|
|
virtual bool | addFeatures (QgsFeatureIterator &iterator, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags()) |
| Adds all features from the specified iterator to the sink. More...
|
|
virtual bool | addFeatures (QgsFeatureList &features, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags())=0 |
| Adds a list of features to the sink. More...
|
|
virtual bool | flushBuffer () |
| Flushes any internal buffer which may exist in the sink, causing any buffered features to be added to the sink's destination. More...
|
|
virtual QString | lastError () const |
| Returns the most recent error encountered by the sink, e.g. More...
|
|