16 #ifndef QGSFIELD_PRIVATE_H 17 #define QGSFIELD_PRIVATE_H 32 #include <QSharedData> 46 QVariant::Type type = QVariant::Invalid,
53 , typeName( typeName )
60 QgsFieldPrivate(
const QgsFieldPrivate& other )
64 , typeName( other.typeName )
65 , length( other.length )
66 , precision( other.precision )
67 , comment( other.comment )
73 bool operator==(
const QgsFieldPrivate& other )
const 75 return (( name == other.name ) && ( type == other.type )
76 && ( length == other.length ) && ( precision == other.precision ) );
105 class CORE_EXPORT QgsFieldsPrivate :
public QSharedData 113 QgsFieldsPrivate(
const QgsFieldsPrivate& other )
115 , fields( other.fields )
116 , nameToIndex( other.nameToIndex )
120 ~QgsFieldsPrivate() {}
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)