artefaktur
software engineer &        architecture

 
 
 
 

class AsciiEncoder

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

acdk::locale::AsciiEncoder Class Reference

#include <AsciiEncoding.h>

Inheritance diagram for acdk::locale::AsciiEncoder:

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

Detailed Description

encoded character to 7 bit ascii


Public Member Functions

 AsciiEncoder (IN(REncoding) encoding, 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


Constructor & Destructor Documentation

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


Member Function Documentation

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

encode the current string into this encoding

Implements acdk::locale::Encoder.

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

void acdk::locale::AsciiEncoder::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.

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