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 &)

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

Parameters

const TDesC8 & aBuffer

FlushL(TBool)

void FlushL ( TBool aFinalFlush ) [protected]

Parameters

TBool aFinalFlush

NumberOfBytesWhenUncompressed()

TInt NumberOfBytesWhenUncompressed ( ) const

Reset(TInt &)

void Reset ( TInt & aNumberOfBytesWhenUncompressed ) [protected]

Parameters

TInt & aNumberOfBytesWhenUncompressed

WriteBufferL(const TDesC8 &)

void WriteBufferL ( const TDesC8 & aBuffer )

Parameters

const TDesC8 & aBuffer

WriteCompressedUnicodeRunL(TInt, const TDesC8 &)

void WriteCompressedUnicodeRunL ( TInt aNumberOfBytesWhenUncompressed,
const TDesC8 & aTextAsCompressedUnicode
)

Parameters

TInt aNumberOfBytesWhenUncompressed
const TDesC8 & aTextAsCompressedUnicode

WriteInCompressedUnicodeFormatL(TInt, const TDesC8 &, TBool)

void WriteInCompressedUnicodeFormatL ( TInt aNumberOfBytesWhenUncompressed,
const TDesC8 & aData,
TBool aInCompressedUnicodeRun
)

Parameters

TInt aNumberOfBytesWhenUncompressed
const TDesC8 & aData
TBool aInCompressedUnicodeRun

WriteRunLengthL(TInt)

void WriteRunLengthL ( TInt aRunLength ) [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]