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

Represents a list of Event. More...

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

Instance Methods

(void) - addEvent:
 Adds an Event. More...
 
(NSMutableArray *) - getEvents
 Gets all the events. More...
 
(Event *) - getEvent:
 Gets a given Event. More...
 
(int) - getNumEvents
 Returns the number of events 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 Event.

Author
Pedro Cruz

Method Documentation

- (void) addEvent: (Event *)  event

Adds an Event.

Parameters
eventthe Event to be added.
- (Event *) getEvent: (int)  index

Gets a given Event.

Parameters
indexthe index of the Event
Returns
the event stored within the given index.
- (NSMutableArray *) getEvents

Gets all the events.

Returns
an array of Event.
- (int) getNumEvents

Returns the number of events stored.

Returns
the total number of events.

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