18#ifndef QGSPROCESSINGMODELRESULT_H
19#define QGSPROCESSINGMODELRESULT_H
56 QVariantMap
inputs()
const {
return mInputs; }
63 void setInputs(
const QVariantMap &inputs ) { mInputs = inputs; }
70 QVariantMap
outputs()
const {
return mOutputs; }
77 void setOutputs(
const QVariantMap &outputs ) { mOutputs = outputs; }
84 QString
htmlLog()
const {
return mHtmlLog; }
91 void setHtmlLog(
const QString &log ) { mHtmlLog = log; }
95 return mExecutionStatus == other.mExecutionStatus
96 && mHtmlLog == other.mHtmlLog
97 && mInputs == other.mInputs
98 && mOutputs == other.mOutputs;
102 return !( *
this == other );
109 QVariantMap mOutputs;
143 QMap< QString, QgsProcessingModelChildAlgorithmResult >
childResults()
const {
return mChildResults; }
189 QMap< QString, QgsProcessingModelChildAlgorithmResult > mChildResults;
191 QSet< QString > mExecutedChildren;
192 QVariantMap mRawChildInputs;
193 QVariantMap mRawChildOutputs;
ProcessingModelChildAlgorithmExecutionStatus
Reflects the status of a child algorithm in a Processing model.
@ NotExecuted
Child has not been executed.
Encapsulates the results of running a child algorithm within a model.
void setOutputs(const QVariantMap &outputs)
Sets the outputs generated by child algorithm.
QString htmlLog() const
Returns the HTML formatted contents of logged messages which occurred while running the child.
QgsProcessingModelChildAlgorithmResult()
QVariantMap outputs() const
Returns the outputs generated by the child algorithm.
void setExecutionStatus(Qgis::ProcessingModelChildAlgorithmExecutionStatus status)
Sets the status of executing the child algorithm.
Qgis::ProcessingModelChildAlgorithmExecutionStatus executionStatus() const
Returns the status of executing the child algorithm.
void setInputs(const QVariantMap &inputs)
Sets the inputs used for the child algorithm.
QVariantMap inputs() const
Returns the inputs used for the child algorithm.
void setHtmlLog(const QString &log)
Sets the HTML formatted contents of logged messages which occurred while running the child.
bool operator!=(const QgsProcessingModelChildAlgorithmResult &other) const
bool operator==(const QgsProcessingModelChildAlgorithmResult &other) const
Encapsulates the results of running a Processing model.
QVariantMap & rawChildOutputs()
Returns a reference to the map of raw child algorithm outputs.
QSet< QString > executedChildIds() const
Returns the set of child algorithm IDs which were executed during the model execution.
QVariantMap & rawChildInputs()
Returns a reference to the map of raw child algorithm inputs.
QSet< QString > & executedChildIds()
Returns a reference to the set of child algorithm IDs which were executed during the model execution.
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.