CSatPtrHolder Class Reference

class CSatPtrHolder : public CBase

CSatPtrHolder inherits from CBase .

The two main purposes of CSatPtrHolder are as follows:

  • non-descriptor parameters in API methods will be copied into a descriptor and held in the CSatPtrHolder descriptor array, iPtrArray.

  • CSatPtrHolder public data members ( e.g. iPcmd) store copies of API parameters that are passed in by value rather than by reference. This keeps the R-classes size constant as the API evolves and keeps BC.

Inherits from

Constructor & Destructor Documentation

CSatPtrHolder()

CSatPtrHolder ( ) [protected]

~CSatPtrHolder()

~CSatPtrHolder ( )

Member Functions Documentation

ConstructL(TInt, TInt)

void ConstructL ( TInt aSizeOfPtrArray,
TInt aSizeOfPtrCArray
) [protected, virtual]

This method constructs the two arrays: one to hold TPtr8's and the other TPtrC8's

Parameters

TInt aSizeOfPtrArray
TInt aSizeOfPtrCArray

NewL(TInt, TInt)

CSatPtrHolder * NewL ( TInt aSizeOfPtrArray,
TInt aSizeOfPtrCArray
) [static]

Two phase constructor.

Parameters

TInt aSizeOfPtrArray Size of the array containing the pointers.
TInt aSizeOfPtrCArray

Ptr(TInt)

TPtr8 & Ptr ( TInt aIndex ) [private, inline]

Parameters

TInt aIndex

PtrC(TInt)

TPtrC8 & PtrC ( TInt aIndex ) [private, inline]

Parameters

TInt aIndex

Set(TInt, T &)

TPtr8 & Set ( TInt aSlot,
T & aObject
) [inline]

Parameters

TInt aSlot
T & aObject

SetC(TInt, const T &)

TPtrC8 & SetC ( TInt aSlot,
const T & aObject
) [inline]

Parameters

TInt aSlot
const T & aObject

Member Data Documentation

RSat::TInstanceNumberAndOffset iGetClut

RSat::TInstanceNumberAndOffset iGetClut

TUint8 iGetIcon

TUint8 iGetIcon

RSat::TProvisioningFileRef iGetProvisioningRefFile

RSat::TProvisioningFileRef iGetProvisioningRefFile

TUint16 iMsgRef

TUint16 iMsgRef

RSat::TPCmd iPCmd

RSat::TPCmd iPCmd

RArray< TPtr8 > iPtrArray

RArray < TPtr8 > iPtrArray [protected]

RArray< TPtrC8 > iPtrCArray

RArray < TPtrC8 > iPtrCArray [protected]

RSat::TEventList iSingleEvent

RSat::TEventList iSingleEvent