18 #ifndef QGSFEATURESOURCE_H
19 #define QGSFEATURESOURCE_H
21 #include "qgis_core.h"
54 FeaturesMaybeAvailable
69 virtual QString sourceName()
const = 0;
94 sipRes = sipCpp->featureCount();
108 virtual long featureCount()
const = 0;
115 virtual FeatureAvailability hasFeatures()
const;
125 virtual QSet<QVariant> uniqueValues(
int fieldIndex,
int limit = -1 )
const;
134 virtual QVariant minimumValue(
int fieldIndex )
const;
143 virtual QVariant maximumValue(
int fieldIndex )
const;
189 SpatialIndexUnknown = 0,
190 SpatialIndexNotPresent = 1,
191 SpatialIndexPresent = 2,
203 virtual SpatialIndexPresence hasSpatialIndex()
const;
208 #endif // QGSFEATURESOURCE_H