AGSLayerDefinition Class Reference


Description

Instances of this class represent a layer definition by which to filter features of individual layers.

Defined in:
AGSLayerDefinition.h ( ArcGIS library)
Since:
1.0

List of all members.

Public Member Functions

(id) - init
(id) - initWithLayerId:definition:

Static Public Member Functions

(NSArray *) + decodeWithJSON:
(NSDictionary *) + encodeToJSON:
(id) + layerDefinitionWithLayerId:definition:

Properties

NSString * definition
int layerId

Member Function Documentation

+ (NSArray*) decodeWithJSON: (NSDictionary *)  json  

Decode json into an array of AGSLayerDefinition objects.

Parameters:
json The JSON representation of layer definitions.
Returns:
An array of AGSLayerDefinition objects.
Since:
1.0
+ (NSDictionary*) encodeToJSON: (NSArray *)  array  

Encode an array of layer definitions to JSON representation.

Parameters:
array The array of layer definitions to encode.
Returns:
json The JSON representation of the layer definitions.
Since:
1.0
- (id) init  

Initializes the layer definition.

Since:
1.0
- (id) initWithLayerId: (int)  layerId
definition: (NSString *)  definition 

Initializes an AGSLayerDefinition with a given layerId and definition.

Parameters:
layerId The layer ID on which to set definition expression.
definition The definition expression to filter the features in the layer.
Since:
1.0
+ (id) layerDefinitionWithLayerId: (int)  layerId
definition: (NSString *)  definition 

Initialize an autoreleased AGSLayerDefinition with a given layerId and definition.

Parameters:
layerId The layer ID on which to set definition expression.
definition The definition expression to filter the features in the layer.
Returns:
An autoreleased AGSLayerDefinition.
Since:
1.0

Property Documentation

- (NSString*) definition [read, write, retain]

The definition by which to filter features.

Since:
1.0
- (int) layerId [read, write, assign]

Particular layer id the definition belongs to.

Since:
1.0