ArcGIS Runtime SDK for iOS: AGSUnit.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSUnit.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27  //Required for Globals API doc
29 
67 @interface AGSUnit : AGSObject
68 
69 
70 #pragma mark -
71 #pragma mark initializers
72 
73 
74 
75 #pragma mark -
76 #pragma mark properties
77 
83 @property (nonatomic, copy, readonly) NSString *name;
84 
90 @property (nonatomic, copy, readonly) NSString *displayName;
91 
97 @property (nonatomic, copy, readonly) NSString *pluralDisplayName;
98 
104 @property (nonatomic, copy, readonly) NSString *abbreviation;
105 
106 #pragma mark -
107 #pragma mark methods
108 
116 -(BOOL)isEqualToUnit:(AGSUnit*)unit;
117 
118 
119 @end
Definition: AGSObject.h:28
Defines a unit of measurement.
Definition: AGSUnit.h:68
NSString * name
Definition: AGSUnit.h:83
NSString * displayName
Definition: AGSUnit.h:90
NSString * abbreviation
Definition: AGSUnit.h:104
NSString * pluralDisplayName
Definition: AGSUnit.h:97