QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
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.
 
QgsGeometryCheckcreateGeometryCheck (const QgsGeometryCheckContext *context, const QVariantMap &configuration) const override
 Creates a new geometry check with context and configuration.
 
QString description () const override
 A human readable description for this check.
 
QgsGeometryCheck::Flags flags () const override
 Flags for this check.
 
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.
 
- Public Member Functions inherited from QgsGeometryCheckFactory
virtual ~QgsGeometryCheckFactory ()=default
 Destructor.
 

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 91 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 119 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 94 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 99 of file qgsgeometrycheckfactory.h.

◆ flags()

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

Flags for this check.

Implements QgsGeometryCheckFactory.

Definition at line 114 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 104 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 109 of file qgsgeometrycheckfactory.h.


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