2005/5/9

     
 

class UTF8Encoding

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

acdk::locale::UTF8Encoding Class Reference

#include <UTF8Encoding.h>

Inheritance diagram for acdk::locale::UTF8Encoding:

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

Detailed Description

Class to encode/decode UTF8 encoded strings.


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 getUTF8Encoding ()
REncoding getUTF8Encoding (IN(RString))

Protected Member Functions

 UTF8Encoding ()


Constructor & Destructor Documentation

acdk::locale::UTF8Encoding::UTF8Encoding  )  [protected]
 


Member Function Documentation

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

return the average bytes used to encode one character

Implements acdk::locale::Encoding.

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

Implements acdk::locale::Encoding.

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

Implements acdk::locale::Encoding.

REncoding acdk::locale::UTF8Encoding::getUTF8Encoding IN(RString  )  [inline, static]
 

REncoding acdk::locale::UTF8Encoding::getUTF8Encoding  )  [static]
 

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

return the maximum count of bytes use to encode one character

Implements acdk::locale::Encoding.