Terms used for each resource. More...
#import <ResourceTerms.h>
Class Methods | |
| (NSRange) | + getRange: |
| Gets the range of the given resource type. More... | |
| (NSString *) | + getResource: |
| Gets the string representation of the given resource. More... | |
| (NSArray *) | + getResources |
| Gets all the string representations. | |
Protected Types | |
| enum | ResourceTerm { FIND_POI, FIND_POI_RELATION, FIND_EVENT, FIND_EVENT_RELATION, FIND_ROUTE, FIND_CATEGORIES, FIND_TAGS, LAST_RESOURCE } |
| enum | ResourceType { POI_RESOURCES, EVENT_RESOURCES, ROUTE_RESOURCES, CATEGORY_RESOURCES, TAG_RESOURCES, LAST_TYPE } |
|
typedef enum ResourceTerms::ResourceTerm | ResourceTerm |
|
typedef enum ResourceTerms::ResourceType | ResourceType |
Terms used for each resource.
|
protected |
| Enumerator | |
|---|---|
| FIND_POI |
The term for the search of a POI |
| FIND_POI_RELATION |
The term for the search of a POI through the use of relations |
| FIND_EVENT |
The term for the search of an Event |
| FIND_EVENT_RELATION |
The term for the search of an Event through the use of relations |
| FIND_ROUTE |
The term for the search of Routes |
| FIND_CATEGORIES |
The term for the search for the list of categories |
| FIND_TAGS |
The term for the search for the list of tags |
| LAST_RESOURCE |
Not used |
|
protected |
| + (NSRange) getRange: | (ResourceType) | resource |
Gets the range of the given resource type.
| resource | the wanted resource |
| + (NSString *) getResource: | (ResourceTerm) | resource |
Gets the string representation of the given resource.
| resource | the wanted resource |
1.8.3.1-20130324