CSmsBuffer Class Reference

#include <gsmubuf.h>

Link against: gsmu.lib

class CSmsBuffer : public CSmsBufferBase

Inherits from

Detailed Description

This is the simplest implementation of CSmsBufferBase.

It stores the buffer in an array of TTexts.

Constructor & Destructor Documentation

~CSmsBuffer ( )

IMPORT_C~CSmsBuffer()
Destructor, frees resource.
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 amount of space currently used in the buffer.

capability
None

Returns: Amount of space currently used in the buffer

NewL ( )

IMPORT_C CSmsBuffer *NewL()[static]

Allocates and constructs the buffer.

capability
None

Returns: New CSmsBuffer object

Reset ( )

IMPORT_C voidReset()[virtual]

Reimplemented from CSmsBufferBase::Reset()

Resets the buffer.
capability
None