26 mCache.setMaxCost( cacheSize );
43 mCache.setMaxCost( cacheSize );
89 while ( it.nextFeature( f ) )
93 if ( t.elapsed() > 1000 )
117 if ( cacheAddedAttributes )
129 bool featureFound =
false;
135 cachedFeature =
mCache[ featureId ];
138 if ( cachedFeature != NULL )
144 .setFilterFid( featureId )
158 return mCache.remove( fid );
169 if ( fids.count() <
mCache.size() )
190 if ( NULL != cachedFeat )
228 mCache[ fid ]->mFeature->deleteAttribute( field );
236 if ( cachedFeat != NULL )
256 bool requiresWriterIt =
true;
265 requiresWriterIt =
false;
274 requiresWriterIt =
false;
299 return mCache.contains( fid );
316 foreach (
int attr, requestedAttributes )