Location:
LbsRequestor.h
Link against: lbsselflocate.lib
class CRequestor : public CRequestorBase;
Description
CRequestor class for LBS clients
Derivation
CBase
- Base class for all classes to be instantiated on the heap
CRequestorBase
- Each instance of a
CRequestor class is used to hold the identity of one of the parties involved requesting the location
CRequestor
- CRequestor class for LBS clients
Members
Defined in CRequestor
:
New()
, NewL()
, NewL()
, NewLC()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CRequestorBase
:
ConstructL()
,
EFormatApplication
,
EFormatMail
,
EFormatTelephone
,
EFormatUnknown
,
EFormatUrl
,
ERequestorContact
,
ERequestorService
,
ERequestorUnknown
,
ExtendedInterface()
,
ExternalizeL()
,
GetRequestor()
,
InternalizeL()
,
RequestorData()
,
RequestorFormat()
,
RequestorType()
,
SetRequestorL()
,
TRequestorFormat
,
TRequestorType
,
_TRequestorFormat
,
_TRequestorType
,
iFormat
,
iRequestorType
See also:
static IMPORT_C CRequestor *NewL(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Description
Allocates and constructs a CRequestor
object. The function leaves if there is insufficient memory.
Parameters
TRequestorType aType |
identifies the type of requestor, a service or a contact.
|
TRequestorFormat aFormat |
determines the type of data held in aData
|
const TDesC &aData |
is requestor data. Can be a telephone number, a URL etc.
|
|
Return value
static IMPORT_C CRequestor *NewLC(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Description
Allocates and constructs a CRequestor
object, and leaves the object on the cleanup stack.
The function leaves if there is insufficient memory.
Parameters
TRequestorType aType |
identifies the type of requestor, a service or a contact.
|
TRequestorFormat aFormat |
determines the type of data held in aData
|
const TDesC &aData |
is requestor data. Can be a telephone number, a URL etc.
|
|
Return value
static IMPORT_C CRequestor *NewL(RReadStream &aStream);
Description
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
RReadStream &aStream |
is a stream that a CRequestor object was previously externalised to.
|
|
Return value
static IMPORT_C CRequestor *New(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Description
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
TRequestorType aType |
identifies the type of requestor, a service or a contact.
|
TRequestorFormat aFormat |
determines the type of data held in aData
|
const TDesC &aData |
is requestor data. Can be a telephone number, a URL etc.
|
|
Return value
CRequestor *
|
a newly created CRequestor object, or NULL.
|
|