QGIS/python/analysis/network/qgsgraphdirector.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

76 lines
2.3 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphdirector.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
%ModuleHeaderCode
#include <qgsvectorlayerdirector.h>
%End
class QgsGraphDirector : QObject
{
%Docstring
Determine making the graph. QgsGraphBuilder and QgsGraphDirector implemented
using "builder" design patter.
%End
%TypeHeaderCode
#include "qgsgraphdirector.h"
%End
%ConvertToSubClassCode
if ( dynamic_cast< QgsVectorLayerDirector * >( sipCpp ) != NULL )
sipType = sipType_QgsVectorLayerDirector;
else
sipType = NULL;
%End
public:
~QgsGraphDirector();
virtual void makeGraph( QgsGraphBuilderInterface *builder,
const QVector< QgsPointXY > &additionalPoints,
QVector< QgsPointXY > &snappedPoints /Out/,
QgsFeedback *feedback = 0 ) const;
%Docstring
Make a graph using QgsGraphBuilder
:param builder: the graph builder
:param additionalPoints: list of points that should be snapped to the graph
:param snappedPoints: list of snapped points
:param feedback: feedback object for reporting progress
.. note::
if snappedPoints[i] == QgsPointXY(0.0,0.0) then snapping failed.
%End
void addStrategy( QgsNetworkStrategy *prop /Transfer/ );
%Docstring
Add optimization strategy
%End
virtual QString name() const = 0;
%Docstring
Returns director name
:rtype: str
%End
protected:
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphdirector.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/