|
void | addExpressionAttribute (QgsFeature &f, int attrIndex) |
| Adds an expression based attribute to a feature. More...
|
|
void | addJoinedAttributes (QgsFeature &f) |
|
void | addVirtualAttributes (QgsFeature &f) |
| Adds attributes that don't source from the provider but are added inside QGIS Includes. More...
|
|
bool | fetchFeature (QgsFeature &feature) override |
| fetch next feature, return true on success More...
|
|
bool | fetchNextAddedFeature (QgsFeature &f) |
|
bool | fetchNextChangedAttributeFeature (QgsFeature &f) |
|
bool | fetchNextChangedGeomFeature (QgsFeature &f) |
|
bool | nextFeatureFid (QgsFeature &f) |
|
bool | nextFeatureFilterExpression (QgsFeature &f) override |
| Overrides default method as we only need to filter features in the edit buffer while for others filtering is left to the provider implementation. More...
|
|
void | prepareExpression (int fieldIdx) |
|
void | prepareField (int fieldIdx) |
|
void | prepareFields () |
|
void | prepareJoin (int fieldIdx) |
|
bool | prepareSimplification (const QgsSimplifyMethod &simplifyMethod) override |
| Setup the simplification of geometries to fetch using the specified simplify method. More...
|
|
void | rewindEditBuffer () |
|
void | updateChangedAttributes (QgsFeature &f) |
| Update feature with uncommitted attribute updates. More...
|
|
void | updateFeatureGeometry (QgsFeature &f) |
| Update feature with uncommitted geometry updates. More...
|
|
void | useAddedFeature (const QgsFeature &src, QgsFeature &f) |
|
void | useChangedAttributeFeature (QgsFeatureId fid, const QgsGeometry &geom, QgsFeature &f) |
|
void | iteratorClosed () |
| to be called by from subclass in close() More...
|
|
void | deref () |
| Remove reference, delete if refs == 0. More...
|
|
virtual bool | fetchFeature (QgsFeature &f)=0 |
| If you write a feature iterator for your provider, this is the method you need to implement!! More...
|
|
QgsRectangle | filterRectToSourceCrs (const QgsCoordinateTransform &transform) const SIP_THROW(QgsCsException) |
| Returns a rectangle representing the original request's QgsFeatureRequest::filterRect(). More...
|
|
void | geometryToDestinationCrs (QgsFeature &feature, const QgsCoordinateTransform &transform) const |
| Transforms feature's geometry according to the specified coordinate transform. More...
|
|
virtual bool | nextFeatureFilterExpression (QgsFeature &f) |
| By default, the iterator will fetch all features and check if the feature matches the expression. More...
|
|
virtual bool | nextFeatureFilterFids (QgsFeature &f) |
| By default, the iterator will fetch all features and check if the id is in the request. More...
|
|
virtual bool | prepareSimplification (const QgsSimplifyMethod &simplifyMethod) |
| Setup the simplification of geometries to fetch using the specified simplify method. More...
|
|
void | ref () |
| Add reference. More...
|
|
RequestToSourceCrsResult | updateRequestToSourceCrs (QgsFeatureRequest &request, const QgsCoordinateTransform &transform) const SIP_THROW(QgsCsException) |
| Update a QgsFeatureRequest so that spatial filters are transformed to the source's coordinate reference system. More...
|
|