QGIS API Documentation
3.2.0-Bonn (bc43194)
|
Details for layers to load into projects. More...
#include <qgsprocessingcontext.h>
Public Member Functions | |
LayerDetails (const QString &name, QgsProject *project, const QString &outputName=QString()) | |
Constructor for LayerDetails. More... | |
LayerDetails ()=default | |
Default constructor. More... | |
QgsProcessingLayerPostProcessorInterface * | postProcessor () const |
Layer post-processor. More... | |
void | setPostProcessor (QgsProcessingLayerPostProcessorInterface *processor) |
Sets the layer post-processor. More... | |
Public Attributes | |
QString | name |
Friendly name for layer, to use when loading layer into project. More... | |
QString | outputName |
Associated output name from algorithm which generated the layer. More... | |
QgsProject * | project = nullptr |
Destination project. More... | |
Details for layers to load into projects.
Definition at line 165 of file qgsprocessingcontext.h.
|
inline |
Constructor for LayerDetails.
Definition at line 172 of file qgsprocessingcontext.h.
|
default |
Default constructor.
QgsProcessingLayerPostProcessorInterface * QgsProcessingContext::LayerDetails::postProcessor | ( | ) | const |
Layer post-processor.
May be nullptr if no post-processing is required.
Definition at line 98 of file qgsprocessingcontext.cpp.
void QgsProcessingContext::LayerDetails::setPostProcessor | ( | QgsProcessingLayerPostProcessorInterface * | processor | ) |
Sets the layer post-processor.
May be nullptr if no post-processing is required.
Ownership of processor is transferred.
Definition at line 103 of file qgsprocessingcontext.cpp.
QString QgsProcessingContext::LayerDetails::name |
Friendly name for layer, to use when loading layer into project.
Definition at line 182 of file qgsprocessingcontext.h.
QString QgsProcessingContext::LayerDetails::outputName |
Associated output name from algorithm which generated the layer.
Definition at line 185 of file qgsprocessingcontext.h.
QgsProject* QgsProcessingContext::LayerDetails::project = nullptr |
Destination project.
Definition at line 205 of file qgsprocessingcontext.h.