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;
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;
186 #endif // QGSFEATURESOURCE_H Wrapper for iterator of features from vector data provider or vector layer.
A rectangle specified with double values.
QSet< QgsFeatureId > QgsFeatureIds
FeatureAvailability
Possible return value for hasFeatures() to determine if a source is empty.
Container of fields for a vector layer.
There is at least one feature available in this source.
Q_DECLARE_METATYPE(QModelIndex)
Base class for feedback objects to be used for cancellation of something running in a worker thread...
Type
The WKB type describes the number of dimensions a geometry has.
There are certainly no features available in this source.
This class wraps a request for features to a vector layer (or directly its vector data provider)...
An interface for objects which provide features via a getFeatures method.
This class represents a coordinate reference system (CRS).
Represents a vector layer which manages a vector based data sets.