ArcGIS Runtime SDK for iOS: AGSUtilityPropagator.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSUtilityPropagator.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSUtilityAttributeComparisonOperator.h>
30 
31 
32 
34 
39 typedef NS_ENUM(NSInteger, AGSUtilityPropagatorFunctionType) {
43 };
44 
57 
58 #pragma mark -
59 #pragma mark initializers
60 
61 
62 
70 -(instancetype)initWithNetworkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute
71  propagatorFunctionType:(AGSUtilityPropagatorFunctionType)propagatorFunctionType
72  comparisonOperator:(AGSUtilityAttributeComparisonOperator)comparisonOperator
73  value:(id)value;
74 
83 +(instancetype)utilityPropagatorWithNetworkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute
84  propagatorFunctionType:(AGSUtilityPropagatorFunctionType)propagatorFunctionType
85  comparisonOperator:(AGSUtilityAttributeComparisonOperator)comparisonOperator
86  value:(id)value;
87 
97 -(instancetype)initWithNetworkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute
98  propagatorFunctionType:(AGSUtilityPropagatorFunctionType)propagatorFunctionType
99  comparisonOperator:(AGSUtilityAttributeComparisonOperator)comparisonOperator
100  value:(id)value
101  substitutionAttribute:(AGSUtilityNetworkAttribute *)substitutionAttribute;
102 
113 +(instancetype)utilityPropagatorWithNetworkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute
114  propagatorFunctionType:(AGSUtilityPropagatorFunctionType)propagatorFunctionType
115  comparisonOperator:(AGSUtilityAttributeComparisonOperator)comparisonOperator
116  value:(id)value
117  substitutionAttribute:(AGSUtilityNetworkAttribute *)substitutionAttribute;
118 
119 #pragma mark -
120 #pragma mark properties
121 
127 @property (nonatomic, assign, readonly) AGSUtilityAttributeComparisonOperator comparisonOperator;
128 
133 @property (nonatomic, strong, readonly) AGSUtilityNetworkAttribute *networkAttribute;
134 
139 @property (nonatomic, assign, readonly) AGSUtilityPropagatorFunctionType propagatorFunctionType;
140 
144 @property (nullable, nonatomic, strong, readonly) AGSUtilityNetworkAttribute *substitutionNetworkAttribute;
145 
149 @property (nonatomic, strong, readonly) id value;
150 
151 #pragma mark -
152 #pragma mark methods
153 
154 @end
155 
156 
AGSUtilityAttributeComparisonOperator
Definition: AGSUtilityAttributeComparisonOperator.h:38
AGSUtilityPropagatorFunctionType
Definition: AGSUtilityPropagator.h:39
@ AGSUtilityPropagatorFunctionTypeMin
Definition: AGSUtilityPropagator.h:42
@ AGSUtilityPropagatorFunctionTypeBitwiseAnd
Definition: AGSUtilityPropagator.h:40
@ AGSUtilityPropagatorFunctionTypeMax
Definition: AGSUtilityPropagator.h:41
Definition: AGSObject.h:28
A network attribute in a utility network.
Definition: AGSUtilityNetworkAttribute.h:58
Propagator objects allow a subset of AGSUtilityNetworkAttribute values to propagate through a network...
Definition: AGSUtilityPropagator.h:57
AGSUtilityAttributeComparisonOperator comparisonOperator
Definition: AGSUtilityPropagator.h:127
id value
Definition: AGSUtilityPropagator.h:149
AGSUtilityNetworkAttribute * substitutionNetworkAttribute
Definition: AGSUtilityPropagator.h:144
AGSUtilityPropagatorFunctionType propagatorFunctionType
Definition: AGSUtilityPropagator.h:139
AGSUtilityNetworkAttribute * networkAttribute
Definition: AGSUtilityPropagator.h:133