QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
Encapsulates the results of running a Processing model. More...
#include <qgsprocessingmodelresult.h>
Public Member Functions | |
QgsProcessingModelResult () | |
QMap< QString, QgsProcessingModelChildAlgorithmResult > & | childResults () |
Returns a reference to the map of child algorithm results. | |
QMap< QString, QgsProcessingModelChildAlgorithmResult > | childResults () const |
Returns the map of child algorithm results. | |
void | clear () |
Clears any existing results. | |
QSet< QString > & | executedChildIds () |
Returns a reference to the set of child algorithm IDs which were executed during the model execution. | |
QSet< QString > | executedChildIds () const |
Returns the set of child algorithm IDs which were executed during the model execution. | |
void | mergeWith (const QgsProcessingModelResult &other) |
Merges this set of results with an other set of results. | |
QVariantMap & | rawChildInputs () |
Returns a reference to the map of raw child algorithm inputs. | |
QVariantMap & | rawChildOutputs () |
Returns a reference to the map of raw child algorithm outputs. | |
Encapsulates the results of running a Processing model.
Definition at line 120 of file qgsprocessingmodelresult.h.
|
default |
|
inline |
Returns a reference to the map of child algorithm results.
Map keys refer to the child algorithm IDs.
Definition at line 152 of file qgsprocessingmodelresult.h.
|
inline |
Returns the map of child algorithm results.
Map keys refer to the child algorithm IDs.
Definition at line 143 of file qgsprocessingmodelresult.h.
void QgsProcessingModelResult::clear | ( | ) |
Clears any existing results.
Definition at line 33 of file qgsprocessingmodelresult.cpp.
|
inline |
Returns a reference to the set of child algorithm IDs which were executed during the model execution.
Definition at line 180 of file qgsprocessingmodelresult.h.
|
inline |
Returns the set of child algorithm IDs which were executed during the model execution.
Definition at line 185 of file qgsprocessingmodelresult.h.
void QgsProcessingModelResult::mergeWith | ( | const QgsProcessingModelResult & | other | ) |
Merges this set of results with an other set of results.
Conflicting results from other will replace results in this object.
Definition at line 41 of file qgsprocessingmodelresult.cpp.
|
inline |
Returns a reference to the map of raw child algorithm inputs.
Map keys refer to the child algorithm IDs. Map values may take any form, including values which are not safe to access from Python.
Definition at line 162 of file qgsprocessingmodelresult.h.
|
inline |
Returns a reference to the map of raw child algorithm outputs.
Map keys refer to the child algorithm IDs. Map values may take any form, including values which are not safe to access from Python.
Definition at line 172 of file qgsprocessingmodelresult.h.