21 : mDimensionFilter( dimensionFilter )
28 const QStringList dimFilters = mDimensionFilter.value( layer );
30 for (
const QString &flt : dimFilters )
A server filter to apply a dimension filter to a request.
QgsDimensionFilter(const QHash< const QgsVectorLayer *, QStringList > dimensionFilter)
Creates a new dimension filter object with a list of filters to be applied to vector layers.
QStringList layerAttributes(const QgsVectorLayer *layer, const QStringList &attributes) const override
Returns the list of visible attribute names from a list of attributes names for the given layer.
QgsDimensionFilter * clone() const override
Create a clone of the feature filter provider.
void filterFeatures(const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override
Add additional filters to the feature request to further restrict the features returned by the reques...
This class wraps a request for features to a vector layer (or directly its vector data provider).
QgsFeatureRequest & combineFilterExpression(const QString &expression)
Modifies the existing filter expression to add an additional expression filter.
Represents a vector layer which manages a vector based data sets.