File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,10 @@ class QgsProcessingFeatureSource : QgsFeatureSource
273
273
274
274
virtual QVariant maximumValue( int fieldIndex ) const;
275
275
276
+ virtual QgsRectangle sourceExtent() const;
277
+
278
+ virtual QgsFeatureIds allFeatureIds() const;
279
+
276
280
277
281
QgsExpressionContextScope *createExpressionContextScope() const /Factory/;
278
282
%Docstring
Original file line number Diff line number Diff line change @@ -729,6 +729,16 @@ QVariant QgsProcessingFeatureSource::maximumValue( int fieldIndex ) const
729
729
return mSource ->maximumValue ( fieldIndex );
730
730
}
731
731
732
+ QgsRectangle QgsProcessingFeatureSource::sourceExtent () const
733
+ {
734
+ return mSource ->sourceExtent ();
735
+ }
736
+
737
+ QgsFeatureIds QgsProcessingFeatureSource::allFeatureIds () const
738
+ {
739
+ return mSource ->allFeatureIds ();
740
+ }
741
+
732
742
QgsExpressionContextScope *QgsProcessingFeatureSource::createExpressionContextScope () const
733
743
{
734
744
QgsExpressionContextScope *expressionContextScope = nullptr ;
Original file line number Diff line number Diff line change @@ -318,6 +318,8 @@ class CORE_EXPORT QgsProcessingFeatureSource : public QgsFeatureSource
318
318
QSet<QVariant> uniqueValues ( int fieldIndex, int limit = -1 ) const override ;
319
319
QVariant minimumValue ( int fieldIndex ) const override ;
320
320
QVariant maximumValue ( int fieldIndex ) const override ;
321
+ QgsRectangle sourceExtent () const override ;
322
+ QgsFeatureIds allFeatureIds () const override ;
321
323
322
324
/* *
323
325
* Returns an expression context scope suitable for this source.
You can’t perform that action at this time.
0 commit comments