#include <lbsrequestor.h>
| class CRequestor : public CRequestorBase |
| Public Member Functions | |
|---|---|
| ~CRequestor() | |
| IMPORT_C CRequestor * | New(TRequestorType, TRequestorFormat, const TDesC &) |
| IMPORT_C CRequestor * | NewL(TRequestorType, TRequestorFormat, const TDesC &) |
| IMPORT_C CRequestor * | NewL(RReadStream &) |
| IMPORT_C CRequestor * | NewLC(TRequestorType, TRequestorFormat, const TDesC &) |
| Inherited Attributes | |
|---|---|
| CRequestorBase::iFormat | |
| CRequestorBase::iRequestorType | |
| Inherited Enumerations | |
|---|---|
| CRequestorBase:_TRequestorFormat | |
| CRequestorBase:_TRequestorType | |
| Inherited Type Definitions | |
|---|---|
| CRequestorBase::TRequestorFormat | |
| CRequestorBase::TRequestorType | |
| IMPORT_C CRequestor * | New | ( | TRequestorType | aType, |
| TRequestorFormat | aFormat, | |||
| const TDesC & | aData | |||
| ) | [static] | |||
Allocates and constructs a CRequestor object. The function returns NULL if there is insufficient memory. Slightly unusual construction is to ensure that iData can never be NULL even if someone inherits from this class.
| Parameters | |
|---|---|
| aType | identifies the type of requestor, a service or a contact. |
| aFormat | determines the type of data held in aData |
| aData | is requestor data. Can be a telephone number, a URL etc. |
| IMPORT_C CRequestor * | NewL | ( | TRequestorType | aType, |
| TRequestorFormat | aFormat, | |||
| const TDesC & | aData | |||
| ) | [static] | |||
Allocates and constructs a CRequestor object. The function leaves if there is insufficient memory.
| Parameters | |
|---|---|
| aType | identifies the type of requestor, a service or a contact. |
| aFormat | determines the type of data held in aData |
| aData | is requestor data. Can be a telephone number, a URL etc. |
| IMPORT_C CRequestor * | NewL | ( | RReadStream & | aStream | ) | [static] |
Allocates and constructs a CRequestor object, and initialises its member variables by reading the internalizing the object from the specified stream.
The function leaves if there is insufficient memory.
| Parameters | |
|---|---|
| aStream | is a stream that a CRequestor object was previously externalised to. |
| IMPORT_C CRequestor * | NewLC | ( | TRequestorType | aType, |
| TRequestorFormat | aFormat, | |||
| const TDesC & | aData | |||
| ) | [static] | |||
Allocates and constructs a CRequestor object, and leaves the object on the cleanup stack.
The function leaves if there is insufficient memory.
| Parameters | |
|---|---|
| aType | identifies the type of requestor, a service or a contact. |
| aFormat | determines the type of data held in aData |
| aData | is requestor data. Can be a telephone number, a URL etc. |