QGIS API Documentation
2.0.1-Dufour
|
This is a wrapper class around a cached QgsFeature, which will inform the cache, when it has been deleted, so indexes can be updated that the wrapped feature needs to be fetched again if needed. More...
Public Member Functions | |
QgsCachedFeature (const QgsFeature &feat, QgsVectorLayerCache *vlCache) | |
Will create a new cached feature. | |
~QgsCachedFeature () | |
const QgsFeature * | feature () |
Private Attributes | |
QgsFeature * | mFeature |
QgsVectorLayerCache * | mCache |
Friends | |
class | QgsVectorLayerCache |
This is a wrapper class around a cached QgsFeature, which will inform the cache, when it has been deleted, so indexes can be updated that the wrapped feature needs to be fetched again if needed.
Definition at line 48 of file qgsvectorlayercache.h.
|
inline |
Will create a new cached feature.
feat | The feature to cache. A copy will be made. |
vlCache | The cache to inform when the feature has been removed from the cache. |
Definition at line 57 of file qgsvectorlayercache.h.
|
inline |
Definition at line 63 of file qgsvectorlayercache.h.
|
inline |
Definition at line 71 of file qgsvectorlayercache.h.
Referenced by QgsVectorLayerCache::featureAtId().
|
friend |
Definition at line 77 of file qgsvectorlayercache.h.
|
private |
Definition at line 75 of file qgsvectorlayercache.h.
|
private |
Definition at line 74 of file qgsvectorlayercache.h.
Referenced by QgsVectorLayerCache::geometryChanged(), and QgsVectorLayerCache::onAttributeValueChanged().