Matthias Kuhn 5fb9d14ce7
QgsFeatureSource::hasFeatures() -> Yes, No, Maybe
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.
2018-06-04 08:59:30 +02:00
..
2018-05-29 11:59:54 +02:00
2018-06-03 11:07:09 -08:00
2018-05-31 12:33:38 -08:00