CSmsBufferBase Class Reference

#include <gsmubuf.h>

Link against: gsmu.lib

class CSmsBufferBase : public CBase

Inherits from

  • CSmsBufferBase

    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.

    ParameterDescription
    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.

    capability
    None
    ParameterDescription
    aStreamStream to write to

    Extract ( TDes &, TInt, TInt )

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

    Extracts buffer data to a descriptor.

    ParameterDescription
    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.

    ParameterDescription
    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.

    capability
    None
    ParameterDescription
    aStreamStream to read from

    Length ( )

    TInt Length()const [pure virtual]

    Gets the number of characters in the buffer.

    Returns: The number of characters in the buffer.

    Reset ( )

    voidReset()[pure virtual]

    Resets the buffer.