Skip To Content ArcGIS for Developers Sign In Dashboard

GeoprocessingMultiValue Class

class Esri::ArcGISRuntime::GeoprocessingMultiValue

A multi value input or output parameter which contains a collection of values having a single geoprocessing parameter type. More...

Header: #include <GeoprocessingMultiValue>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::GeoprocessingParameter

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

GeoprocessingMultiValue(Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType, const QList<Esri::ArcGISRuntime::GeoprocessingParameter *> &values, QObject *parent = nullptr)
GeoprocessingMultiValue(Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType, QObject *parent = nullptr)
GeoprocessingMultiValue(QObject *parent = nullptr)
virtual ~GeoprocessingMultiValue() override
void setValueParameterType(Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType)
void setValues(const QList<Esri::ArcGISRuntime::GeoprocessingParameter *> &values)
Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType() const
QList<Esri::ArcGISRuntime::GeoprocessingParameter *> values() const

Detailed Description

Corresponds to GPMultiValue parameter type on the service.

All values contained in this GeoprocessingMultiValue must be of the same GeoprocessingParameterType.

Member Function Documentation

GeoprocessingMultiValue::GeoprocessingMultiValue(Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType, const QList<Esri::ArcGISRuntime::GeoprocessingParameter *> &values, QObject *parent = nullptr)

Constructor that accepts a GeoprocessingParameterType enumeration (valueParameterType), a list of GeoprocessingParameter objects (values), and an optional parent object.

All values must be of the same GeoprocessingParameterType as specified in valueParameterType.

GeoprocessingMultiValue::GeoprocessingMultiValue(Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType, QObject *parent = nullptr)

Constructor that accepts a GeoprocessingParameter enumeration (valueParameterType) and an optional parent object.

All values later added to this GeoprocessingMultiValue must be of the same GeoprocessingParameterType as specified in this constructor.

GeoprocessingMultiValue::GeoprocessingMultiValue(QObject *parent = nullptr)

Constructor that accepts an optional parent object.

[override virtual] GeoprocessingMultiValue::~GeoprocessingMultiValue()

Destructor.

void GeoprocessingMultiValue::setValueParameterType(Esri::ArcGISRuntime::GeoprocessingParameterType valueParameterType)

Sets the GeoprocessingParameterType to valueParameterType.

See also valueParameterType().

void GeoprocessingMultiValue::setValues(const QList<Esri::ArcGISRuntime::GeoprocessingParameter *> &values)

Sets the list of values to values.

See also values().

Esri::ArcGISRuntime::GeoprocessingParameterType GeoprocessingMultiValue::valueParameterType() const

Returns the GeoprocessingParameterType.

See also setValueParameterType().

QList<Esri::ArcGISRuntime::GeoprocessingParameter *> GeoprocessingMultiValue::values() const

Returns the list of values.

See also setValues().


Feedback on this topic?