template<class T>
QgsGeometryCheckFactoryT class
Template to create a factory for a geometry check.
Contents
- Reference
Base classes
- class QgsGeometryCheckFactory
- A factory for geometry checks.
Public functions
-
auto checkType() const -> QgsGeometryCheck::
CheckType override - The type of this check.
- auto createGeometryCheck(const QgsGeometryCheckContext* context, const QVariantMap& configuration) const -> QgsGeometryCheck* override
- Creates a new geometry check with context and configuration.
- auto description() const -> QString override
- A human readable description for this check.
- auto flags() const -> QgsGeometryCheck::Flags override
- Flags for this check.
- auto id() const -> QString override
- The unique id for this geometry check.
- auto isCompatible(QgsVectorLayer* layer) const -> bool override
- Checks if this check should be made available for layer.