A BoolFunction that returns a user-supplied optional boolean value when evaluated. More...
| Header | #include <Bool |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Bool | |
| virtual | ~ |
| void | set |
| std | value() const |
Detailed Description
Allows the supplied value to be changed and the analysis reevaluated. Analysis reevaluation may produce an updated result after changing the supplied value.
Changing the values supplied to an analysis and reevaluating is more performant than creating and evaluating a new analysis with the new values.
See also BoolFunction, BoolFunction::evaluateAsync, FloatSupplier, and Int32Supplier.
Member Function Documentation
[explicit] BoolSupplier::BoolSupplier (std::optional <bool> value, QObject *parent = nullptr)
Creates a BoolSupplier.
- value - The optional boolean value supplied to an analysis.
- parent - The optional parent QObject.
[override virtual noexcept] BoolSupplier::~BoolSupplier ()
Destructor.
void BoolSupplier::setValue (std::optional <bool> value)
Sets the value to value.
See also value.
std::optional <bool> BoolSupplier::value() const
Returns the optional boolean value supplied to an analysis.
After changing the value, evaluation returns the updated value.
See also setValue().