ArcGIS Runtime SDK for iOS: AGSUtilityCategoryComparison.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSUtilityCategoryComparison.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/AGSUtilityTraceConditionalExpression.h>
29 
30 
31 
32 @class AGSUtilityCategory;
33 
39 typedef NS_ENUM(NSInteger, AGSUtilityCategoryComparisonOperator) {
42 };
43 
49 
50 #pragma mark -
51 #pragma mark initializers
52 
53 
54 
60 -(instancetype)initWithCategory:(AGSUtilityCategory *)category
61  comparisonOperator:(AGSUtilityCategoryComparisonOperator)comparisonOperator;
62 
68 +(instancetype)utilityCategoryComparisonWithCategory:(AGSUtilityCategory *)category
69  comparisonOperator:(AGSUtilityCategoryComparisonOperator)comparisonOperator;
70 
71 #pragma mark -
72 #pragma mark properties
73 
77 @property (nonatomic, strong, readonly) AGSUtilityCategory *category;
78 
82 @property (nonatomic, assign, readonly) AGSUtilityCategoryComparisonOperator comparisonOperator;
83 
84 #pragma mark -
85 #pragma mark methods
86 
87 @end
88 
89 
AGSUtilityCategoryComparisonOperator
Definition: AGSUtilityCategoryComparison.h:39
@ AGSUtilityCategoryComparisonOperatorDoesNotExist
Definition: AGSUtilityCategoryComparison.h:41
@ AGSUtilityCategoryComparisonOperatorExists
Definition: AGSUtilityCategoryComparison.h:40
A condition evaluating whether a particular AGSUtilityCategory object exists on a feature in the trac...
Definition: AGSUtilityCategoryComparison.h:49
AGSUtilityCategoryComparisonOperator comparisonOperator
Definition: AGSUtilityCategoryComparison.h:82
AGSUtilityCategory * category
Definition: AGSUtilityCategoryComparison.h:77
A category used to define a characteristic of an asset in a network.
Definition: AGSUtilityCategory.h:38
A trace condition that depends on the schema information in the utility network, such as the existenc...
Definition: AGSUtilityTraceConditionalExpression.h:39