18#ifndef QGSFEATURESOURCE_H 
   19#define QGSFEATURESOURCE_H 
   54      FeaturesMaybeAvailable 
 
   94    sipRes = sipCpp->featureCount();
 
  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;
 
WkbType
The WKB type describes the number of dimensions a geometry has.
 
This class represents a coordinate reference system (CRS).
 
Wrapper for iterator of features from vector data provider or vector layer.
 
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.
 
virtual QgsFields fields() const =0
Returns the fields associated with features in the source.
 
virtual QgsCoordinateReferenceSystem sourceCrs() const =0
Returns the coordinate reference system for features in the source.
 
SpatialIndexPresence
Enumeration of spatial index presence states.
 
virtual Qgis::WkbType wkbType() const =0
Returns the geometry type for features returned by this source.
 
FeatureAvailability
Possible return value for hasFeatures() to determine if a source is empty.
 
@ NoFeaturesAvailable
There are certainly no features available in this source.
 
@ FeaturesAvailable
There is at least one feature available in this source.
 
virtual QgsFeatureIterator getFeatures(const QgsFeatureRequest &request=QgsFeatureRequest()) const =0
Returns an iterator for the features in the source.
 
virtual ~QgsFeatureSource()=default
 
virtual QString sourceName() const =0
Returns a friendly display name for the source.
 
virtual long long featureCount() const =0
Returns the number of features contained in the source, or -1 if the feature count is unknown.
 
Base class for feedback objects to be used for cancellation of something running in a worker thread.
 
Container of fields for a vector layer.
 
A rectangle specified with double values.
 
Represents a vector layer which manages a vector based data sets.
 
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
 
QSet< QgsFeatureId > QgsFeatureIds