• GeoprocessingRaster
  • class Esri::ArcGISRuntime::GeoprocessingRaster

    A raster input or output parameter. More...

    Header: #include <GeoprocessingRaster.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::GeoprocessingDataFile

    Public Functions

    GeoprocessingRaster(QObject *parent = nullptr)
    GeoprocessingRaster(const QUrl &url, const QString &format, QObject *parent = nullptr)
    virtual ~GeoprocessingRaster() override
    QString format() const
    void setFormat(const QString &format)

    Detailed Description

    Corresponds to GPRasterData and GPRasterDataLayer parameter types on the service.

    {GeoprocessingRaster(const QUrl&, const QString&, QObject*)}

    See also GeoprocessingRaster and Esri::ArcGISRuntime::GeoprocessingRaster::GeoprocessingRaster(const QUrl&, const QString&, QObject*).

    Member Function Documentation

    [explicit] GeoprocessingRaster::GeoprocessingRaster(QObject *parent = nullptr)

    Constructor that accepts an optional parent object.

    GeoprocessingRaster::GeoprocessingRaster(const QUrl &url, const QString &format, QObject *parent = nullptr)

    Constructor that accepts a raster image and an optional parent object.

    • url - The URL of the raster source.
    • format - A string describing the format of the raster, such as "tif".
    • parent - The optional parent object.

    [override virtual noexcept] GeoprocessingRaster::~GeoprocessingRaster()

    Destructor.

    QString GeoprocessingRaster::format() const

    Returns a string indicating the format of the raster, such as "tif".

    See also setFormat().

    void GeoprocessingRaster::setFormat(const QString &format)

    Sets the string indicating the format of the raster to format.

    See also format().