Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: gsmubuf.h
Link against: gsmu.lib

Class CSmsBufferBase

class CSmsBufferBase : public CBase;

Description

The base class for all SMS buffers.

Derivation

Members

Defined in CSmsBufferBase:
DeleteL(), EMaxBufLength, ExternalizeL(), Extract(), InsertL(), InternalizeL(), Length(), Reset(), anonymous

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


Length()

virtual TInt Length() const=0;

Description

Gets the number of characters in the buffer.

Return value

TInt

The number of characters in the buffer.


Extract()

virtual void Extract(TDes &aBuf, TInt aPos, TInt aLength) const=0;

Description

Extracts buffer data to a descriptor.

Parameters

TDes &aBuf

On return, buffer data

TInt aPos

Position within buffer to begin reading

TInt aLength

The number of bytes to read from the buffer


InsertL()

virtual void InsertL(TInt aPos, const TDesC &aBuf)=0;

Description

Inserts data into the buffer.

Parameters

TInt aPos

Position in the buffer to insert the data

const TDesC &aBuf

The data to insert into the buffer


DeleteL()

virtual void DeleteL(TInt aPos, TInt aLength)=0;

Description

Deletes data from the buffer.

Parameters

TInt aPos

Position in the buffer to delete the data

TInt aLength

The number of bytes to delete from the buffer


Reset()

virtual void Reset()=0;

Description

Resets the buffer.


InternalizeL()

Capability: Illegal

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

Internalises the object.

Parameters

RReadStream &aStream

Stream to read from


ExternalizeL()

Capability: Illegal

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the object.

Parameters

RWriteStream &aStream

Stream to write to

[Top]


Member enumerations


Enum anonymous

n/a

Description

EMaxBufLength