class ByteAsciiEncoder

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

acdk::locale::ByteAsciiEncoder Class Reference

#include <ByteAsciiEncoding.h>

Inheritance diagram for acdk::locale::ByteAsciiEncoder:

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

Public Member Functions

 ByteAsciiEncoder (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::ByteAsciiEncoder::ByteAsciiEncoder IN(REncoding encoding,
CodingErrorAction  onMalformed = ReportCodingError,
CodingErrorAction  onUnmappable = ReplaceCodingError

Member Function Documentation

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

encode the current string into this encoding

Implements acdk::locale::Encoder.

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

void acdk::locale::ByteAsciiEncoder::encode IN(acdk::io::RWriter out,
IN(RString str,
int  stopOn = -1

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.