CSmsBuffer Class Reference

class CSmsBuffer : public CSmsBufferBase

This is the simplest implementation of CSmsBufferBase .

It stores the buffer in an array of TTexts.

Inherits from

Constructor & Destructor Documentation

CSmsBuffer()

CSmsBuffer ( ) [private]

~CSmsBuffer()

IMPORT_C ~CSmsBuffer ( )
Destructor, frees resource.
capability
None

Member Functions Documentation

DeleteL(TInt, TInt)

IMPORT_C void DeleteL ( TInt aPos,
TInt aLength
) [virtual]

Deletes data from the buffer.

capability
None

Parameters

TInt aPos Position in the buffer to delete the data
TInt aLength The amount of data to delete from the buffer

Extract(TDes &, TInt, TInt)

IMPORT_C void Extract ( TDes & aBuf,
TInt aPos,
TInt aLength
) const [virtual]

Extracts buffer data to a descriptor.

capability
None

Parameters

TDes & aBuf On return, buffer data
TInt aPos Position within buffer to begin reading
TInt aLength The amount of data to read from the buffer

InsertL(TInt, const TDesC &)

IMPORT_C void InsertL ( TInt aPos,
const TDesC & aBuf
) [virtual]

Inserts data into the buffer.

capability
None

Parameters

TInt aPos Position in the buffer to insert the data
const TDesC & aBuf The data to insert into the buffer

Length()

IMPORT_C TInt Length ( ) const [virtual]

Gets the amount of space currently used in the buffer.

capability
None

NewL()

IMPORT_C CSmsBuffer * NewL ( ) [static]

Allocates and constructs the buffer.

capability
None

Reset()

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

Member Data Documentation

CArrayFix< TText > * iBuffer

CArrayFix < TText > * iBuffer [private]