mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-24 00:06:24 -04:00
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.
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/analysis/network/qgsnetworkdistancestrategy.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsNetworkDistanceStrategy : QgsNetworkStrategy
|
|
{
|
|
%Docstring
|
|
|
|
.. versionadded:: 3.0
|
|
Strategy for caclulating edge cost based on its length. Should be
|
|
used for finding shortest path between two points.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsnetworkdistancestrategy.h"
|
|
%End
|
|
public:
|
|
virtual QVariant cost( double distance, const QgsFeature & ) const;
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/analysis/network/qgsnetworkdistancestrategy.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|