17#ifndef QGSPROFILEEXPORTER_H
18#define QGSPROFILEEXPORTER_H
82 std::vector< std::unique_ptr< QgsAbstractProfileGenerator > > mGenerators;
83 QVector< QgsAbstractProfileResults::Feature > mFeatures;
122 const QString &destination,
126 void cancel()
override;
136 QList< QgsVectorLayer * > takeLayers()
SIP_FACTORY;
148 QStringList createdFiles()
const {
return mCreatedFiles; }
153 QString
error()
const {
return mError; }
157 std::unique_ptr< QgsProfileExporter > mExporter;
158 QList< QgsVectorLayer * > mLayers;
160 std::unique_ptr< QgsFeedback > mFeedback;
161 QString mDestination;
163 ExportResult mResult = ExportResult::Success;
165 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(const QgsProfileExporter &other)=delete
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
Abstract base class for long running background tasks.