QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | Static Public Member Functions | List of all members
QgsProcessingOutputBoolean Class Reference

A boolean output for processing algorithms. More...

#include <qgsprocessingoutputs.h>

Inheritance diagram for QgsProcessingOutputBoolean:
Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

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

Additional Inherited Members

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

Detailed Description

A boolean output for processing algorithms.

Since
QGIS 3.8

Definition at line 339 of file qgsprocessingoutputs.h.

Constructor & Destructor Documentation

◆ QgsProcessingOutputBoolean()

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

Constructor for QgsProcessingOutputNumber.

Definition at line 58 of file qgsprocessingoutputs.cpp.

Member Function Documentation

◆ type()

QString QgsProcessingOutputBoolean::type ( ) const
inlineoverridevirtual

Unique output type name.

Implements QgsProcessingOutputDefinition.

Definition at line 352 of file qgsprocessingoutputs.h.

◆ typeName()

static QString QgsProcessingOutputBoolean::typeName ( )
inlinestatic

Returns the type name for the output class.

Definition at line 351 of file qgsprocessingoutputs.h.


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