ArcGIS Runtime SDK for iOS: AGSUtilityTraceFunction.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSUtilityTraceFunction.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 
31 
32 
33 
38 typedef NS_ENUM(NSInteger, AGSUtilityTraceFunctionType) {
45 };
46 
48 
57 
58 #pragma mark -
59 #pragma mark initializers
60 
61 
62 
68 -(instancetype)initWithFunctionType:(AGSUtilityTraceFunctionType)functionType
69  networkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute;
70 
77 +(instancetype)utilityTraceFunctionWithFunctionType:(AGSUtilityTraceFunctionType)functionType
78  networkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute;
79 
86 - (instancetype)initWithFunctionType:(AGSUtilityTraceFunctionType)functionType
87  networkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute
88  condition:(AGSUtilityTraceCondition *)condition;
89 
97 + (instancetype)utilityTraceFunctionWithFunctionType:(AGSUtilityTraceFunctionType)functionType
98  networkAttribute:(AGSUtilityNetworkAttribute *)networkAttribute
99  condition:(AGSUtilityTraceCondition *)condition;
100 
101 #pragma mark -
102 #pragma mark properties
103 
107 @property (nullable, nonatomic, strong, readwrite) AGSUtilityTraceCondition *condition;
108 
112 @property (nonatomic, assign, readonly) AGSUtilityTraceFunctionType functionType;
113 
117 @property (nullable, nonatomic, strong, readonly) AGSUtilityNetworkAttribute *networkAttribute;
118 
119 #pragma mark -
120 #pragma mark methods
121 
122 @end
123 
124 
AGSUtilityTraceFunctionType
Definition: AGSUtilityTraceFunction.h:38
@ AGSUtilityTraceFunctionTypeAverage
Definition: AGSUtilityTraceFunction.h:40
@ AGSUtilityTraceFunctionTypeCount
Definition: AGSUtilityTraceFunction.h:41
@ AGSUtilityTraceFunctionTypeMin
Definition: AGSUtilityTraceFunction.h:43
@ AGSUtilityTraceFunctionTypeAdd
Definition: AGSUtilityTraceFunction.h:39
@ AGSUtilityTraceFunctionTypeSubtract
Definition: AGSUtilityTraceFunction.h:44
@ AGSUtilityTraceFunctionTypeMax
Definition: AGSUtilityTraceFunction.h:42
Definition: AGSObject.h:28
A network attribute in a utility network.
Definition: AGSUtilityNetworkAttribute.h:58
The base class for a utility network traversability condition.
Definition: AGSUtilityTraceCondition.h:37
Functions allow the computation of values during a network trace.
Definition: AGSUtilityTraceFunction.h:57
AGSUtilityNetworkAttribute * networkAttribute
Definition: AGSUtilityTraceFunction.h:117
AGSUtilityTraceCondition * condition
Definition: AGSUtilityTraceFunction.h:107
AGSUtilityTraceFunctionType functionType
Definition: AGSUtilityTraceFunction.h:112