UtilityCategoryComparison Class

  • UtilityCategoryComparison
  • class Esri::ArcGISRuntime::UtilityCategoryComparison

    A condition evaluating whether a particular UtilityCategory exists on a feature in the trace. More...

    Header: #include <UtilityCategoryComparison.h>
    Since: Esri::ArcGISRuntime 100.7
    Inherits: Esri::ArcGISRuntime::UtilityTraceConditionalExpression

    Public Functions

    UtilityCategoryComparison(const QString &categoryName, Esri::ArcGISRuntime::UtilityCategoryComparisonOperator comparisonOperator, QObject *parent = nullptr)
    UtilityCategoryComparison(Esri::ArcGISRuntime::UtilityCategory *category, Esri::ArcGISRuntime::UtilityCategoryComparisonOperator comparisonOperator, QObject *parent = nullptr)
    virtual ~UtilityCategoryComparison() override
    Esri::ArcGISRuntime::UtilityCategory *category() const
    Esri::ArcGISRuntime::UtilityCategoryComparisonOperator comparisonOperator() const

    Detailed Description

    Member Function Documentation

    [since Esri::ArcGISRuntime 200.1] UtilityCategoryComparison::UtilityCategoryComparison(const QString &categoryName, Esri::ArcGISRuntime::UtilityCategoryComparisonOperator comparisonOperator, QObject *parent = nullptr)

    Creates a condition evaluating whether a category with this name exists on a feature.

    • categoryName - The name of the category to evaluate as part of the condition.
    • comparisonOperator - The type of comparison to do between the category name and each feature in the trace.
    • parent - The optional parent QObject.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    UtilityCategoryComparison::UtilityCategoryComparison(Esri::ArcGISRuntime::UtilityCategory *category, Esri::ArcGISRuntime::UtilityCategoryComparisonOperator comparisonOperator, QObject *parent = nullptr)

    Creates a condition evaluating whether a UtilityCategory exists on a feature.

    • category - The UtilityCategory to evaluate as part of the condition.
    • comparisonOperator - The type of comparison to do between the UtilityCategory and each feature in the trace.
    • parent - The optional parent QObject.

    [override virtual] UtilityCategoryComparison::~UtilityCategoryComparison()

    Destructor.

    Esri::ArcGISRuntime::UtilityCategory *UtilityCategoryComparison::category() const

    Returns the category to evaluate as part of the condition.

    Esri::ArcGISRuntime::UtilityCategoryComparisonOperator UtilityCategoryComparison::comparisonOperator() const

    Returns the type of comparison to do between the UtilityCategory and each feature in the trace.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.