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.
Public Member Functions | |
---|---|
TCodecProcessResult () | |
TBool | operator!= (const TCodecProcessResultStatus ) |
TBool | operator== (const TCodecProcessResultStatus ) |
Public Member Enumerations | |
---|---|
enum | TCodecProcessResultStatus { EProcessComplete , EProcessIncomplete , EEndOfData , EDstNotFilled , EProcessError } |
Public Attributes | |
---|---|
TCodecProcessResultStatus | iCodecProcessStatus |
TUint | iDstBytesAdded |
TUint | iSrcBytesProcessed |
TBool | operator!= | ( | const TCodecProcessResultStatus | aStatus | ) | const [inline] |
Overloaded operator to test inequality.
const TCodecProcessResultStatus aStatus |
TBool | operator== | ( | const TCodecProcessResultStatus | aStatus | ) | const [inline] |
Overloaded operator to test equality.
const TCodecProcessResultStatus aStatus |
Flag to track the codec's processing status.
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. |
TCodecProcessResultStatus | iCodecProcessStatus |
The codec's processing status
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.