16 #ifndef QGSGEOMETRYCHECKFACTORY_H    17 #define QGSGEOMETRYCHECKFACTORY_H    21 #include <QVariantMap>    25 #include "qgis_analysis.h"    62     virtual QString id() 
const = 0;
    67     virtual QString description() 
const = 0;
    77     virtual QgsGeometryCheck::Flags flags() 
const = 0;
    97       return new T( context, configuration );
   102       return T::factoryDescription();
   105     QString 
id()
 const override   107       return T::factoryId();
   112       return T::factoryIsCompatible( layer );
   115     QgsGeometryCheck::Flags 
flags()
 const override   117       return T::factoryFlags();
   122       return T::factoryCheckType();
   127 #endif // QGSGEOMETRYCHECKFACTORY_H QgsGeometryCheck::Flags flags() const override
Flags for this check. 
 
CheckType
The type of a check. 
 
Base class for geometry checks for a single geometry without any context of the layer or other layers...
 
QString id() const override
The unique id for this geometry check. 
 
bool isCompatible(QgsVectorLayer *layer) const override
Checks if this check should be made available for layer. 
 
Base configuration for geometry checks. 
 
QgsGeometryCheck * createGeometryCheck(const QgsGeometryCheckContext *context, const QVariantMap &configuration) const override
Creates a new geometry check with context and configuration. 
 
This class implements a geometry check. 
 
QString description() const override
A human readable description for this check. 
 
QgsGeometryCheck::CheckType checkType() const override
The type of this check. 
 
Represents a vector layer which manages a vector based data sets. 
 
A factory for geometry checks. 
 
Template to create a factory for a geometry check.