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

Public Member Functions
~CEtelPacketPtrHolder ()
TPtr8 & Set ( TInt , T &)
TPtrC8 & SetC ( TInt , const T &)
Protected Member Functions
CEtelPacketPtrHolder ()
void ConstructL (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
enum TPacketContextPtrHolderSlots {
ESlotDataPort  = 0, ESlotContextStatus , ESlotDataVolume , ESlotGranularity , ESlotGetSpeed , ESlotNotifySpeed , ESlotGetDataVolumeTransferred , ESlotEnumeratePacketFilters , ESlotGetPacketFilterInfo , ESlotRemovePacketFilter , ESlotCreateTFT , ESlotRemoveMediaAuthorization , EMaxNumPacketContextPtrSlots
}
enum TPacketMbmsContextPtrCHolderSlots { ESlotUpdateMbmsSessionList  = 0, ESlotUpdateMbmsSessionList2 , EMaxNumPacketContextPtrCSlots }
enum TPacketPtrCHolderSlots { ESlotUpdateMbmsMonitorServiceListL  = 0, EMaxNumPacketPtrCSlots }
enum TPacketPtrHolderSlots {
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 { EMaxNumPacketQoSPtrCSlots }
enum TPacketQoSPtrHolderSlots { 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)

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

ConstructL() method - Initializes the array of pointers.

Parameters

const TInt aSizeOfPtrArray
TInt aSizeOfPtrCArray

Ptr(const TInt)

TPtr8 & Ptr ( const TInt aIndex ) [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 TInt aIndex ) [private]

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

Parameters

const TInt aIndex The array location of the desired TPtrC8

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 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]