QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsGeometryCheckFactory Class Referenceabstract

A factory for geometry checks. More...

#include <qgsgeometrycheckfactory.h>

Inheritance diagram for QgsGeometryCheckFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsGeometryCheckFactory ()=default
 Destructor.
 
virtual QgsGeometryCheck::CheckType checkType () const =0
 The type of this check.
 
virtual QgsGeometryCheckcreateGeometryCheck (const QgsGeometryCheckContext *context, const QVariantMap &configuration) const =0
 Creates a new geometry check with context and configuration.
 
virtual QString description () const =0
 A human readable description for this check.
 
virtual QgsGeometryCheck::Flags flags () const =0
 Flags for this check.
 
virtual QString id () const =0
 The unique id for this geometry check.
 
virtual bool isCompatible (QgsVectorLayer *layer) const =0
 Checks if this check should be made available for layer.
 

Detailed Description

A factory for geometry checks.

Note
This class is a technology preview and unstable API.
Since
QGIS 3.4

Definition at line 43 of file qgsgeometrycheckfactory.h.

Constructor & Destructor Documentation

◆ ~QgsGeometryCheckFactory()

virtual QgsGeometryCheckFactory::~QgsGeometryCheckFactory ( )
virtualdefault

Destructor.

Deletes all the registered checks

Member Function Documentation

◆ checkType()

virtual QgsGeometryCheck::CheckType QgsGeometryCheckFactory::checkType ( ) const
pure virtual

The type of this check.

Implemented in QgsGeometryCheckFactoryT< T >.

◆ createGeometryCheck()

virtual QgsGeometryCheck * QgsGeometryCheckFactory::createGeometryCheck ( const QgsGeometryCheckContext context,
const QVariantMap &  configuration 
) const
pure virtual

Creates a new geometry check with context and configuration.

Implemented in QgsGeometryCheckFactoryT< T >.

◆ description()

virtual QString QgsGeometryCheckFactory::description ( ) const
pure virtual

A human readable description for this check.

Implemented in QgsGeometryCheckFactoryT< T >.

◆ flags()

virtual QgsGeometryCheck::Flags QgsGeometryCheckFactory::flags ( ) const
pure virtual

Flags for this check.

Implemented in QgsGeometryCheckFactoryT< T >.

◆ id()

virtual QString QgsGeometryCheckFactory::id ( ) const
pure virtual

The unique id for this geometry check.

Implemented in QgsGeometryCheckFactoryT< T >.

◆ isCompatible()

virtual bool QgsGeometryCheckFactory::isCompatible ( QgsVectorLayer layer) const
pure virtual

Checks if this check should be made available for layer.

Implemented in QgsGeometryCheckFactoryT< T >.


The documentation for this class was generated from the following file: