mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05:00
The cpp/h file was getting too large, so split off the individual subcomponents into their own h/cpp files to keep code maintainable.
93 lines
2.6 KiB
Plaintext
93 lines
2.6 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/processing/models/qgsprocessingmodeloutput.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsProcessingModelOutput : QgsProcessingModelComponent
|
|
{
|
|
%Docstring
|
|
Represents a final output created by the model.
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsprocessingmodeloutput.h"
|
|
%End
|
|
public:
|
|
|
|
QgsProcessingModelOutput( const QString &name = QString(), const QString &description = QString() );
|
|
%Docstring
|
|
Constructor for QgsProcessingModelOutput with the specified ``name`` and ``description``.
|
|
%End
|
|
|
|
QString name() const;
|
|
%Docstring
|
|
Returns the model output name.
|
|
.. seealso:: setName()
|
|
:rtype: str
|
|
%End
|
|
|
|
void setName( const QString &name );
|
|
%Docstring
|
|
Sets the model output ``name``.
|
|
.. seealso:: name()
|
|
%End
|
|
|
|
QString childId() const;
|
|
%Docstring
|
|
Returns the child algorithm ID from which this output is generated.
|
|
.. seealso:: setChildId()
|
|
:rtype: str
|
|
%End
|
|
|
|
void setChildId( const QString &id );
|
|
%Docstring
|
|
Sets the child algorithm ``id`` from which this output is generated.
|
|
.. seealso:: childId()
|
|
%End
|
|
|
|
QString childOutputName() const;
|
|
%Docstring
|
|
Returns the child algorithm output name from which this output is generated.
|
|
.. seealso:: setOutputName()
|
|
:rtype: str
|
|
%End
|
|
|
|
void setChildOutputName( const QString &name );
|
|
%Docstring
|
|
Sets the child algorithm output ``name`` from which this output is generated.
|
|
.. seealso:: outputName()
|
|
%End
|
|
|
|
QVariant toVariant() const;
|
|
%Docstring
|
|
Saves this output to a QVariant.
|
|
.. seealso:: loadVariant()
|
|
:rtype: QVariant
|
|
%End
|
|
|
|
bool loadVariant( const QVariantMap &map );
|
|
%Docstring
|
|
Loads this output from a QVariantMap.
|
|
.. seealso:: toVariant()
|
|
:rtype: bool
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/processing/models/qgsprocessingmodeloutput.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|