RasterFunctionArguments Class

  • RasterFunctionArguments
  • class Esri::ArcGISRuntime::RasterFunctionArguments

    Represents arguments associated with a raster function. More...

    Header: #include <RasterFunctionArguments.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~RasterFunctionArguments() override
    QStringList argumentNames() const
    QStringList rasterNames() const
    void setArgument(const QString &name, const QString &value)
    void setRaster(const QString &rasterName, Esri::ArcGISRuntime::Raster *raster)

    Detailed Description

    Obtain the RasterFunctionArguments from the RasterFunction.

    Relevant samples:

    Member Function Documentation

    [override virtual] RasterFunctionArguments::~RasterFunctionArguments()

    Destructor.

    [since Esri::ArcGISRuntime 100.2] QStringList RasterFunctionArguments::argumentNames() const

    Returns argument variable names in the raster function arguments.

    Use setArgument(const QString&, const QString&) to set value for argument variable.

    This function was introduced in Esri::ArcGISRuntime 100.2.

    QStringList RasterFunctionArguments::rasterNames() const

    Returns raster variable names in the raster function arguments.

    Use setRaster(const QString&, Esri::ArcGISRuntime::Raster*) to set value for raster variable.

    [since Esri::ArcGISRuntime 100.2] void RasterFunctionArguments::setArgument(const QString &name, const QString &value)

    Sets argument value for the specified argument variable.

    • name - Argument name.
    • value - Argument value.

    This function was introduced in Esri::ArcGISRuntime 100.2.

    void RasterFunctionArguments::setRaster(const QString &rasterName, Esri::ArcGISRuntime::Raster *raster)

    Sets raster value for the specified raster variable.

    • rasterName - Argument name.
    • raster - Raster object.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close