CEtelPacketPtrHolder Class Reference

class CEtelPacketPtrHolder : public CBase

Holder class. Non-descriptor parameters in API methods will be copied into a descriptor and held in a descriptor array iPtrArray. This class type also stores copies of API parameters that are passed in by value as opposed to by reference. This keeps the size of the R-classes constant as the API evolves, thus maintaining Binary Compatibility (BC).

Inherits from

  • CEtelPacketPtrHolder
Public Member Functions
~CEtelPacketPtrHolder()
TPtr8 &Set(TInt, T &)
TPtrC8 &SetC(TInt, const T &)
Protected Member Functions
CEtelPacketPtrHolder()
voidConstructL(const TInt, TInt)
Private Member Functions
TPtr8 &Ptr(const TInt)
TPtrC8 &PtrC(const TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTPacketContextPtrHolderSlots {
ESlotDataPort = 0, ESlotContextStatus, ESlotDataVolume, ESlotGranularity, ESlotGetSpeed, ESlotNotifySpeed, ESlotGetDataVolumeTransferred, ESlotEnumeratePacketFilters, ESlotGetPacketFilterInfo, ESlotRemovePacketFilter, ESlotCreateTFT, ESlotRemoveMediaAuthorization, EMaxNumPacketContextPtrSlots
}
enumTPacketMbmsContextPtrCHolderSlots { ESlotUpdateMbmsSessionList = 0, ESlotUpdateMbmsSessionList2, EMaxNumPacketContextPtrCSlots }
enumTPacketPtrCHolderSlots { ESlotUpdateMbmsMonitorServiceListL = 0, EMaxNumPacketPtrCSlots }
enumTPacketPtrHolderSlots {
ESlotPacketStatus = 0, ESlotRegStatus, ESlotGetNtwkReg, ESlotProtocolType, ESlotPpdAddress, ESlotNrcaApn, ESlotDynamicCaps, ESlotEnumerateCount, ESlotEnumerateMaxCount, ESlotContextInfoIndex, ESlotContextInfo, ESlotSetMsClass, ESlotNtfMsClass, ESlotCurrentMsClass, ESlotMaxMsClass, ESlotSetPrefBearer, ESlotSetAttachMode, ESlotGetAttachMode, ESlotGetCurrentReleaseMode, ESlotNotifyModeChange, ESlotEnumerateNifs, ESlotGetNifInfo, ESlotEnumerateContextsInNif, ESlotGetContextNameInNif, ESlotNotifyAttachModeChange, ESlotGetPrefBearer, ESlotGetMbmsNetworkServiceStatus, ESlotGetMbmsNetworkServiceStatus2, ESlotNotifyMbmsNetworkServiceStatusChange, ESlotEnumerateMbmsMonitorCount, ESlotEnumerateMbmsMonitorMaxCount, ESlotEnumerateMbmsActiveCount, ESlotEnumerateMbmsActiveMaxCount, EMaxNumPacketPtrSlots
}
enumTPacketQoSPtrCHolderSlots { EMaxNumPacketQoSPtrCSlots }
enumTPacketQoSPtrHolderSlots { EMaxNumPacketQoSPtrSlots }
Protected Attributes
RArray< TPtr8 >iPtrArray
RArray< TPtrC8 >iPtrCArray

Constructor & Destructor Documentation

CEtelPacketPtrHolder()

CEtelPacketPtrHolder()[protected]

~CEtelPacketPtrHolder()

~CEtelPacketPtrHolder()[virtual]

Destructor

Member Functions Documentation

ConstructL(const TInt, TInt)

voidConstructL(const TIntaSizeOfPtrArray,
TIntaSizeOfPtrCArray
)[protected, virtual]

ConstructL() method - Initializes the array of pointers.

Parameters

const TInt aSizeOfPtrArray
TInt aSizeOfPtrCArray

Ptr(const TInt)

TPtr8 &Ptr(const TIntaIndex)[private]

This method checks that the array index is valid (i.e. within range). If the index is invalid, the client is panic'ed, otherwise the location of the array element is returned.

Parameters

const TInt aIndex

PtrC(const TInt)

TPtrC8 &PtrC(const TIntaIndex)[private]

This method returns a reference to the TPtrC8 at aIndex within the array

Parameters

const TInt aIndexThe array location of the desired TPtrC8

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 Enumerations Documentation

Enum TPacketContextPtrHolderSlots

Enumerators

ESlotDataPort = 0
ESlotContextStatus
ESlotDataVolume
ESlotGranularity
ESlotGetSpeed
ESlotNotifySpeed
ESlotGetDataVolumeTransferred
ESlotEnumeratePacketFilters
ESlotGetPacketFilterInfo
ESlotRemovePacketFilter
ESlotCreateTFT
ESlotRemoveMediaAuthorization
EMaxNumPacketContextPtrSlots

Enum TPacketMbmsContextPtrCHolderSlots

Enumerators

ESlotUpdateMbmsSessionList = 0
ESlotUpdateMbmsSessionList2
EMaxNumPacketContextPtrCSlots

Enum TPacketPtrCHolderSlots

Enumerators

ESlotUpdateMbmsMonitorServiceListL = 0
EMaxNumPacketPtrCSlots

Enum TPacketPtrHolderSlots

Enumerators

ESlotPacketStatus = 0
ESlotRegStatus
ESlotGetNtwkReg
ESlotProtocolType
ESlotPpdAddress
ESlotNrcaApn
ESlotDynamicCaps
ESlotEnumerateCount
ESlotEnumerateMaxCount
ESlotContextInfoIndex
ESlotContextInfo
ESlotSetMsClass
ESlotNtfMsClass
ESlotCurrentMsClass
ESlotMaxMsClass
ESlotSetPrefBearer
ESlotSetAttachMode
ESlotGetAttachMode
ESlotGetCurrentReleaseMode
ESlotNotifyModeChange
ESlotEnumerateNifs
ESlotGetNifInfo
ESlotEnumerateContextsInNif
ESlotGetContextNameInNif
ESlotNotifyAttachModeChange
ESlotGetPrefBearer
ESlotGetMbmsNetworkServiceStatus
ESlotGetMbmsNetworkServiceStatus2
ESlotNotifyMbmsNetworkServiceStatusChange
ESlotEnumerateMbmsMonitorCount
ESlotEnumerateMbmsMonitorMaxCount
ESlotEnumerateMbmsActiveCount
ESlotEnumerateMbmsActiveMaxCount
EMaxNumPacketPtrSlots

Enum TPacketQoSPtrCHolderSlots

Enumerators

EMaxNumPacketQoSPtrCSlots

Enum TPacketQoSPtrHolderSlots

Enumerators

EMaxNumPacketQoSPtrSlots

Member Data Documentation

RArray< TPtr8 > iPtrArray

RArray< TPtr8 >iPtrArray[protected]

RArray< TPtrC8 > iPtrCArray

RArray< TPtrC8 >iPtrCArray[protected]