17#ifndef QGSPROFILEEXPORTER_H
18#define QGSPROFILEEXPORTER_H
85 std::vector< std::unique_ptr< QgsAbstractProfileGenerator > > mGenerators;
86 QVector< QgsAbstractProfileResults::Feature > mFeatures;
125 const QString &destination,
129 void cancel()
override;
139 QList< QgsVectorLayer * > takeLayers()
SIP_FACTORY;
151 QStringList createdFiles()
const {
return mCreatedFiles; }
156 QString
error()
const {
return mError; }
160 std::unique_ptr< QgsProfileExporter > mExporter;
161 QList< QgsVectorLayer * > mLayers;
163 std::unique_ptr< QgsFeedback > mFeedback;
164 QString mDestination;
166 ExportResult mResult = ExportResult::Success;
168 QStringList mCreatedFiles;
ProfileExportType
Types of export for elevation profiles.
@ Features3D
Export profiles as 3D features, with elevation values stored in exported geometry Z values.
Abstract base class for objects which generate elevation profiles.
Interface for classes which can generate elevation profiles.
Contains information about the context in which a coordinate transform is executed.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Handles exports of elevation profiles in various formats in a background task.
ExportResult
Results of exporting the profile.
QString error() const
Returns a descriptive error message, if available.
Handles exports of elevation profiles in various formats.
QgsProfileExporter & operator=(const QgsProfileExporter &other)=delete
QgsProfileExporter cannot be copied.
QgsProfileExporter(const QgsProfileExporter &other)=delete
QgsProfileExporter cannot be copied.
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
Abstract base class for long running background tasks.