QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
18 #ifndef QGSFEATURESINK_H
19 #define QGSFEATURESINK_H
21 #include "qgis_core.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; }
122 #endif // QGSFEATURESINK_H
Flag
Flags controlling how features are added to a sink.
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
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.
QList< QgsFeature > QgsFeatureList
virtual QString lastError() const
Returns the most recent error encountered by the sink, e.g.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
SinkFlag
Flags that can be set on a QgsFeatureSink.
Wrapper for iterator of features from vector data provider or vector layer.
An interface for objects which accept features via addFeature(s) methods.