File tree 3 files changed +0
-42
lines changed
3 files changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -147,18 +147,6 @@ class QgsFeature
147
147
*/
148
148
void setValid( bool validity );
149
149
150
- /**
151
- * Return the dirty state of this feature.
152
- * Dirty is set if (e.g.) the feature's geometry has been modified in-memory.
153
- */
154
- bool isDirty() const;
155
-
156
- /**
157
- * Reset the dirtiness of the feature. (i.e. make clean)
158
- * You would normally do this after it's saved to permanent storage (e.g. disk, an ACID-compliant database)
159
- */
160
- void clean();
161
-
162
150
/**
163
151
* Get the geometry object associated with this feature
164
152
*/
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ QgsFeature::QgsFeature( QgsFeatureId id )
27
27
, mGeometry( 0 )
28
28
, mOwnsGeometry( 0 )
29
29
, mValid( false )
30
- , mDirty( 0 )
31
30
, mFields( 0 )
32
31
{
33
32
// NOOP
@@ -39,7 +38,6 @@ QgsFeature::QgsFeature( QgsFeature const & rhs )
39
38
, mGeometry( 0 )
40
39
, mOwnsGeometry( false )
41
40
, mValid( rhs.mValid )
42
- , mDirty( rhs.mDirty )
43
41
, mFields( rhs.mFields )
44
42
{
45
43
@@ -57,7 +55,6 @@ QgsFeature & QgsFeature::operator=( QgsFeature const & rhs )
57
55
return *this ;
58
56
59
57
mFid = rhs.mFid ;
60
- mDirty = rhs.mDirty ;
61
58
mAttributes = rhs.mAttributes ;
62
59
mValid = rhs.mValid ;
63
60
mFields = rhs.mFields ;
@@ -195,17 +192,6 @@ void QgsFeature::setValid( bool validity )
195
192
mValid = validity;
196
193
}
197
194
198
- bool QgsFeature::isDirty () const
199
- {
200
- return mDirty ;
201
- }
202
-
203
- void QgsFeature::clean ()
204
- {
205
- mDirty = false ;
206
- }
207
-
208
-
209
195
bool QgsFeature::addAttribute ( const QString& name, QVariant value )
210
196
{
211
197
int fieldIdx = fieldNameIndex ( name );
Original file line number Diff line number Diff line change @@ -169,18 +169,6 @@ class CORE_EXPORT QgsFeature
169
169
*/
170
170
void setValid ( bool validity );
171
171
172
- /* *
173
- * Return the dirty state of this feature.
174
- * Dirty is set if (e.g.) the feature's geometry has been modified in-memory.
175
- */
176
- bool isDirty () const ;
177
-
178
- /* *
179
- * Reset the dirtiness of the feature. (i.e. make clean)
180
- * You would normally do this after it's saved to permanent storage (e.g. disk, an ACID-compliant database)
181
- */
182
- void clean ();
183
-
184
172
/* *
185
173
* Get the geometry object associated with this feature
186
174
*/
@@ -271,10 +259,6 @@ class CORE_EXPORT QgsFeature
271
259
// TODO: still applies? [MD]
272
260
bool mValid ;
273
261
274
- // ! Flag to indicate if this feature is dirty (e.g. geometry has been modified in-memory)
275
- // TODO: still applies? [MD]
276
- bool mDirty ;
277
-
278
262
// ! Optional field map for name-based attribute lookups
279
263
const QgsFieldMap* mFields ;
280
264
You can’t perform that action at this time.
0 commit comments