CSmsEditorBuffer Class Reference

#include <gsmubuf.h>

Link against: gsmu.lib

class CSmsEditorBuffer : public CSmsBufferBase

Inherits from

Detailed Description

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.

Constructor & Destructor Documentation

~CSmsEditorBuffer ( )

IMPORT_C~CSmsEditorBuffer()
Destructor.
Capability
None

Member Function Documentation

DeleteL ( TInt, TInt )

IMPORT_C voidDeleteL(TIntaPos,
TIntaLength
)[virtual]

Reimplemented from CSmsBufferBase::DeleteL(TInt,TInt)

Deletes data from the buffer.

Parameters
aPosPosition in the buffer to delete the data
aLengthThe amount of data to delete from the buffer
Capability
None

Extract ( TDes &, TInt, TInt )

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

Reimplemented from CSmsBufferBase::Extract(TDes &,TInt,TInt)const

Extracts buffer data to a descriptor.

Parameters
aBufOn return, buffer data
aPosPosition within buffer to begin reading
aLengthThe amount of data to read from the buffer
Capability
None

InsertL ( TInt, const TDesC & )

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

Reimplemented from CSmsBufferBase::InsertL(TInt,const TDesC &)

Inserts data into the buffer.

Parameters
aPosPosition in the buffer to insert the data
aBufThe data to insert into the buffer
Capability
None

Length ( )

IMPORT_C TIntLength()const [virtual]

Reimplemented from CSmsBufferBase::Length()const

Gets the number of characters in the buffer.

Return Value
The number of characters in the buffer.
Capability
None

NewL ( CEditableText & )

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

Allocates and constructs the buffer.

Parameters
aTextText object to use as buffer
Return Value
New CSmsEditorBuffer object
Capability
None

Reset ( )

IMPORT_C voidReset()[virtual]

Reimplemented from CSmsBufferBase::Reset()

Reset the buffer.
Capability
None