CFixedFlatArray Class Reference

class CFixedFlatArray : public CBase

Inherits from

Constructor & Destructor Documentation

CFixedFlatArray()

CFixedFlatArray ( ) [private, inline]

C++ default constructor.

~CFixedFlatArray()

~CFixedFlatArray ( ) [inline]

Destructor.

Member Functions Documentation

CheckIndex(TInt)

void CheckIndex ( TInt aIndex ) const [private, inline]

Check that given index is correct.

Parameters

TInt aIndex

ConstructL(const TInt)

void ConstructL ( const TInt aSize ) [private, inline]

By default Symbian OS constructor is private.

Parameters

const TInt aSize

Count()

TInt Count ( ) const [inline]

Returns count

Des()

TPtr8 & Des ( ) [inline]

Return descriptor containing array. Used in server calls

NewL(const TInt)

CFixedFlatArray < T > * NewL ( const TInt aSize ) [static, inline]

Two-phased constructor.

Parameters

const TInt aSize

Set(TInt, T &)

void Set ( TInt aIndex,
T & aBuf
) [inline]

Sets aBuf to array slot specified by aIndex

Parameters

TInt aIndex
T & aBuf

operator[](TInt)

T & operator[] ( TInt aIndex ) const [inline]

Returns CFixedFlatArray internal array. Used in server calls

Parameters

TInt aIndex

Member Data Documentation

T * iArray

T * iArray [private]

HBufC8 * iBuffer

HBufC8 * iBuffer [private]

TPtr8 iBufferPtr

TPtr8 iBufferPtr [private]

TInt iCount

TInt iCount [private]