16#ifndef QGSFEATURE_PRIVATE_H
17#define QGSFEATURE_PRIVATE_H
40class QgsFeaturePrivate :
public QSharedData
47 QgsFeaturePrivate(
const QgsFeaturePrivate &other )
48 : QSharedData( other )
50 , attributes( other.attributes )
51 , geometry( other.geometry )
52 , valid( other.valid )
53 , fields( other.fields )
54 , symbol( other.symbol ? other.symbol->clone() : nullptr )
57 ~QgsFeaturePrivate() {}
63 QgsAttributes attributes;
74 std::unique_ptr< QgsSymbol > symbol;
77 QgsFeaturePrivate &operator=(
const QgsFeaturePrivate & ) =
delete;
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features