ArcGIS Runtime SDK for iOS: AGSUtilityTraceFunctionBarrier Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSUtilityTraceFunctionBarrier Class Reference

Description

An AGSUtilityTraceFunctionBarrier object stops continued traversal when a comparison expression evaluates as YES.

An AGSUtilityTraceFunctionBarrier object performs a comparison expression between the current results of an AGSUtilityTraceFunction object and a given value. Remember that an AGSUtilityTraceFunction object references an AGSUtilityNetworkAttribute object and a calculation that is applied to it (min, max, count, etc.) Once the comparison evaluates as YES, the network traversal stops.

Since
100.7
Inheritance diagram for AGSUtilityTraceFunctionBarrier:
AGSObject

Instance Methods

(instancetype) - initWithTraceFunction:comparisonOperator:value:
 

Class Methods

(instancetype) + utilityTraceFunctionBarrierWithTraceFunction:comparisonOperator:value:
 

Properties

AGSUtilityAttributeComparisonOperator comparisonOperator
 
AGSUtilityTraceFunctiontraceFunction
 
id value
 

Method Documentation

◆ initWithTraceFunction:comparisonOperator:value:

- (instancetype) initWithTraceFunction: (AGSUtilityTraceFunction *)  traceFunction
comparisonOperator: (AGSUtilityAttributeComparisonOperator comparisonOperator
value: (id)  value 

Creates a barrier that stops tracing when an AGSUtilityTraceFunction object compared to a value evaluates to YES.

Parameters
traceFunctionThe calculation to perform.
comparisonOperatorThe operator used for the comparison.
valueThe value to compare against.
Since
100.7

◆ utilityTraceFunctionBarrierWithTraceFunction:comparisonOperator:value:

+ (instancetype) utilityTraceFunctionBarrierWithTraceFunction: (AGSUtilityTraceFunction *)  traceFunction
comparisonOperator: (AGSUtilityAttributeComparisonOperator comparisonOperator
value: (id)  value 

Creates a barrier that stops tracing when an AGSUtilityTraceFunction object compared to a value evaluates to YES.

Parameters
traceFunctionThe calculation to perform.
comparisonOperatorThe operator used for the comparison.
valueThe value to compare against.
Returns
A new barrier object.
Since
100.7

Property Documentation

◆ comparisonOperator

- (AGSUtilityAttributeComparisonOperator) comparisonOperator
readnonatomicassign

The operator used for the comparison.

Since
100.7

◆ traceFunction

- (AGSUtilityTraceFunction*) traceFunction
readnonatomicstrong

The calculation to perform.

Since
100.7

◆ value

- (id) value
readnonatomicstrong

The value to compare against. The type of this numeric value is dependent on the AGSUtilityNetworkAttributeDataType enum of the AGSUtilityNetworkAttribute object.

Since
100.7