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

Description

A condition evaluating the value of an AGSUtilityNetworkAttribute on nodes in the network, either to another AGSUtilityNetworkAttribute or to a specific value.

Since
100.7
Inheritance diagram for AGSUtilityNetworkAttributeComparison:
AGSUtilityTraceConditionalExpression AGSUtilityTraceCondition AGSObject

Instance Methods

(nullable instancetype) - initWithNetworkAttribute:comparisonOperator:otherNetworkAttribute:
 
(nullable instancetype) - initWithNetworkAttribute:comparisonOperator:value:
 

Class Methods

(nullable instancetype) + utilityNetworkAttributeComparisonWithNetworkAttribute:comparisonOperator:otherNetworkAttribute:
 
(nullable instancetype) + utilityNetworkAttributeComparisonWithNetworkAttribute:comparisonOperator:value:
 

Properties

AGSUtilityAttributeComparisonOperator comparisonOperator
 
AGSUtilityNetworkAttributenetworkAttribute
 
AGSUtilityNetworkAttributeotherNetworkAttribute
 
id value
 

Method Documentation

◆ initWithNetworkAttribute:comparisonOperator:otherNetworkAttribute:

- (nullable instancetype) initWithNetworkAttribute: (AGSUtilityNetworkAttribute *)  networkAttribute
comparisonOperator: (AGSUtilityAttributeComparisonOperator comparisonOperator
otherNetworkAttribute: (AGSUtilityNetworkAttribute *)  otherNetworkAttribute 

Creates a condition comparing the value of one AGSUtilityNetworkAttribute object to another.

Parameters
networkAttributeThe source AGSUtilityNetworkAttribute object that the value is compared to.
comparisonOperatorThe type of comparison to do between the source AGSUtilityNetworkAttribute object and another AGSUtilityNetworkAttribute object.
otherNetworkAttributeThe AGSUtilityNetworkAttribute object being compared against another AGSUtilityNetworkAttribute on each of the nodes.
Since
100.7

◆ initWithNetworkAttribute:comparisonOperator:value:

- (nullable instancetype) initWithNetworkAttribute: (AGSUtilityNetworkAttribute *)  networkAttribute
comparisonOperator: (AGSUtilityAttributeComparisonOperator comparisonOperator
value: (id)  value 

Creates a condition comparing an AGSUtilityNetworkAttribute object to a specific value.

Parameters
networkAttributeThe source AGSUtilityNetworkAttribute object that the value is compared to.
comparisonOperatorThe type of comparison to do between the source AGSUtilityNetworkAttribute object and the value.
valueThe specific value to compare networkAttribute against for each node in the trace.
Since
100.7

◆ utilityNetworkAttributeComparisonWithNetworkAttribute:comparisonOperator:otherNetworkAttribute:

+ (nullable instancetype) utilityNetworkAttributeComparisonWithNetworkAttribute: (AGSUtilityNetworkAttribute *)  networkAttribute
comparisonOperator: (AGSUtilityAttributeComparisonOperator comparisonOperator
otherNetworkAttribute: (AGSUtilityNetworkAttribute *)  otherNetworkAttribute 

Creates a condition comparing the value of one AGSUtilityNetworkAttribute object to another.

Parameters
networkAttributeThe source AGSUtilityNetworkAttribute object that the value is compared to.
comparisonOperatorThe type of comparison to do between the source AGSUtilityNetworkAttribute object and another AGSUtilityNetworkAttribute object.
otherNetworkAttributeThe AGSUtilityNetworkAttribute object being compared against another AGSUtilityNetworkAttribute object on each of the nodes.
Returns
A new AGSUtilityNetworkAttributeComparison object or nil if unable to compare.
Since
100.7

◆ utilityNetworkAttributeComparisonWithNetworkAttribute:comparisonOperator:value:

+ (nullable instancetype) utilityNetworkAttributeComparisonWithNetworkAttribute: (AGSUtilityNetworkAttribute *)  networkAttribute
comparisonOperator: (AGSUtilityAttributeComparisonOperator comparisonOperator
value: (id)  value 

Creates a condition comparing an AGSUtilityNetworkAttribute object to a specific value.

Parameters
networkAttributeThe source AGSUtilityNetworkAttribute that the value is compared to.
comparisonOperatorThe type of comparison to do between the source AGSUtilityNetworkAttribute object and the value.
valueThe specific value to compare networkAttribute against for each node in the trace.
Returns
A new AGSUtilityNetworkAttributeComparison object or nil if unable to compare.
Since
100.7

Property Documentation

◆ comparisonOperator

- (AGSUtilityAttributeComparisonOperator) comparisonOperator
readnonatomicassign

The type of comparison to do between the source AGSUtilityNetworkAttribute object and either the second AGSUtilityNetworkAttribute object or the value.

Since
100.7

◆ networkAttribute

- (AGSUtilityNetworkAttribute*) networkAttribute
readnonatomicstrong

The source AGSUtilityNetworkAttribute object that otherNetworkAttribute or value is compared to.

Since
100.7

◆ otherNetworkAttribute

- (AGSUtilityNetworkAttribute*) otherNetworkAttribute
readnonatomicstrong

The AGSUtilityNetworkAttribute object being compared against the AGSUtilityNetworkAttributeComparison::networkAttribute property on each of the nodes. This is nil if the comparison is against a specific value.

Since
100.7

◆ value

- (id) value
readnonatomicstrong

The specific value to compare the AGSUtilityNetworkAttributeComparison::networkAttribute property against for each node in the trace. The value can be an integer data type, which can contain a small or large integer, or it can be double data type, which can contain a double or a date.

Since
100.7