2005/5/9

     
 

class IsoEncoder

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

acdk::locale::IsoEncoder Class Reference

#include <IsoEncoding.h>

Inheritance diagram for acdk::locale::IsoEncoder:

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

Detailed Description

Encodes String ISO byte encoding.


Public Member Functions

 IsoEncoder (IN(REncoding) encoding, IsoUnicodeMapping *mapping, CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError)
void encode (IN(acdk::io::RWriter) out, IN(RString) str, int stopOn=-1)
void encode (IN(acdk::io::RWriter) out, ucchar ch)
virtual RString encode (IN(RString) str)
 encode the current string into this encoding


Private Attributes

IsoUnicodeMapping_mapping


Constructor & Destructor Documentation

acdk::locale::IsoEncoder::IsoEncoder IN(REncoding encoding,
IsoUnicodeMapping mapping,
CodingErrorAction  onMalformed = ReportCodingError,
CodingErrorAction  onUnmappable = ReplaceCodingError
[inline]
 


Member Function Documentation

virtual RString acdk::locale::IsoEncoder::encode IN(RString str  )  [virtual]
 

encode the current string into this encoding

Implements acdk::locale::Encoder.

void acdk::locale::IsoEncoder::encode IN(acdk::io::RWriter out,
ucchar  ch
 

void acdk::locale::IsoEncoder::encode IN(acdk::io::RWriter out,
IN(RString str,
int  stopOn = -1
[virtual]
 

Parameters:
target writer
the string to encode
stopOn -1 = until end of string -2 = until internal 0 terminating character (normally '' >= 0 character number to write

Implements acdk::locale::Encoder.


Member Data Documentation

IsoUnicodeMapping* acdk::locale::IsoEncoder::_mapping [private]