QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Public Attributes | List of all members
QgsVectorLayer::DeleteContext Struct Reference

Context for cascade delete features. More...

#include <qgsvectorlayer.h>

Public Member Functions

 DeleteContext (bool cascade=false, QgsProject *project=nullptr)
 Constructor for DeleteContext. More...
 
QgsFeatureIds handledFeatures (QgsVectorLayer *layer) const
 
QList< QgsVectorLayer * > handledLayers () const
 

Public Attributes

bool cascade
 
QMap< QgsVectorLayer *, QgsFeatureIdsmHandledFeatures
 
QgsProjectproject
 

Detailed Description

Context for cascade delete features.

Since
QGIS 3.14

Definition at line 510 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

◆ DeleteContext()

QgsVectorLayer::DeleteContext::DeleteContext ( bool  cascade = false,
QgsProject project = nullptr 
)
inlineexplicit

Constructor for DeleteContext.

Definition at line 516 of file qgsvectorlayer.h.

Member Function Documentation

◆ handledFeatures()

QgsFeatureIds QgsVectorLayer::DeleteContext::handledFeatures ( QgsVectorLayer layer) const

Definition at line 5574 of file qgsvectorlayer.cpp.

◆ handledLayers()

QList< QgsVectorLayer * > QgsVectorLayer::DeleteContext::handledLayers ( ) const

Definition at line 5565 of file qgsvectorlayer.cpp.

Member Data Documentation

◆ cascade

bool QgsVectorLayer::DeleteContext::cascade

Definition at line 522 of file qgsvectorlayer.h.

◆ mHandledFeatures

QMap<QgsVectorLayer *, QgsFeatureIds> QgsVectorLayer::DeleteContext::mHandledFeatures

Definition at line 521 of file qgsvectorlayer.h.

◆ project

QgsProject* QgsVectorLayer::DeleteContext::project

Definition at line 523 of file qgsvectorlayer.h.


The documentation for this struct was generated from the following files: