16 #ifndef QGSFIELD_PRIVATE_H
17 #define QGSFIELD_PRIVATE_H
32 #include <QSharedData>
40 QVariant::Type type = QVariant::Invalid,
47 , typeName( typeName )
54 QgsFieldPrivate(
const QgsFieldPrivate& other )
58 , typeName( other.typeName )
59 , length( other.length )
60 , precision( other.precision )
61 , comment( other.comment )
67 bool operator==(
const QgsFieldPrivate& other )
const
69 return (( name == other.name ) && ( type == other.type )
70 && ( length == other.length ) && ( precision == other.precision ) );
93 class CORE_EXPORT QgsFieldsPrivate :
public QSharedData
101 QgsFieldsPrivate(
const QgsFieldsPrivate& other )
103 , fields( other.fields )
104 , nameToIndex( other.nameToIndex )
108 ~QgsFieldsPrivate() {}
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)