QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
analysis
processing
qgsalgorithmshortestpathpointtolayer.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsalgorithmshortestpathpointtolayer.h
3
---------------------
4
begin : JUly 2018
5
copyright : (C) 2018 by Alexander Bruy
6
email : alexander dot bruy at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSALGORITHMSHORTESTPATHPOINTTOLAYER_H
19
#define QGSALGORITHMSHORTESTPATHPOINTTOLAYER_H
20
21
#define SIP_NO_FILE
22
23
#include "
qgis_sip.h
"
24
#include "
qgsalgorithmnetworkanalysisbase.h
"
25
27
31
class
QgsShortestPathPointToLayerAlgorithm :
public
QgsNetworkAnalysisAlgorithmBase
32
{
33
public
:
34
QgsShortestPathPointToLayerAlgorithm() =
default
;
35
void
initAlgorithm(
const
QVariantMap &configuration = QVariantMap() )
override
;
36
QString name()
const override
;
37
QString displayName()
const override
;
38
QStringList tags()
const override
;
39
QString shortHelpString()
const override
;
40
Qgis::ProcessingAlgorithmDocumentationFlags
documentationFlags()
const override
;
41
QgsShortestPathPointToLayerAlgorithm *createInstance()
const
override
SIP_FACTORY
;
42
43
protected
:
44
QVariantMap processAlgorithm(
const
QVariantMap ¶meters,
QgsProcessingContext
&context,
QgsProcessingFeedback
*feedback )
override
;
45
};
46
48
49
#endif
// QGSALGORITHMSHORTESTPATHPOINTTOLAYER_H
Qgis::ProcessingAlgorithmDocumentationFlags
QFlags< ProcessingAlgorithmDocumentationFlag > ProcessingAlgorithmDocumentationFlags
Flags describing algorithm behavior for documentation purposes.
Definition
qgis.h:3412
QgsProcessingContext
Contains information about the context in which a processing algorithm is executed.
Definition
qgsprocessingcontext.h:45
QgsProcessingFeedback
Base class for providing feedback from a processing algorithm.
Definition
qgsprocessingfeedback.h:38
qgis_sip.h
SIP_FACTORY
#define SIP_FACTORY
Definition
qgis_sip.h:76
qgsalgorithmnetworkanalysisbase.h
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8