2005/5/9

     
 

class AsciiUtfEncoder

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

acdk::locale::AsciiUtfEncoder Class Reference

#include <AsciiUtfEncoding.h>

Inheritance diagram for acdk::locale::AsciiUtfEncoder:

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

Detailed Description

Please refer to acdk::locale::AsciiUtfEncoding.


Public Member Functions

 AsciiUtfEncoder (bool withCEscapes, 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, uc2char ch)
 Encode one character to writer.

virtual RString encode (IN(RString) str)
 encode the current string into this encoding


Static Public Member Functions

RString encodeString (IN(RString) str)

Protected Attributes

bool _withCEscapes


Constructor & Destructor Documentation

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


Member Function Documentation

virtual RString acdk::locale::AsciiUtfEncoder::encode IN(RString str  )  [inline, virtual]
 

encode the current string into this encoding

Implements acdk::locale::Encoder.

void acdk::locale::AsciiUtfEncoder::encode IN(acdk::io::RWriter out,
uc2char  ch
[virtual]
 

Encode one character to writer.

Implements acdk::locale::Encoder.

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

RString acdk::locale::AsciiUtfEncoder::encodeString IN(RString str  )  [static]
 


Member Data Documentation

bool acdk::locale::AsciiUtfEncoder::_withCEscapes [protected]