An Arcade expression object, containing an expression, a name, a return type and a title. More...
Member Function Documentation[explicit]
ArcadeExpression::ArcadeExpression(const QString &expression, QObject *parent = nullptr)
Creates a new Arcade expression object with an expression script.
The name and title will default to empty strings. The returnType will default to ArcadeExpressionReturnType::Automatic.
ArcadeExpression::ArcadeExpression(const QString &expression, const QString &title, const QString &name, QObject *parent = nullptr)Creates a new Arcade expression with an expression string, title, and name.
The returnType will default to ArcadeExpressionReturnType::Automatic.
ArcadeExpression::ArcadeExpression(const QString &expression, const QString &title, const QString &name, Esri::ArcGISRuntime::ArcadeExpressionReturnType returnType, QObject *parent = nullptr)Creates a new Arcade expression with an expression string, title, name, and return type.
false
, an empty string, or empty, depending on whether the returnType is ArcadeExpressionReturnType::Number, ArcadeExpressionReturnType::Boolean, ArcadeExpressionReturnType::String or anything else, respectively.If the Arcade expression evaluates to a result which differs from ArcadeExpressionReturnType then the result will be cast to the expected return type.
If the cast cannot be carried out, the result will be a type-specific error value. See ArcadeExpressionReturnType for details.
[override virtual noexcept]
ArcadeExpression::~ArcadeExpression()
Destructor.
QString ArcadeExpression::expression() constReturns the Arcade expression string.
[static]
Esri::ArcGISRuntime::ArcadeExpression *ArcadeExpression::fromJson(const QString &json, QObject *parent = nullptr)
Creates a new ArcadeExpression from json with an optional parent.
See also JsonSerializable.
QString ArcadeExpression::name() constReturns the name that the author uses to refer to the expression.
If not set explicitly, then the default is an empty name string.
Esri::ArcGISRuntime::ArcadeExpressionReturnType ArcadeExpression::returnType() constReturns the expected return type of the expression.
If the Arcade expression creates results of a different type (for example, a Date or an Array), then the result will be cast to the expected return type. If the cast cannot be carried out, the result will be a type-specific error value. ArcadeExpressionReturnType for details.
QString ArcadeExpression::title() constReturns the title that the author uses to describe the expression.
If not set explicitly, then the default is an empty title string.
[override virtual]
QString ArcadeExpression::toJson() const
Reimplements: JsonSerializable::toJson() const.
Converts and returns an object to JSON string.
See also JsonSerializable.
[since Esri::ArcGISRuntime 200.7]
bool ArcadeExpression::operator!=(Esri::ArcGISRuntime::ArcadeExpression *other) const
Tests and returns true
if this object is not equal to a second ArcadeExpression object.
This function was introduced in Esri::ArcGISRuntime 200.7.
[since Esri::ArcGISRuntime 200.7]
bool ArcadeExpression::operator==(Esri::ArcGISRuntime::ArcadeExpression *other) const
Tests and returns true
if this object is equal to a second ArcadeExpression object.
This function was introduced in Esri::ArcGISRuntime 200.7.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4