mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
This method allows to determine if a feature source has content or not (or maybe). This method works for "generator" sources as well as for "collection" sources. Collection sources like QgsVectorDataProvider which allow to easily and in a cheap way determine if features are available can return FeaturesAvailable or NoFeaturesAvailable, generators will return FeaturesMaybeAvailable. QgsVectorDataProvider also implements an empty() method.