CHuiCanvasCmdBufferReader Class Reference

class CHuiCanvasCmdBufferReader : public CBase

Inherits from

Constructor & Destructor Documentation

CHuiCanvasCmdBufferReader()

CHuiCanvasCmdBufferReader ( )

Constructor.

CHuiCanvasCmdBufferReader(RMemReadStream)

CHuiCanvasCmdBufferReader ( RMemReadStream aStream )

Constructor.

Parameters

RMemReadStream aStream

~CHuiCanvasCmdBufferReader()

~CHuiCanvasCmdBufferReader ( )

Destructor.

Member Functions Documentation

DeletePointArrayL(TPoint *&, TInt &)

void DeletePointArrayL ( TPoint *& aPointArray,
TInt & aNumPoints
)

DeletePointArrayL Convinience function deleting the point array

Since
S60 ?S60_version

Parameters

TPoint *& aPointArray
TInt & aNumPoints Number of points

Init(TPtr8 &, TInt)

void Init ( TPtr8 & aDes,
TInt aLength
)

Initialization, opens a stream for reading commandbuffer.

Since
S60 ?S60_version

Parameters

TPtr8 & aDes
TInt aLength

ReadBitmapHandleL(TInt &)

void ReadBitmapHandleL ( TInt & aBitmapHandle )

ReadBitmapHandleL Convinience function for reading a bitmap from stream. It duplicates the bitmap from a bitmap handle.

Since
S60 ?S60_version

Parameters

TInt & aBitmapHandle

ReadBitmapLC(CFbsBitmap *&)

void ReadBitmapLC ( CFbsBitmap *& aBitmap )

ReadBitmapL Convinience function for reading a bitmap from stream. It duplicates the bitmap from a bitmap handle.

Since
S60 ?S60_version

Parameters

CFbsBitmap *& aBitmap

ReadColorL(TRgb &)

void ReadColorL ( TRgb & aColor )

ReadColorL Convinience function for reading a TRgb from stream

Since
S60 ?S60_version

Parameters

TRgb & aColor

ReadInt32L(TInt &)

void ReadInt32L ( TInt & aValue )

ReadInt32L Convinience function for reading a TInt32 from stream.

Since
S60 ?S60_version

Parameters

TInt & aValue

ReadInt8L()

TUint8 ReadInt8L ( ) [inline]

ReadInt8L Convinience function for reading Int8 from stream

Since
S60 ?S60_version

ReadIntsL(TInt, TInt)

void ReadIntsL ( TInt aCount,
TInt aValues
)

ReadIntsL Convinience function for reading maximum of 5 TInts from the stream

Since
S60 ?S60_version

Parameters

TInt aCount
TInt aValues

ReadL(TUint8 *, TInt)

void ReadL ( TUint8 * aTargetPtr,
TInt aLength
) [inline]

Parameters

TUint8 * aTargetPtr
TInt aLength

ReadPointArrayL(CArrayFix< TPoint > *&)

void ReadPointArrayL ( CArrayFix < TPoint > *& aPointArray )

ReadPointArrayL Convinience function for reading a pointer array from stream

Since
S60 ?S60_version

Parameters

CArrayFix < TPoint > *& aPointArray

ReadPointArrayL(TPoint *&, TInt &)

void ReadPointArrayL ( TPoint *& aPointArray,
TInt & aNumPoints
)

ReadPointArrayL Convinience function for reading a pointer array from stream

Since
S60 ?S60_version

Parameters

TPoint *& aPointArray
TInt & aNumPoints

ReadPointL(TPoint &)

void ReadPointL ( TPoint & aPoint )

ReadPointL Convinience function for reading a TPoint from stream

Since
S60 ?S60_version

Parameters

TPoint & aPoint

ReadRectL(TRect &)

void ReadRectL ( TRect & aRect )

ReadRectL Convinience function for reading a TRect from stream

Since
S60 ?S60_version

Parameters

TRect & aRect

ReadRegionL(RRegion &)

void ReadRegionL ( RRegion & aRegion )

ReadRegionL Convinience function for reading a RRegion from stream

Since
S60 ?S60_version

Parameters

RRegion & aRegion

ReadTextL(TPtr &, THuiCanvasTextParameters &)

TBool ReadTextL ( TPtr & aText,
THuiCanvasTextParameters & aTextParameters
)

ReadTextL Returns TPtr to a text in the command buffer stream. Note, that this function does not make a copy of the text.

Since
S60 ?S60_version

Parameters

TPtr & aText
THuiCanvasTextParameters & aTextParameters

Stream()

RMemReadStream & Stream ( )

Convinience function for getting a reference to stream.

Since
S60 ?S60_version

Member Data Documentation

TPtr8 * iBasePtr

TPtr8 * iBasePtr [private]

TInt iBufferIndex

TInt iBufferIndex [private]

TInt iBufferLength

TInt iBufferLength [private]

TPtr16 * iCachedText

TPtr16 * iCachedText [private]

RMemReadStream iStream

RMemReadStream iStream [private]