ArcadeEvaluationResult Class

  • ArcadeEvaluationResult
  • class Esri::ArcGISRuntime::ArcadeEvaluationResult

    The result from the successful evaluation of an Arcade Expression. More...

    Header: #include <ArcadeEvaluationResult>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::Object

    This class was introduced in Esri::ArcGISRuntime 100.14.

    Public Functions

    virtual ~ArcadeEvaluationResult() override
    QVariant castTo(Esri::ArcGISRuntime::ArcadeExpressionReturnType toType) const
    bool equals(Esri::ArcGISRuntime::ArcadeEvaluationResult *other) const
    QVariant result() const

    Detailed Description

    Member Function Documentation

    [override virtual] ArcadeEvaluationResult::~ArcadeEvaluationResult()

    Destructor.

    QVariant ArcadeEvaluationResult::castTo(Esri::ArcGISRuntime::ArcadeExpressionReturnType toType) const

    Returns the result of an evaluation to another type using the Arcade casting rules.

    • toType - The type to cast to.

    Attempts to cast to the required type using the Arcade casting rules. Arcade does not throw errors when its casting fails, instead it returns a nullptr value, or NaN in the case of casting to a number.

    bool ArcadeEvaluationResult::equals(Esri::ArcGISRuntime::ArcadeEvaluationResult *other) const

    Returns true if two ArcadeEvaluationResult objects are equal, false otherwise.

    • other - The second object.

    This is a deep comparison, so two separate dictionaries with the same keys and values will compare equal.

    QVariant ArcadeEvaluationResult::result() const

    Returns the result of a successful evaluation.

    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