|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::locale::Decoder Class Reference#include <Decoder.h>
Inheritance diagram for acdk::locale::Decoder:
List of all members.
Detailed Description
Base class interface for decoding character from bytes.
Constructor & Destructor Documentation
|
Please refer to RDecoder getDecoder(CodingErrorAction onMalformed = ReportCodingError, CodingErrorAction onUnmappable = ReplaceCodingError).
|
Member Function Documentation
int acdk::locale::Decoder::bytesReaded |
( |
|
) |
[inline] |
|
|
return the bytes readed by this Decoder
|
virtual RString acdk::locale::Decoder::decode |
( |
IN(RString) |
str |
) |
[pure virtual] |
|
virtual int acdk::locale::Decoder::decodeToChar |
( |
IN(acdk::io::RReader) |
in |
) |
[pure virtual] |
|
RString acdk::locale::Decoder::getDecodingReplacement |
( |
|
) |
[inline] |
|
|
return the bytes which should be written in case of unmappable characters
|
REncoding acdk::locale::Decoder::getEncoding |
( |
|
) |
[inline, virtual] |
|
|
return the matchin encoder to this decoder
|
|
implementation to handle unmappable character/bytes
|
void acdk::locale::Decoder::onMalformedInput |
( |
CodingErrorAction |
newAction |
) |
[inline] |
|
void acdk::locale::Decoder::onUnmappableCharacter |
( |
CodingErrorAction |
newAction |
) |
[inline] |
|
virtual void acdk::locale::Decoder::reset |
( |
|
) |
[inline, virtual] |
|
void acdk::locale::Decoder::setDecodingReplacement |
( |
IN(RString) |
replacement |
) |
[inline] |
|
|
set the replace string for unmappable character
|
Member Data Documentation
|
|