ArcGIS Runtime SDK for iOS: AGSTableDescription.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSTableDescription.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/AGSGeometry.h>
30 
31 
32 
33 @class AGSFieldDescription;
34 @class AGSSpatialReference;
35 
43 
44 #pragma mark -
45 #pragma mark initializers
46 
47 
48 
53 - (instancetype)initWithName:(NSString *)name;
54 
59 + (instancetype)tableDescriptionWithName:(NSString *)name;
60 
67 - (instancetype)initWithName:(NSString *)name
68  spatialReference:(AGSSpatialReference *)spatialReference
69  geometryType:(AGSGeometryType)geometryType;
70 
77 + (instancetype)tableDescriptionWithName:(NSString *)name
78  spatialReference:(AGSSpatialReference *)spatialReference
79  geometryType:(AGSGeometryType)geometryType;
80 
81 #pragma mark -
82 #pragma mark properties
83 
89 @property (nonatomic, strong, readonly) NSMutableArray<AGSFieldDescription *> *fieldDescriptions;
90 
98 @property (nonatomic, assign, readwrite) AGSGeometryType geometryType;
99 
105 @property (nonatomic, assign, readwrite) BOOL hasAttachments;
106 
112 @property (nonatomic, assign, readwrite) BOOL hasM;
113 
119 @property (nonatomic, assign, readwrite) BOOL hasZ;
120 
128 @property (nullable, nonatomic, strong, readwrite) AGSSpatialReference *spatialReference;
129 
136 @property (nonatomic, copy, readwrite) NSString *tableName;
137 
138 #pragma mark -
139 #pragma mark methods
140 
141 @end
142 
143 
AGSGeometryType
Definition: AGSGeometry.h:49
An object that describes an AGSField to be created.
Definition: AGSFieldDescription.h:40
Definition: AGSObject.h:28
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
An object that describes an AGSGeodatabaseFeatureTable to be created.
Definition: AGSTableDescription.h:43
BOOL hasM
Definition: AGSTableDescription.h:112
NSString * tableName
Definition: AGSTableDescription.h:136
AGSSpatialReference * spatialReference
Definition: AGSTableDescription.h:128
AGSGeometryType geometryType
Definition: AGSTableDescription.h:98
BOOL hasAttachments
Definition: AGSTableDescription.h:105
NSMutableArray< AGSFieldDescription * > * fieldDescriptions
Definition: AGSTableDescription.h:89
BOOL hasZ
Definition: AGSTableDescription.h:119