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

    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

    [explicit] 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.