CSmsEditorBuffer Class Reference

class CSmsEditorBuffer : public CSmsBufferBase

SMS buffer, implemented as a thin wrapper over CEditableText.

This class is designed to be used by the Message Server, which stores SMS text as CRichText, which is derived from CEditableText.

Inherits from

Constructor & Destructor Documentation

CSmsEditorBuffer(CEditableText &)

CSmsEditorBuffer(CEditableText &aText)[private]

Parameters

CEditableText & aText

~CSmsEditorBuffer()

IMPORT_C~CSmsEditorBuffer()
Destructor.
capability
None

Member Functions Documentation

DeleteL(TInt, TInt)

IMPORT_C voidDeleteL(TIntaPos,
TIntaLength
)[virtual]

Deletes data from the buffer.

capability
None

Parameters

TInt aPosPosition in the buffer to delete the data
TInt aLengthThe amount of data to delete from the buffer

Extract(TDes &, TInt, TInt)

IMPORT_C voidExtract(TDes &aBuf,
TIntaPos,
TIntaLength
)const [virtual]

Extracts buffer data to a descriptor.

capability
None

Parameters

TDes & aBufOn return, buffer data
TInt aPosPosition within buffer to begin reading
TInt aLengthThe amount of data to read from the buffer

InsertL(TInt, const TDesC &)

IMPORT_C voidInsertL(TIntaPos,
const TDesC &aBuf
)[virtual]

Inserts data into the buffer.

capability
None

Parameters

TInt aPosPosition in the buffer to insert the data
const TDesC & aBufThe data to insert into the buffer

Length()

IMPORT_C TIntLength()const [virtual]

Gets the number of characters in the buffer.

capability
None

NewL(CEditableText &)

IMPORT_C CSmsEditorBuffer *NewL(CEditableText &aText)[static]

Allocates and constructs the buffer.

capability
None

Parameters

CEditableText & aTextText object to use as buffer

Reset()

IMPORT_C voidReset()[virtual]
Reset the buffer.
capability
None

Member Data Documentation

CEditableText & iText

CEditableText &iText[private]