CMMFSwCodec::TCodecProcessResult Class Reference

class CMMFSwCodec::TCodecProcessResult

Indicates the result of processing data from the source buffer to a destination buffer and provides functions to compare the result code. The CMMFSwCodec buffer sizes should be set to return EProcessComplete The other return codes are to keep the ProcessL method compatible with the 7.0s CMMFCodec API.

Constructor & Destructor Documentation

TCodecProcessResult()

TCodecProcessResult ( ) [inline]

Default constructor.

Member Functions Documentation

operator!=(const TCodecProcessResultStatus)

TBool operator!= ( const TCodecProcessResultStatus aStatus ) const [inline]

Overloaded operator to test inequality.

Parameters

const TCodecProcessResultStatus aStatus

operator==(const TCodecProcessResultStatus)

TBool operator== ( const TCodecProcessResultStatus aStatus ) const [inline]

Overloaded operator to test equality.

Parameters

const TCodecProcessResultStatus aStatus

Member Enumerations Documentation

Enum TCodecProcessResultStatus

Flag to track the codec's processing status.

Enumerators

EProcessComplete

The codec has successfully completed its processing.

EProcessIncomplete

Could not empty the source buffer because the destination buffer became full.

EEndOfData

Codec came across an end of data.

EDstNotFilled

Could not fill the destination buffer because the source buffer has been emptied.

EProcessError

An error occured.

Member Data Documentation

TCodecProcessResultStatus iCodecProcessStatus

TCodecProcessResultStatus iCodecProcessStatus

The codec's processing status

enum TCodecProcessResultStatus

TUint iDstBytesAdded

TUint iDstBytesAdded

The number of bytes added to the destination buffer

TUint iSrcBytesProcessed

TUint iSrcBytesProcessed

The number of source bytes processed