|
|
|
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.
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 p...
Defined in CRequestorBase:
CRequestorBase()Constructor for CRequestorBase.ConstructL(TRequestorType,TRequestorFormat,const TDesC &)Second phase constructor. Must be called by all derived classes to initialise CR...EFormatApplicationEFormatApplication EFormatMailEFormatMail EFormatTelephoneEFormatTelephone EFormatUnknownRequestor format unknown EFormatUrlEFormatUrl ERequestorContactRequestor of type Contact ERequestorServiceRequestor of type Service ERequestorUnknownUnknown Requestor ExtendedInterface(TInt,TAny *,TAny *)This method is used to allow polymorphic extensions to the API without breaking ...ExternalizeL(RWriteStream &)constStores this requestors member data to a stream.GetRequestor(TRequestorType &,TRequestorFormat &,TPtrC &)constSimple accessor for this requestors member data.InternalizeL(RReadStream &)Restores this requestors member data from a stream.RequestorData()constSimple accessor for this requestors member data.RequestorFormat()constSimple accessor for this requestors member data.RequestorType()constSimple accessor for this requestors member data.SetRequestorL(TRequestorType,TRequestorFormat,const TDesC &)Replaces the requestor data for this object with the specified data.TRequestorFormatdefined type for TRequestorFormat TRequestorTypedefined type for TRequestorType _TRequestorFormatTRequestorFormat_TRequestorTypeTRequestorTypeiFormatRequestor format iRequestorTypeRequestor type ~CRequestorBase()Destructor for CRequestorBase.Inherited from CBase:
Delete(CBase *)Deletes the specified object.Extension_(TUint,TAny *&,TAny *)Extension function operator new(TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)Initialises the object to binary zeroes.operator new(TUint,TLeave)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)Allocates the object from the heap and then initialises its contents to binary z...protected: IMPORT_C void ConstructL(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Second phase constructor. Must be called by all derived classes to initialise CRequestorBase.
|
IMPORT_C void SetRequestorL(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Replaces the requestor data for this object with the specified data.
|
IMPORT_C void GetRequestor(TRequestorType &aType, TRequestorFormat &aFormat, TPtrC &aData) const;
Simple accessor for this requestors member data.
|
IMPORT_C TRequestorType RequestorType() const;
Simple accessor for this requestors member data.
|
IMPORT_C TRequestorFormat RequestorFormat() const;
Simple accessor for this requestors member data.
|
IMPORT_C TDesC& RequestorData() const;
Simple accessor for this requestors member data.
|
IMPORT_C virtual void InternalizeL(RReadStream &aStream);
Restores this requestors member data from a stream.
|
IMPORT_C virtual void ExternalizeL(RWriteStream &aStream) const;
Stores this requestors member data to a stream.
|
protected: IMPORT_C virtual TAny* ExtendedInterface(TInt aFunctionNumber, TAny *aPtr1, TAny *aPtr2);
This method is used to allow polymorphic extensions to the API without breaking BC. See documentation for explanation.
|
|
_TRequestorType
TRequestorType
|
_TRequestorFormat
TRequestorFormat
|
protected: TRequestorFormat iFormat;
Requestor format