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

A list of Parameter used for the TourismClient stub when performing HTTP requests. More...

Inheritance diagram for ParameterList:

Instance Methods

(void) - add:
 Adds a new parameter, if it does not exist already. More...
 
(Parameter *) - get:
 Gets the Parameter in the given index. More...
 
(Parameter *) - find:
 Gets the Parameter with a given parameter term. More...
 
(void) - replace:
 Replaces or adds a given Parameter. More...
 
(void) - removeAll
 Removes all Parameter.
 
(int) - size
 Gets the number of parameters in the parameter list. More...
 

Detailed Description

A list of Parameter used for the TourismClient stub when performing HTTP requests.

Author
Pedro Cruz

Method Documentation

- (void) add: (Parameter *)  parameter

Adds a new parameter, if it does not exist already.

Parameters
parameterParameter to be added.
- (Parameter *) find: (ParameterTerm)  parameter

Gets the Parameter with a given parameter term.

Parameters
parameterterm (name) of the Parameter.
Returns
Parameter with the name parameter.
- (Parameter *) get: (int)  i

Gets the Parameter in the given index.

Parameters
iindex of the Parameter.
Returns
Parameter in index i.
- (void) replace: (Parameter *)  parameter

Replaces or adds a given Parameter.

Parameters
parameterthe Parameter to be replaced/added.
- (int) size

Gets the number of parameters in the parameter list.

Returns
the number of parameters.

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