• BoolFunction
  • class Esri::ArcGISRuntime::BoolFunction

    A function that returns an optional boolean value when evaluated. More...

    Header: #include <BoolFunction.h>
    Since: Esri::ArcGISRuntime 300.2
    Inherits: Esri::ArcGISRuntime::Object
    Inherited By:

    Esri::ArcGISRuntime::BoolSupplier

    Public Functions

    virtual ~BoolFunction() override
    Esri::ArcGISRuntime::BoolFunctionType boolFunctionType() const
    QFuture<std::optional<bool>> evaluateAsync()

    Detailed Description

    Use evaluateAsync to compute the result of this function.

    After updating parameters of this function, or of functions from which it is composed, evaluation uses the updated parameter values and may produce an updated result.

    See also BoolSupplier, FloatFunction, and Int32Function.

    Member Function Documentation

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

    Destructor.

    Esri::ArcGISRuntime::BoolFunctionType BoolFunction::boolFunctionType() const

    Returns the BoolFunction type.

    QFuture<std::optional<bool>> BoolFunction::evaluateAsync()

    Evaluates the function.

    This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.

    See Working with QFuture for further details.