27 mCache.setMaxCost( cacheSize );
44 mCache.setMaxCost( cacheSize );
90 while ( it.nextFeature( f ) )
94 if ( t.elapsed() > 1000 )
118 if ( cacheAddedAttributes )
130 bool featureFound =
false;
136 cachedFeature =
mCache[ featureId ];
139 if ( cachedFeature != NULL )
145 .setFilterFid( featureId )
159 return mCache.remove( fid );
170 if ( fids.count() <
mCache.size() )
191 if ( NULL != cachedFeat )
230 mCache[ fid ]->mFeature->deleteAttribute( field );
238 if ( cachedFeat != NULL )
258 bool requiresWriterIt =
true;
266 requiresWriterIt =
false;
275 requiresWriterIt =
false;
285 requiresWriterIt =
false;
310 return mCache.contains( fid );
327 foreach (
int attr, requestedAttributes )