QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsProcessingParameterLimitedDataTypes Class Reference

Can be inherited by parameters which require limits to their acceptable data types. More...

#include <qgsprocessingparameters.h>

Inheritance diagram for QgsProcessingParameterLimitedDataTypes:

Public Member Functions

 QgsProcessingParameterLimitedDataTypes (const QList< int > &types=QList< int >())
 Constructor for QgsProcessingParameterLimitedDataTypes, with a list of acceptable data types.
QList< int > dataTypes () const
 Returns the geometry types for sources acceptable by the parameter.
void setDataTypes (const QList< int > &types)
 Sets the geometry types for sources acceptable by the parameter.

Protected Attributes

QList< int > mDataTypes
 List of acceptable data types for the parameter.

Detailed Description

Can be inherited by parameters which require limits to their acceptable data types.

Definition at line 3177 of file qgsprocessingparameters.h.

Constructor & Destructor Documentation

◆ QgsProcessingParameterLimitedDataTypes()

QgsProcessingParameterLimitedDataTypes::QgsProcessingParameterLimitedDataTypes ( const QList< int > & types = QList< int >())

Constructor for QgsProcessingParameterLimitedDataTypes, with a list of acceptable data types.

Definition at line 6678 of file qgsprocessingparameters.cpp.

Member Function Documentation

◆ dataTypes()

QList< int > QgsProcessingParameterLimitedDataTypes::dataTypes ( ) const

Returns the geometry types for sources acceptable by the parameter.

See also
setDataTypes()

Definition at line 5996 of file qgsprocessingparameters.cpp.

◆ setDataTypes()

void QgsProcessingParameterLimitedDataTypes::setDataTypes ( const QList< int > & types)

Sets the geometry types for sources acceptable by the parameter.

See also
dataTypes()

Definition at line 6001 of file qgsprocessingparameters.cpp.

Member Data Documentation

◆ mDataTypes

QList< int > QgsProcessingParameterLimitedDataTypes::mDataTypes
protected

List of acceptable data types for the parameter.

Definition at line 3201 of file qgsprocessingparameters.h.


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