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.

capability
None
ParameterDescription
aPosPosition in the buffer to delete the data
aLengthThe amount of data to delete from the buffer

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.

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

InsertL ( TInt, const TDesC & )

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

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

Inserts data into the buffer.

capability
None
ParameterDescription
aPosPosition in the buffer to insert the data
aBufThe data to insert into the buffer

Length ( )

IMPORT_C TIntLength()const [virtual]

Reimplemented from CSmsBufferBase::Length()const

Gets the number of characters in the buffer.

capability
None

Returns: The number of characters in the buffer.

NewL ( CEditableText & )

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

Allocates and constructs the buffer.

capability
None
ParameterDescription
aTextText object to use as buffer

Returns: New CSmsEditorBuffer object

Reset ( )

IMPORT_C voidReset()[virtual]

Reimplemented from CSmsBufferBase::Reset()

Reset the buffer.
capability
None