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

Represents a list of PointOfInterest. More...

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

Instance Methods

(void) - addPoi:
 Adds a PointOfInterest. More...
 
(NSMutableArray *) - getPois
 Gets all the POIs. More...
 
(PointOfInterest *) - getPoi:
 Gets a given PointOfInterest. More...
 
(int) - getNumPois
 Returns the number of POIs 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 PointOfInterest.

Author
Pedro Cruz

Method Documentation

- (void) addPoi: (PointOfInterest *)  poi

Adds a PointOfInterest.

Parameters
poithe PointOfInterest to be added.
- (int) getNumPois

Returns the number of POIs stored.

Returns
the total number of POIs
- (PointOfInterest *) getPoi: (int)  index

Gets a given PointOfInterest.

Parameters
indexthe index of the PointOfInterest.
Returns
the PointOfInterest stored within the given index.
- (NSMutableArray *) getPois

Gets all the POIs.

Returns
an array of PointOfInterest.

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