CApaResourceFileWriterBase::MDataSink Class Reference

class CApaResourceFileWriterBase::MDataSink

Constructor & Destructor Documentation

MDataSink(RBufferSink *)

MDataSink(RBufferSink *aBufferSinkForCompressedUnicodeFormat)[protected]

Parameters

RBufferSink * aBufferSinkForCompressedUnicodeFormat

Member Functions Documentation

CompressedUnicodeFormat()

TBool CompressedUnicodeFormat()const [inline]

DoWriteBufferL(const TDesC8 &)

voidDoWriteBufferL(const TDesC8 &aBuffer)[private, pure virtual]

Parameters

const TDesC8 & aBuffer

FlushL(TBool)

voidFlushL(TBoolaFinalFlush)[protected]

Parameters

TBool aFinalFlush

NumberOfBytesWhenUncompressed()

TInt NumberOfBytesWhenUncompressed()const

Reset(TInt &)

voidReset(TInt &aNumberOfBytesWhenUncompressed)[protected]

Parameters

TInt & aNumberOfBytesWhenUncompressed

WriteBufferL(const TDesC8 &)

voidWriteBufferL(const TDesC8 &aBuffer)

Parameters

const TDesC8 & aBuffer

WriteCompressedUnicodeRunL(TInt, const TDesC8 &)

voidWriteCompressedUnicodeRunL(TIntaNumberOfBytesWhenUncompressed,
const TDesC8 &aTextAsCompressedUnicode
)

Parameters

TInt aNumberOfBytesWhenUncompressed
const TDesC8 & aTextAsCompressedUnicode

WriteInCompressedUnicodeFormatL(TInt, const TDesC8 &, TBool)

voidWriteInCompressedUnicodeFormatL(TIntaNumberOfBytesWhenUncompressed,
const TDesC8 &aData,
TBoolaInCompressedUnicodeRun
)

Parameters

TInt aNumberOfBytesWhenUncompressed
const TDesC8 & aData
TBool aInCompressedUnicodeRun

WriteRunLengthL(TInt)

voidWriteRunLengthL(TIntaRunLength)[private]

Parameters

TInt aRunLength

Member Enumerations Documentation

Enum anonymous

Enumerators

EFlag_InCompressedUnicodeRun = 0x00000001

Member Data Documentation

RBufferSink * iBufferSinkForCompressedUnicodeFormat

RBufferSink *iBufferSinkForCompressedUnicodeFormat[private]

TUint iFlags

TUint iFlags[private]

TInt iNumberOfBytesWhenUncompressed

TInt iNumberOfBytesWhenUncompressed[private]