QgsGeometryCheckFactory class

A factory for geometry checks.

Derived classes

template<class T>
class QgsGeometryCheckFactoryT
Template to create a factory for a geometry check.

Constructors, destructors, conversion operators

~QgsGeometryCheckFactory() defaulted virtual
Destructor.

Public functions

auto checkType() const -> QgsGeometryCheck::CheckType pure virtual
The type of this check.
auto createGeometryCheck(const QgsGeometryCheckContext* context, const QVariantMap& configuration) const -> QgsGeometryCheck* pure virtual
Creates a new geometry check with context and configuration.
auto description() const -> QString pure virtual
A human readable description for this check.
auto flags() const -> QgsGeometryCheck::Flags pure virtual
Flags for this check.
auto id() const -> QString pure virtual
The unique id for this geometry check.
auto isCompatible(QgsVectorLayer* layer) const -> bool pure virtual
Checks if this check should be made available for layer.

Function documentation

QgsGeometryCheckFactory::~QgsGeometryCheckFactory() virtual defaulted

Destructor.

Deletes all the registered checks