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.