QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QgsProcessingOutputVariant Class Reference

A variant output for processing algorithms, capable of storing any QVariant value. More...

#include <qgsprocessingoutputs.h>

Inheritance diagram for QgsProcessingOutputVariant:
Inheritance graph
[legend]

Public Member Functions

 QgsProcessingOutputVariant (const QString &name, const QString &description=QString())
 Constructor for QgsProcessingOutputVariant.
 
QString type () const override
 Unique output type name.
 
- Public Member Functions inherited from QgsProcessingOutputDefinition
 QgsProcessingOutputDefinition (const QString &name, const QString &description=QString())
 Constructor for QgsProcessingOutputDefinition.
 
virtual ~QgsProcessingOutputDefinition ()=default
 
bool autoCreated () const
 Returns true if the output was automatically created when adding a parameter.
 
QString description () const
 Returns the description for the output.
 
QString name () const
 Returns the name of the output.
 
void setAutoCreated (bool autoCreated)
 Sets whether an output was automatically created when adding a parameter.
 
void setDescription (const QString &description)
 Sets the description for the output.
 
void setName (const QString &name)
 Sets the name of the output.
 

Static Public Member Functions

static QString typeName ()
 Returns the type name for the output class.
 

Additional Inherited Members

- Protected Attributes inherited from QgsProcessingOutputDefinition
bool mAutoCreated = false
 
QString mDescription
 Output description.
 
QString mName
 Output name.
 

Detailed Description

A variant output for processing algorithms, capable of storing any QVariant value.

Since
QGIS 3.34

Definition at line 316 of file qgsprocessingoutputs.h.

Constructor & Destructor Documentation

◆ QgsProcessingOutputVariant()

QgsProcessingOutputVariant::QgsProcessingOutputVariant ( const QString &  name,
const QString &  description = QString() 
)

Constructor for QgsProcessingOutputVariant.

Definition at line 98 of file qgsprocessingoutputs.cpp.

Member Function Documentation

◆ type()

QString QgsProcessingOutputVariant::type ( ) const
overridevirtual

Unique output type name.

Implements QgsProcessingOutputDefinition.

Definition at line 104 of file qgsprocessingoutputs.cpp.

◆ typeName()

static QString QgsProcessingOutputVariant::typeName ( )
inlinestatic

Returns the type name for the output class.

Definition at line 328 of file qgsprocessingoutputs.h.


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