QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Abstract interface for use by classes that filter the features of a layer. More...
#include <qgsfeaturefilterprovider.h>
Public Member Functions | |
QgsFeatureFilterProvider () | |
Constructor. More... | |
virtual | ~QgsFeatureFilterProvider () |
Destructor. More... | |
virtual QgsFeatureFilterProvider * | clone () const =0 |
Create a clone of the feature filter provider. More... | |
virtual void | filterFeatures (const QgsVectorLayer *layer, QgsFeatureRequest &featureRequest) const =0 |
Add additional filters to the feature request to further restrict the features returned by the request. More... | |
Abstract interface for use by classes that filter the features of a layer.
A QgsFeatureFilterProvider provides a method for modifying a QgsFeatureRequest in place to apply additional filters to the request.
Definition at line 36 of file qgsfeaturefilterprovider.h.
|
inline |
Constructor.
Definition at line 41 of file qgsfeaturefilterprovider.h.
|
inlinevirtual |
Destructor.
Definition at line 44 of file qgsfeaturefilterprovider.h.
|
pure virtual |
Create a clone of the feature filter provider.
|
pure virtual |
Add additional filters to the feature request to further restrict the features returned by the request.
Derived classes must implement this method.
layer | the layer to filter |
featureRequest | the feature request to update |