artefaktur
software engineer &        architecture

 
 
 
 

class AbstractCharFilterWriter

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

acdk::io::AbstractCharFilterWriter Class Reference

#include <AbstractCharFilterWriter.h>

Inheritance diagram for acdk::io::AbstractCharFilterWriter:

acdk::io::AbstractCharWriter acdk::lang::Object acdk::io::CharWriter acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::io::PrintWriter org::w3c::dom::DOMWriter List of all members.

Detailed Description

Abstract filter for CharWriter.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.9
Date:
Date
2005/03/01 10:12:47


Public Member Functions

 AbstractCharFilterWriter (IN(RCharWriter) out, IN(acdk::lang::Object) iolock=Nil)
virtual void writeChar (char c)
 write a single ASCII 7 bit character

virtual void writeChar (ucchar c)
 write a single unicode character

virtual void writeString (const char *cstr)
 write ASCII 7 bit characters

virtual void writeString (const ucchar *cstr)
 write unicode characters

virtual void writeString (IN(RString) str)
 write a string

virtual void flush ()
 flush the writer

virtual void close ()
 close the writer

virtual RWriter getWriter (IN(acdk::locale::RDecoder) decoder=Nil)
 returns the underlying byte reader

RCharWriter getOut ()
void setOut (IN(RCharWriter) out)

Protected Attributes

RCharWriter _out

Constructor & Destructor Documentation

acdk::io::AbstractCharFilterWriter::AbstractCharFilterWriter IN(RCharWriter out,
IN(acdk::lang::Object iolock = Nil
[inline]
 


Member Function Documentation

virtual void acdk::io::AbstractCharFilterWriter::close  )  [inline, virtual]
 

close the writer

Implements acdk::io::AbstractCharWriter.

Reimplemented in acdk::io::PrintWriter.

virtual void acdk::io::AbstractCharFilterWriter::flush  )  [inline, virtual]
 

flush the writer

Implements acdk::io::AbstractCharWriter.

Reimplemented in acdk::io::PrintWriter.

RCharWriter acdk::io::AbstractCharFilterWriter::getOut  )  [inline]
 

virtual RWriter acdk::io::AbstractCharFilterWriter::getWriter IN(acdk::locale::RDecoder decoder = Nil  )  [inline, virtual]
 

returns the underlying byte reader

Parameters:
decoder If Nil uses the system encoding

Reimplemented from acdk::io::CharWriter.

void acdk::io::AbstractCharFilterWriter::setOut IN(RCharWriter out  )  [inline]
 

virtual void acdk::io::AbstractCharFilterWriter::writeChar ucchar  c  )  [inline, virtual]
 

write a single unicode character

Implements acdk::io::AbstractCharWriter.

virtual void acdk::io::AbstractCharFilterWriter::writeChar char  c  )  [inline, virtual]
 

write a single ASCII 7 bit character

Implements acdk::io::AbstractCharWriter.

virtual void acdk::io::AbstractCharFilterWriter::writeString IN(RString str  )  [inline, virtual]
 

write a string

Reimplemented from acdk::io::AbstractCharWriter.

virtual void acdk::io::AbstractCharFilterWriter::writeString const ucchar cstr  )  [inline, virtual]
 

write unicode characters

Reimplemented from acdk::io::AbstractCharWriter.

virtual void acdk::io::AbstractCharFilterWriter::writeString const char *  cstr  )  [inline, virtual]
 

write ASCII 7 bit characters

Reimplemented from acdk::io::AbstractCharWriter.


Member Data Documentation

RCharWriter acdk::io::AbstractCharFilterWriter::_out [protected]
 

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