QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Protected Attributes | List of all members
QgsProcessingParameterLimitedDataTypes Class Reference

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

#include <qgsprocessingparameters.h>

Inheritance diagram for QgsProcessingParameterLimitedDataTypes:
Inheritance graph
[legend]

Public Member Functions

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

Protected Attributes

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

Detailed Description

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

Since
QGIS 3.0

Definition at line 1801 of file qgsprocessingparameters.h.

Constructor & Destructor Documentation

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

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

Definition at line 3537 of file qgsprocessingparameters.cpp.

Member Function Documentation

QList< int > QgsProcessingParameterLimitedDataTypes::dataTypes ( ) const

Returns the geometry types for sources acceptable by the parameter.

See also
setDataTypes()

Definition at line 3139 of file qgsprocessingparameters.cpp.

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

Sets the geometry types for sources acceptable by the parameter.

See also
dataTypes()

Definition at line 3144 of file qgsprocessingparameters.cpp.

Member Data Documentation

QList< int > QgsProcessingParameterLimitedDataTypes::mDataTypes
protected

List of acceptable data types for the parameter.

Definition at line 1825 of file qgsprocessingparameters.h.


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