ArcGIS Runtime SDK for iOS: AGSUtilityCategoryComparison.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSUtilityCategoryComparison.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 
58 -(instancetype)initWithCategory:(AGSUtilityCategory *)category
59  comparisonOperator:(AGSUtilityCategoryComparisonOperator)comparisonOperator;
60 
64 +(instancetype)utilityCategoryComparisonWithCategory:(AGSUtilityCategory *)category
65  comparisonOperator:(AGSUtilityCategoryComparisonOperator)comparisonOperator;
66 
67 #pragma mark -
68 #pragma mark properties
69 
73 @property (nonatomic, strong, readonly) AGSUtilityCategory *category;
74 
78 @property (nonatomic, assign, readonly) AGSUtilityCategoryComparisonOperator comparisonOperator;
79 
80 #pragma mark -
81 #pragma mark methods
82 
83 @end
84 
85 
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:78
AGSUtilityCategory * category
Definition: AGSUtilityCategoryComparison.h:73
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