CElementParser::CLinearBuf Class Reference

class CElementParser::CLinearBuf : public CBase

Inherits from

  • CElementParser::CLinearBuf

Constructor & Destructor Documentation

CLinearBuf()

CLinearBuf()[private]

~CLinearBuf()

~CLinearBuf()

Member Functions Documentation

AppendL(const TDesC8 &)

voidAppendL(const TDesC8 &aData)

Add aData onto the end of this linear buffer.

Parameters

const TDesC8 & aData

ConstructL(TInt)

voidConstructL(TIntaExpandSize)[private]

Parameters

TInt aExpandSize

Consume(TInt)

voidConsume(TIntaLength)

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(TIntaExpandSize)[static]

Element parser constructor.

Parameters

TInt aExpandSize

Ptr()

const TPtrC8Ptr()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]