QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | List of all members
QgsFeatureFilterProviderGroup Class Reference

A filter filter provider grouping several filter providers. More...

#include <qgsfeaturefilterprovidergroup.h>

Inheritance diagram for QgsFeatureFilterProviderGroup:
Inheritance graph
[legend]

Public Member Functions

 QgsFeatureFilterProviderGroup ()=default
 Constructor. More...
 
QgsFeatureFilterProviderGroupaddProvider (const QgsFeatureFilterProvider *provider)
 Add another filter provider to the group. More...
 
QgsFeatureFilterProviderclone () const override
 Returns a clone of the object. More...
 
void filterFeatures (const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override
 Filter the features of the layer. More...
 
- Public Member Functions inherited from QgsFeatureFilterProvider
 QgsFeatureFilterProvider ()=default
 Constructor. More...
 
virtual ~QgsFeatureFilterProvider ()=default
 

Detailed Description

A filter filter provider grouping several filter providers.

Since
QGIS 3.0

Definition at line 32 of file qgsfeaturefilterprovidergroup.h.

Constructor & Destructor Documentation

QgsFeatureFilterProviderGroup::QgsFeatureFilterProviderGroup ( )
default

Constructor.

Member Function Documentation

QgsFeatureFilterProviderGroup & QgsFeatureFilterProviderGroup::addProvider ( const QgsFeatureFilterProvider provider)

Add another filter provider to the group.

Parameters
providerThe provider to add
Returns
itself

Definition at line 42 of file qgsfeaturefilterprovidergroup.cpp.

QgsFeatureFilterProvider * QgsFeatureFilterProviderGroup::clone ( ) const
overridevirtual

Returns a clone of the object.

Returns
A clone

Implements QgsFeatureFilterProvider.

Definition at line 35 of file qgsfeaturefilterprovidergroup.cpp.

void QgsFeatureFilterProviderGroup::filterFeatures ( const QgsVectorLayer layer,
QgsFeatureRequest filterFeatures 
) const
overridevirtual

Filter the features of the layer.

Parameters
layerthe layer to control
filterFeaturesthe request to fill

Implements QgsFeatureFilterProvider.

Definition at line 21 of file qgsfeaturefilterprovidergroup.cpp.


The documentation for this class was generated from the following files: