artefaktur
software engineer &        architecture

 
 
 
 

class IsoEncoding

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::locale::IsoEncoding Class Reference

#include <IsoEncoding.h>

Inheritance diagram for acdk::locale::IsoEncoding:

acdk::locale::Encoding acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Encodes/Decodes ASCII with UTF escapes.

Used in ASCII source code to decode UCS2 streams


Public Member Functions

float averageBytesPerChar ()
 return the average bytes used to encode one character

float maxBytesPerChar ()
 return the maximum count of bytes use to encode one character

virtual REncoder getEncoder (CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError)
virtual RDecoder getDecoder (CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError)

Static Public Member Functions

REncoding getIsoEncoding (IN(RString) enc)
RStringArray getAvailableEncodings ()
 returns all available encodings


Protected Member Functions

 IsoEncoding (IN(RString) enc)

Protected Attributes

IsoUnicodeMapping_mapping

Constructor & Destructor Documentation

acdk::locale::IsoEncoding::IsoEncoding IN(RString enc  )  [protected]
 


Member Function Documentation

float acdk::locale::IsoEncoding::averageBytesPerChar  )  [inline, virtual]
 

return the average bytes used to encode one character

Implements acdk::locale::Encoding.

RStringArray acdk::locale::IsoEncoding::getAvailableEncodings  )  [static]
 

returns all available encodings

Reimplemented from acdk::locale::Encoding.

virtual RDecoder acdk::locale::IsoEncoding::getDecoder CodingErrorAction  onMalformed = ReportCodingError,
CodingErrorAction  onUnmappable = ReplaceCodingError
[virtual]
 

Implements acdk::locale::Encoding.

virtual REncoder acdk::locale::IsoEncoding::getEncoder CodingErrorAction  onMalformed = ReportCodingError,
CodingErrorAction  onUnmappable = ReplaceCodingError
[virtual]
 

Implements acdk::locale::Encoding.

REncoding acdk::locale::IsoEncoding::getIsoEncoding IN(RString enc  )  [static]
 

float acdk::locale::IsoEncoding::maxBytesPerChar  )  [inline, virtual]
 

return the maximum count of bytes use to encode one character

Implements acdk::locale::Encoding.


Member Data Documentation

IsoUnicodeMapping* acdk::locale::IsoEncoding::_mapping [protected]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer