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 )
68 , alias( other.alias )
69 , defaultValueExpression( other.defaultValueExpression )
75 bool operator==(
const QgsFieldPrivate& other )
const 77 return (( name == other.name ) && ( type == other.type )
78 && ( length == other.length ) && ( precision == other.precision )
79 && ( alias == other.alias ) && ( defaultValueExpression == other.defaultValueExpression ) );
104 QString defaultValueExpression;
114 class CORE_EXPORT QgsFieldsPrivate :
public QSharedData 122 QgsFieldsPrivate(
const QgsFieldsPrivate& other )
124 , fields( other.fields )
125 , nameToIndex( other.nameToIndex )
129 ~QgsFieldsPrivate() {}
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)