XIMPRBuf16Helper Class Reference

class XIMPRBuf16Helper

RBuf16 handling helper.

ximpdatamodel.dll
Since
S60 v3.2
Public Member Functions
IMPORT_C voidExternalizeL(const RBuf16 &, RWriteStream &)
IMPORT_C voidGrowIfNeededL(RBuf16 &, const TInt)
IMPORT_C voidInternalizeL(RBuf16 &, RReadStream &)
IMPORT_C voidSetNewValueL(RBuf16 &, const TDesC16 &)

Member Functions Documentation

ExternalizeL(const RBuf16 &, RWriteStream &)

IMPORT_C voidExternalizeL(const RBuf16 &aBuf,
RWriteStream &aStream
)[static]

Externalizes RBuf to stream.

Parameters

const RBuf16 & aBufRBuf which to externalize.
RWriteStream & aStreamThe stream to write.

GrowIfNeededL(RBuf16 &, const TInt)

IMPORT_C voidGrowIfNeededL(RBuf16 &aBuf,
const TIntaMaxLength
)[static]

Grows RBuf hold given max length.

Parameters

RBuf16 & aBufRBuf reference which to grow.
const TInt aMaxLengthNeeded max length.

InternalizeL(RBuf16 &, RReadStream &)

IMPORT_C voidInternalizeL(RBuf16 &aBuf,
RReadStream &aStream
)[static]

Internalizes referenced RBuf from stream. ReAllocates the RBuf if needed during the internalization.

Parameters

RBuf16 & aBufRBuf reference where to internalize.
RReadStream & aStreamThe stream from to read.

SetNewValueL(RBuf16 &, const TDesC16 &)

IMPORT_C voidSetNewValueL(RBuf16 &aBuf,
const TDesC16 &aValue
)[static]

Sets new value for RBuf.

Parameters

RBuf16 & aBufRBuf reference where to set. ReAllocated if needed during the set.
const TDesC16 & aValueValue to set.