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)

voidConstructL(TIntaSizeOfPtrArray,
TIntaSizeOfPtrCArray
)[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(TIntaSizeOfPtrArray,
TIntaSizeOfPtrCArray
)[static]

Two phase constructor.

Parameters

TInt aSizeOfPtrArraySize of the array containing the pointers.
TInt aSizeOfPtrCArray

Ptr(TInt)

TPtr8 &Ptr(TIntaIndex)[private, inline]

Parameters

TInt aIndex

PtrC(TInt)

TPtrC8 &PtrC(TIntaIndex)[private, inline]

Parameters

TInt aIndex

Set(TInt, T &)

TPtr8 &Set(TIntaSlot,
T &aObject
)[inline]

Parameters

TInt aSlot
T & aObject

SetC(TInt, const T &)

TPtrC8 &SetC(TIntaSlot,
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