18#ifndef QGSFEATURESINK_H 
   19#define QGSFEATURESINK_H 
   55      RegeneratePrimaryKey = 1 << 1,
 
   57    Q_DECLARE_FLAGS( SinkFlags, SinkFlag )
 
   78      RollBackOnErrors = 1 << 2,
 
   80    Q_DECLARE_FLAGS( Flags, Flag )
 
  108    virtual 
bool flushBuffer() { 
return true; }
 
Wrapper for iterator of features from vector data provider or vector layer.
 
An interface for objects which accept features via addFeature(s) methods.
 
Flag
Flags controlling how features are added to a sink.
 
SinkFlag
Flags that can be set on a QgsFeatureSink.
 
virtual QString lastError() const
Returns the most recent error encountered by the sink, e.g.
 
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
 
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
 
QList< QgsFeature > QgsFeatureList
 
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsField::ConfigurationFlags) CORE_EXPORT QDataStream &operator<<(QDataStream &out
Writes the field to stream out. QGIS version compatibility is not guaranteed.