|
QGIS API Documentation 4.3.0-Master (6402a64e93b)
|
Context for cascade delete features. More...
#include <qgsvectorlayer.h>
Public Member Functions | |
| DeleteContext (bool cascade=false, QgsProject *project=nullptr) | |
| Constructor for DeleteContext. | |
| QgsFeatureIds | handledFeatures (QgsVectorLayer *layer) const |
| Returns a list of feature IDs from the specified layer affected by the delete operation. | |
| QList< QgsVectorLayer * > | handledLayers (bool includeAuxiliaryLayers=true) const |
| Returns a list of all layers affected by the delete operation. | |
Public Attributes | |
| bool | cascade |
| QMap< QgsVectorLayer *, QgsFeatureIds > | mHandledFeatures |
| QgsProject * | project |
Context for cascade delete features.
Definition at line 543 of file qgsvectorlayer.h.
|
inlineexplicit |
Constructor for DeleteContext.
Definition at line 548 of file qgsvectorlayer.h.
| QgsFeatureIds QgsVectorLayer::DeleteContext::handledFeatures | ( | QgsVectorLayer * | layer | ) | const |
Returns a list of feature IDs from the specified layer affected by the delete operation.
Definition at line 6819 of file qgsvectorlayer.cpp.
| QList< QgsVectorLayer * > QgsVectorLayer::DeleteContext::handledLayers | ( | bool | includeAuxiliaryLayers = true | ) | const |
Returns a list of all layers affected by the delete operation.
If includeAuxiliaryLayers is false then auxiliary layers will not be included in the returned list.
Definition at line 6807 of file qgsvectorlayer.cpp.
| bool QgsVectorLayer::DeleteContext::cascade |
Definition at line 567 of file qgsvectorlayer.h.
| QMap<QgsVectorLayer *, QgsFeatureIds> QgsVectorLayer::DeleteContext::mHandledFeatures |
Definition at line 566 of file qgsvectorlayer.h.
| QgsProject* QgsVectorLayer::DeleteContext::project |
Definition at line 568 of file qgsvectorlayer.h.