CitySDK iOS Library
 All Classes Functions Variables Enumerations Enumerator Properties
Location.h
1 /*
2  * COPYRIGHT NOTICE:
3  *
4  * This file is part of CitySDK WP5 Tourism Objective-C Library.
5  *
6  * CitySDK WP5 Tourism Objective-C Library is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * CitySDK WP5 Tourism Objective-C Library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with CitySDK WP5 Tourism Objective-C Library. If not, see <http://www.gnu.org/licenses/>.
18  *
19  * Copyright 2013, IST
20  */
21 
22 #import "POIBaseType.h"
23 #import "GeoPoint.h"
24 #import "Line.h"
25 #import "Polygon.h"
26 #import "Relationship.h"
27 
28 @interface Location : POIBaseType
29 @property (readonly, retain) NSMutableArray *point;
30 @property (readonly, retain) NSMutableArray *line;
31 @property (readonly, retain) NSMutableArray *polygon;
32 @property (readonly, retain) POIBaseType *address;
33 @property (readonly, retain) NSMutableArray *relationship;
34 
35 - (void) addPoint:(GeoPoint *)point;
36 - (void) addLine:(Line *)line;
37 - (void) addPolygon:(Polygon *)polygon;
38 - (void) addRelationship:(Relationship *)relationship;
39 
40 - (BOOL) hasPoints;
41 - (BOOL) hasLines;
42 - (BOOL) hasPolygons;
43 - (BOOL) hasRelationships;
44 
45 @end