-
Notifications
You must be signed in to change notification settings - Fork 0
/
ParameterTerms.h
54 lines (50 loc) · 2.4 KB
/
ParameterTerms.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* COPYRIGHT NOTICE:
*
* This file is part of CitySDK WP5 Tourism Objective-C Library.
*
* CitySDK WP5 Tourism Objective-C Library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* CitySDK WP5 Tourism Objective-C Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with CitySDK WP5 Tourism Objective-C Library. If not, see <http://www.gnu.org/licenses/>.
*
* Copyright 2013, IST
*/
#import <Foundation/Foundation.h>
/**
* \brief The available terms for used for {@link Parameter}.
*
* @author Pedro Cruz
*/
@interface ParameterTerms : NSObject
/**
* \enum ParameterTerm
*/
typedef enum ParameterTerms {
PARAMETER_BASE,/**< The parameter to be used to specify the base of a POI */
PARAMETER_ID, /**< The parameter to specify the id of a POI */
PARAMETER_TAG, /**< The parameter for the search of a POI through the use of tags */
PARAMETER_CATEGORY, /**< The parameter for the search of a POI and getting its complete representation */
PARAMETER_COMPLETE, /**< The parameter for the search of a POI and getting its complete representation */
PARAMETER_MINIMAL, /**< The parameter for the search of a POI and getting its minimal representation */
PARAMETER_RELATION, /**< The parameter for the search of a POI through the use of relationships */
PARAMETER_COORDS, /**< The parameter for the search of a POI through the use of coordinates */
PARAMETER_LIST, /**< The parameter for lists */
PARAMETER_OFFSET, /**< The parameter for the limitation of results of POIs */
PARAMETER_CODE, /**< The parameter for the search of POI through QR Codes or NFC */
PARAMETER_NAME, /**< The parameter to be used to specify a given description of an event or route */
PARAMETER_LIMIT, /**< The parameter for the limitation of results of POIs */
PARAMETER_TIME, /**< The term for the search of an Event through the use of time data */
LAST_PARAMETER /**< Not used */
} ParameterTerm;
+ (NSString *) getTerm:(ParameterTerm) term;
+ (NSArray *) getTerms;
@end