32 for ( ; it != mFeatures.
end(); ++it )
34 ( *it ).setFields( mFields );
QgsFeatureStore()
Constructor.
void addFeature(const QgsFeature &feature)
Add feature.
Container of fields for a vector layer.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
void append(const T &value)
void setFields(const QgsFields &fields)
Set fields.
Q_DECL_DEPRECATED void setFields(const QgsFields *fields, bool initAttributes=false)
Assign a field map with the feature to allow attribute access by attribute name.
Class for storing a coordinate reference system (CRS)
QgsFields & fields()
Get fields list.
QgsCoordinateReferenceSystem crs() const
Get crs.