QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Public Member Functions | List of all members
QgsGeometryCheckFactoryT< T > Class Template Reference

Template to create a factory for a geometry check. More...

#include <qgsgeometrycheckfactory.h>

Inheritance diagram for QgsGeometryCheckFactoryT< T >:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

template<class T>
class QgsGeometryCheckFactoryT< T >

Template to create a factory for a geometry check.

Note
Not available in Python bindings.

Definition at line 92 of file qgsgeometrycheckfactory.h.

Member Function Documentation

◆ checkType()

template<class T >
QgsGeometryCheck::CheckType QgsGeometryCheckFactoryT< T >::checkType ( ) const
inlineoverridevirtual

The type of this check.

Implements QgsGeometryCheckFactory.

Definition at line 120 of file qgsgeometrycheckfactory.h.

◆ createGeometryCheck()

template<class T >
QgsGeometryCheck* QgsGeometryCheckFactoryT< T >::createGeometryCheck ( const QgsGeometryCheckContext context,
const QVariantMap &  configuration 
) const
inlineoverridevirtual

Creates a new geometry check with context and configuration.

Implements QgsGeometryCheckFactory.

Definition at line 95 of file qgsgeometrycheckfactory.h.

◆ description()

template<class T >
QString QgsGeometryCheckFactoryT< T >::description ( ) const
inlineoverridevirtual

A human readable description for this check.

Implements QgsGeometryCheckFactory.

Definition at line 100 of file qgsgeometrycheckfactory.h.

◆ flags()

template<class T >
QgsGeometryCheck::Flags QgsGeometryCheckFactoryT< T >::flags ( ) const
inlineoverridevirtual

Flags for this check.

Implements QgsGeometryCheckFactory.

Definition at line 115 of file qgsgeometrycheckfactory.h.

◆ id()

template<class T >
QString QgsGeometryCheckFactoryT< T >::id ( ) const
inlineoverridevirtual

The unique id for this geometry check.

Implements QgsGeometryCheckFactory.

Definition at line 105 of file qgsgeometrycheckfactory.h.

◆ isCompatible()

template<class T >
bool QgsGeometryCheckFactoryT< T >::isCompatible ( QgsVectorLayer layer) const
inlineoverridevirtual

Checks if this check should be made available for layer.

Implements QgsGeometryCheckFactory.

Definition at line 110 of file qgsgeometrycheckfactory.h.


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