17#ifndef QGS_FEATUREPOOL_H 
   18#define QGS_FEATUREPOOL_H 
   24#include "qgis_analysis.h" 
  137    QString layerId() const;
 
  142    Qgis::GeometryType geometryType() const;
 
  155    QString layerName() const;
 
  165    void insertFeature( const 
QgsFeature &feature, 
bool skipLock = false );
 
  212    static const int CACHE_SIZE = 1000;
 
  213    QCache<QgsFeatureId, QgsFeature> mFeatureCache;
 
  214    QPointer<QgsVectorLayer> mLayer;
 
  215    mutable QReadWriteLock mCacheLock;
 
  219    std::unique_ptr<QgsVectorLayerFeatureSource> mFeatureSource;
 
  234    QHash<QgsFeatureId, QgsFeature> mUpdatedFeatures;
 
  236    friend class TestQgsVectorLayerFeaturePool;
 
 
Provides global constants and enumerations for use throughout the application.
 
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
 
Represents a coordinate reference system (CRS).
 
A feature pool is based on a vector layer and caches features.
 
virtual ~QgsFeaturePool()=default
 
Wraps a request for features to a vector layer (or directly its vector data provider).
 
An interface for objects which accept features via addFeature(s) methods.
 
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
 
Base class for feedback objects to be used for cancellation of something running in a worker thread.
 
A rectangle specified with double values.
 
A spatial index for QgsFeature objects.
 
Represents a vector layer which manages a vector based dataset.
 
QSet< QgsFeatureId > QgsFeatureIds
 
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
 
const QgsCoordinateReferenceSystem & crs