CitySDK iOS Library
 All Classes Functions Variables Enumerations Enumerator Properties
Instance Methods | List of all members
ListRoute Class Reference

Represents a list of Route. More...

Inheritance diagram for ListRoute:
POIS POI POIType <Deserializable> POIBaseType

Instance Methods

(void) - addRoute:
 Adds a Route. More...
 
(NSMutableArray *) - getRoutes
 Gets all the routes. More...
 
(Route *) - getRoute:
 Gets a given Route. More...
 
(int) - getNumRoutes
 Returns the number of routes stored. More...
 
- Instance Methods inherited from POIS
(void) - addPOI:
 Adds a POI to the list. More...
 
- Instance Methods inherited from POI
(BOOL) - hasAdddress
 Checks whether the POI has an address associated. More...
 
- Instance Methods inherited from POIType
(void) - addLabel:
 Adds a label to the POIType. More...
 
(void) - addDescription:
 Adds a description to the POIType. More...
 
(void) - addCategory:
 Adds a category to the POIType. More...
 
(void) - addTime:
 Adds a time to the POIType. More...
 
(void) - addLink:
 Adds a link to the POIType. More...
 
(BOOL) - hasLabels
 Checks if there are labels in the POIType. More...
 
(BOOL) - hasDescriptions
 Checks if there are descriptions in the POIType. More...
 
(BOOL) - hasCategories
 Checks if there are categories in the POIType. More...
 
(BOOL) - hasTimes
 Checks if there are times in the POIType. More...
 
(BOOL) - hasLinks
 Checks if there are links in the POIType. More...
 

Additional Inherited Members

- Properties inherited from POIS
NSMutableArray * pois
 Gets all the POIs stored. More...
 

Detailed Description

Represents a list of Route.

Author
Pedro Cruz

Method Documentation

- (void) addRoute: (Route *)  route

Adds a Route.

Parameters
routethe Route to be added.
- (int) getNumRoutes

Returns the number of routes stored.

Returns
the total number of routes.
- (Route *) getRoute: (int)  index

Gets a given Route.

Parameters
indexthe index of the Route.
Returns
the Route in the given index.
- (NSMutableArray *) getRoutes

Gets all the routes.

Returns
an array of Route.

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