CitySDK iOS Library
 All Classes Functions Variables Enumerations Enumerator Properties
DataReader.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 <Foundation/Foundation.h>
23 #import "POI.h"
24 #import "Terms.h"
25 #import "Tag.h"
26 #import "ListTag.h"
27 #import "ImageContent.h"
28 #import "PointContent.h"
29 #import "LineContent.h"
30 #import "PolygonContent.h"
31 
32 @interface DataReader : NSObject
36 typedef enum field {
39 } Field;
40 
41 + (void) setDefaultLocale: (NSLocale *) locale;
42 + (NSDictionary *) getAvailableLangs: (POI *)poi fromField:(Field) field;
43 + (NSString *) getLabel: (POI *)poi withTerm: (Term)term andLocale: (NSLocale *)locale;
44 + (NSString *) getDescription: (POI *)poi withLocale: (NSLocale *)locale;
45 + (NSString *) getPrice: (POI *)poi withLocale: (NSLocale *)locale;
46 + (NSString *) getWaitingTime: (POI *)poi;
47 + (NSString *) getOccupation: (POI *)poi;
48 + (NSArray *) getThumbnails: (POI *)poi;
49 + (NSArray *) getLocationGeometry: (POI *)poi withTerm: (Term)term;
50 + (NSArray *) getLocationPoint: (POI *)poi withTerm: (Term)term;
51 + (NSArray *) getLocationLine: (POI *)poi withTerm: (Term)term;
52 + (NSArray *) getLocationPolygon: (POI *)poi withTerm: (Term)term;
53 + (NSString *) getContacts: (POI *)poi;
54 + (NSString *) getCalendar: (POI *)poi withTerm: (Term)term;
55 + (NSArray *) getImagesUri: (POI *)poi;
56 + (NSString *) getRelationshipBase: (POI *)poi withTerm: (Term)term;
57 + (NSString *) getRelationshipId: (POI *)poi withTerm: (Term)term;
58 + (NSString *) getLink: (POI *)poi withTerm: (Term)term;
59 + (NSArray *) getTags: (ListTag *)tags withLocale: (NSLocale *)locale;
60 @end