CElementParser::CLinearBuf Class Reference

class CElementParser::CLinearBuf : public CBase

Inherits from

Constructor & Destructor Documentation

CLinearBuf()

CLinearBuf ( ) [private]

~CLinearBuf()

~CLinearBuf ( )

Member Functions Documentation

AppendL(const TDesC8 &)

void AppendL ( const TDesC8 & aData )

Add aData onto the end of this linear buffer.

Parameters

const TDesC8 & aData

ConstructL(TInt)

void ConstructL ( TInt aExpandSize ) [private]

Parameters

TInt aExpandSize

Consume(TInt)

void Consume ( TInt aLength )

Consume the first aLength bytes of the buffer.

Optimised to avoid copies and heap operations on frequent calls to this function.

Parameters

TInt aLength

NewLC(TInt)

CLinearBuf * NewLC ( TInt aExpandSize ) [static]

Element parser constructor.

Parameters

TInt aExpandSize

Ptr()

const TPtrC8 Ptr ( ) const

Get a constant Ptr to the contents of this buffer.

Size()

TInt Size ( ) const [inline]

Member Data Documentation

CBufFlat * iBuf

CBufFlat * iBuf [private]

TInt iStartOffset

TInt iStartOffset [private]