ROffsetArray Class Reference

class ROffsetArray

Template for offset implementation of pointer array

Public Member Functions
ROffsetArray()
voidClose(RHeap *)
TInt Count()
TInt Create(RHeap *, TInt)
voidSetAt(TInt, T *)
T *operator[](TInt)
Private Attributes
TInt iCount
TInt iOffset

Constructor & Destructor Documentation

ROffsetArray()

ROffsetArray()

Member Functions Documentation

Close(RHeap *)

voidClose(RHeap *aHeap)

Parameters

RHeap * aHeap

Count()

TInt Count()const

Create(RHeap *, TInt)

TInt Create(RHeap *aHeap,
TIntaCount
)

Parameters

RHeap * aHeap
TInt aCount

SetAt(TInt, T *)

voidSetAt(TIntaIndex,
T *aEntry
)

Parameters

TInt aIndex
T * aEntry

operator[](TInt)

T *operator[](TIntaIndex)const

Parameters

TInt aIndex

Member Data Documentation

TInt iCount

TInt iCount[private]

TInt iOffset

TInt iOffset[private]