CRequestorBase Class Reference

class CRequestorBase : public CBase
Each instance of a CRequestor class is used to hold the identity of one of the parties involved requesting the location. The class contains three data fields that indicate: (1) If the requesting party is a "service" or an actual person ("contact"). (2) A descriptor that identifiers the requestor and (3) a field that indicates which format the information is in
  • for example, a telephone number, URL or email address.

Inherits from

Constructor & Destructor Documentation

CRequestorBase()

IMPORT_CCRequestorBase()[protected]

~CRequestorBase()

IMPORT_C~CRequestorBase()

Member Functions Documentation

ConstructL(TRequestorType, TRequestorFormat, const TDesC &)

IMPORT_C voidConstructL(TRequestorTypeaType,
TRequestorFormataFormat,
const TDesC &aData
)[protected]

Parameters

TRequestorType aType
TRequestorFormat aFormat
const TDesC & aData

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny *ExtendedInterface(TIntaFunctionNumber,
TAny *aPtr1,
TAny *aPtr2
)[protected, virtual]

Parameters

TInt aFunctionNumber
TAny * aPtr1
TAny * aPtr2

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Parameters

RWriteStream & aStream

GetRequestor(TRequestorType &, TRequestorFormat &, TPtrC &)

IMPORT_C voidGetRequestor(TRequestorType &aType,
TRequestorFormat &aFormat,
TPtrC &aData
)const

Parameters

TRequestorType & aType
TRequestorFormat & aFormat
TPtrC & aData

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Parameters

RReadStream & aStream

RequestorData()

IMPORT_C TDesC &RequestorData()const

RequestorFormat()

IMPORT_C TRequestorFormatRequestorFormat()const

RequestorType()

IMPORT_C TRequestorTypeRequestorType()const

SetRequestorL(TRequestorType, TRequestorFormat, const TDesC &)

IMPORT_C voidSetRequestorL(TRequestorTypeaType,
TRequestorFormataFormat,
const TDesC &aData
)

Parameters

TRequestorType aType
TRequestorFormat aFormat
const TDesC & aData

Member Enumerations Documentation

Enum _TRequestorFormat

TRequestorFormat

Enumerators

EFormatUnknown

Requestor format unknown

EFormatApplication

EFormatApplication

EFormatTelephone

EFormatTelephone

EFormatUrl

EFormatUrl

EFormatMail

EFormatMail

Enum _TRequestorType

TRequestorType

Enumerators

ERequestorUnknown

Unknown Requestor

ERequestorService

Requestor of type Service

ERequestorContact

Requestor of type Contact

Member Type Definitions Documentation

Typedef TRequestorFormat

typedef TInt TRequestorFormat

defined type for TRequestorFormat

Typedef TRequestorType

typedef TInt TRequestorType

defined type for TRequestorType

Member Data Documentation

TAny * iBaseReservedPtr

TAny *iBaseReservedPtr[private]

Reserved data for future extension

HBufC * iData

HBufC *iData[private]

This is owned by the CRequestor

TRequestorFormat iFormat

TRequestorFormat iFormat[protected]

Requestor format

TRequestorType iRequestorType

TRequestorType iRequestorType[protected]

Requestor type