UtilityTraversability Class

  • UtilityTraversability
  • class Esri::ArcGISRuntime::UtilityTraversability

    A set of options controlling which objects are evaluated or returned during a tracing operation. More...

    Header: #include <UtilityTraversability.h>
    Since: Esri::ArcGISRuntime 100.7
    Inherits: Esri::ArcGISRuntime::Object

    This class was introduced in Esri::ArcGISRuntime 100.7.

    Public Functions

    UtilityTraversability(QObject *parent = nullptr)
    virtual ~UtilityTraversability() override
    Esri::ArcGISRuntime::UtilityTraceCondition *barriers() const
    Esri::ArcGISRuntime::UtilityTraceFunctionBarrierListModel *functionBarriers()
    Esri::ArcGISRuntime::UtilityTraversabilityScope scope() const
    void setBarriers(Esri::ArcGISRuntime::UtilityTraceCondition *barriers)
    void setScope(Esri::ArcGISRuntime::UtilityTraversabilityScope scope)

    Detailed Description

    UtilityTraversability is set in the UtilityTraceConfiguration.

    Member Function Documentation

    UtilityTraversability::UtilityTraversability(QObject *parent = nullptr)

    Creates a UtilityTraversability object with default values.

    • parent - The optional parent object.

    [override virtual] UtilityTraversability::~UtilityTraversability()

    Destructor.

    Esri::ArcGISRuntime::UtilityTraceCondition *UtilityTraversability::barriers() const

    A condition object specifying when to traverse a node or its subnodes

    See also setBarriers().

    Esri::ArcGISRuntime::UtilityTraceFunctionBarrierListModel *UtilityTraversability::functionBarriers()

    A collection of UtilityTraceFunctionBarrier objects. If any of these objects evaluates to true, further traversal is terminated.

    Esri::ArcGISRuntime::UtilityTraversabilityScope UtilityTraversability::scope() const

    Returns whether traversability criteria are evaluated on edges, junctions, or both.

    The default value is UtilityTraversabilityScope::JunctionsAndEdges.

    See also setScope().

    void UtilityTraversability::setBarriers(Esri::ArcGISRuntime::UtilityTraceCondition *barriers)

    Sets the barriers to barriers.

    See also barriers.

    void UtilityTraversability::setScope(Esri::ArcGISRuntime::UtilityTraversabilityScope scope)

    Sets the scope to scope.

    See also scope.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close