CSmsBufferBase Class Reference

#include <gsmubuf.h>

Link against: gsmu.lib

class CSmsBufferBase : public CBase

Inherits from

Detailed Description

The base class for all SMS buffers.

Member Enumeration Documentation

Enum anonymous

EnumeratorValueDescription
EMaxBufLength0x100

Member Function Documentation

DeleteL ( TInt, TInt )

voidDeleteL(TIntaPos,
TIntaLength
)[pure virtual]

Deletes data from the buffer.

Parameters
aPosPosition in the buffer to delete the data
aLengthThe number of bytes to delete from the buffer

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the object.

Parameters
aStreamStream to write to
Capability
None

Extract ( TDes &, TInt, TInt )

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

Extracts buffer data to a descriptor.

Parameters
aBufOn return, buffer data
aPosPosition within buffer to begin reading
aLengthThe number of bytes to read from the buffer

InsertL ( TInt, const TDesC & )

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

Inserts data into the buffer.

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

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises the object.

Parameters
aStreamStream to read from
Capability
None

Length ( )

TInt Length()const [pure virtual]

Gets the number of characters in the buffer.

Return Value
The number of characters in the buffer.

Reset ( )

voidReset()[pure virtual]

Resets the buffer.