QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Can be inherited by parameters which require limits to their acceptable data types. More...
#include <qgsprocessingparameters.h>
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... | |
Can be inherited by parameters which require limits to their acceptable data types.
Definition at line 2598 of file qgsprocessingparameters.h.
QgsProcessingParameterLimitedDataTypes::QgsProcessingParameterLimitedDataTypes | ( | const QList< int > & | types = QList< int >() | ) |
Constructor for QgsProcessingParameterLimitedDataTypes, with a list of acceptable data types.
Definition at line 5572 of file qgsprocessingparameters.cpp.
QList< int > QgsProcessingParameterLimitedDataTypes::dataTypes | ( | ) | const |
Returns the geometry types for sources acceptable by the parameter.
Definition at line 4956 of file qgsprocessingparameters.cpp.
void QgsProcessingParameterLimitedDataTypes::setDataTypes | ( | const QList< int > & | types | ) |
Sets the geometry types for sources acceptable by the parameter.
Definition at line 4961 of file qgsprocessingparameters.cpp.
|
protected |
List of acceptable data types for the parameter.
Definition at line 2622 of file qgsprocessingparameters.h.