18 #ifndef QGSALGORITHMDISSOLVE_H
19 #define QGSALGORITHMDISSOLVE_H
37 const std::function<
QgsGeometry(
const QVector<QgsGeometry>& )> &collector,
int maxQueueLength = 0 );
43 class QgsDissolveAlgorithm :
public QgsCollectorAlgorithm
48 QgsDissolveAlgorithm() =
default;
49 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
51 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmDissolve.svg" ) ); }
52 QString name()
const override;
53 QString displayName()
const override;
54 QStringList tags()
const override;
55 QString group()
const override;
56 QString groupId()
const override;
57 QString shortHelpString()
const override;
58 QgsDissolveAlgorithm *createInstance() const override
SIP_FACTORY;
62 QVariantMap processAlgorithm( const QVariantMap ¶meters,
70 class QgsCollectAlgorithm : public QgsCollectorAlgorithm
75 QgsCollectAlgorithm() =
default;
77 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmCollect.svg" ) ); }
78 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
79 QString name()
const override;
80 QString displayName()
const override;
81 QStringList tags()
const override;
82 QString group()
const override;
83 QString groupId()
const override;
84 QString shortHelpString()
const override;
85 QgsCollectAlgorithm *createInstance() const override
SIP_FACTORY;
89 QVariantMap processAlgorithm( const QVariantMap ¶meters,
96 #endif // QGSALGORITHMDISSOLVE_H