CitySDK iOS Library
 All Classes Functions Variables Enumerations Enumerator Properties
Class Methods | Protected Types | List of all members
ResourceTerms Class Reference

Terms used for each resource. More...

#import <ResourceTerms.h>

Inheritance diagram for ResourceTerms:

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
 

Detailed Description

Terms used for each resource.

Author
Pedro Cruz

Member Enumeration Documentation

- (enum) ResourceTerm
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

- (enum) ResourceType
protected
Enumerator
POI_RESOURCES 

POI Resources

EVENT_RESOURCES 

Event Resources

ROUTE_RESOURCES 

Route Resources

CATEGORY_RESOURCES 

Category Resources

TAG_RESOURCES 

Tag Resources

LAST_TYPE 

Not used

Method Documentation

+ (NSRange) getRange: (ResourceType resource

Gets the range of the given resource type.

Parameters
resourcethe wanted resource
+ (NSString *) getResource: (ResourceTerm resource

Gets the string representation of the given resource.

Parameters
resourcethe wanted resource

The documentation for this class was generated from the following files: