CMmPtrHolder Class Reference

class CMmPtrHolder : public CBase

A base class for all ptr holder classes

The ptr holder classes contain the TPtr8's used by asynchronous client-side functions. The API code also uses them to ensure BC by keeping size of R-classes constant.

Inherits from

Constructor & Destructor Documentation

CMmPtrHolder()

CMmPtrHolder ( ) [protected]

Standard C++ constructor

~CMmPtrHolder()

~CMmPtrHolder ( ) [virtual]

Standard destructor

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

Ptr(TInt)

TPtr8 & Ptr ( TInt aIndex ) [private]

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

Parameters

TInt aIndex The array location of the desired TPtr8

PtrC(TInt)

TPtrC8 & PtrC ( TInt aIndex ) [private]

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

Parameters

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

RArray< TPtr8 > iPtrArray

RArray < TPtr8 > iPtrArray [protected]

RArray< TPtrC8 > iPtrCArray

RArray < TPtrC8 > iPtrCArray [protected]