QGIS API Documentation 4.3.0-Master (3b7b3208a79)
Loading...
Searching...
No Matches
QgsProcessingResultsHandler::ResultLayerDetails Class Reference

Contains details of a layer result from running an algorithm. More...

#include <qgsprocessingpostprocessor.h>

Public Member Functions

 ResultLayerDetails (QgsMapLayer *layer)
 Constructor for ResultLayerDetails.

Public Attributes

QgsProject * destinationProject = nullptr
 Destination QGIS project.
QgsMapLayer * layer = nullptr
 Associated map layer.
int sortKey = 0
 Sort order key for ordering output layers in the layer tree.
QgsLayerTreeGroup * targetLayerTreeGroup = nullptr
 Optional target layer tree group, where the layer should be placed.

Detailed Description

Contains details of a layer result from running an algorithm.

Since
QGIS 4.4

Definition at line 76 of file qgsprocessingpostprocessor.h.

Constructor & Destructor Documentation

◆ ResultLayerDetails()

QgsProcessingResultsHandler::ResultLayerDetails::ResultLayerDetails ( QgsMapLayer * layer)
inline

Constructor for ResultLayerDetails.

Takes ownership of layer.

Definition at line 84 of file qgsprocessingpostprocessor.h.

Member Data Documentation

◆ destinationProject

QgsProject* QgsProcessingResultsHandler::ResultLayerDetails::destinationProject = nullptr

Destination QGIS project.

Definition at line 106 of file qgsprocessingpostprocessor.h.

◆ layer

QgsMapLayer* QgsProcessingResultsHandler::ResultLayerDetails::layer = nullptr

Associated map layer.

Definition at line 91 of file qgsprocessingpostprocessor.h.

◆ sortKey

int QgsProcessingResultsHandler::ResultLayerDetails::sortKey = 0

Sort order key for ordering output layers in the layer tree.

Definition at line 101 of file qgsprocessingpostprocessor.h.

◆ targetLayerTreeGroup

QgsLayerTreeGroup* QgsProcessingResultsHandler::ResultLayerDetails::targetLayerTreeGroup = nullptr

Optional target layer tree group, where the layer should be placed.

Definition at line 96 of file qgsprocessingpostprocessor.h.


The documentation for this class was generated from the following file: