2005/5/9

     
 

class TeeCharWriter

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

acdk::io::TeeCharWriter Class Reference

#include <TeeCharWriter.h>

Inheritance diagram for acdk::io::TeeCharWriter:

acdk::io::AbstractCharWriter acdk::lang::Object acdk::io::CharWriter acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Duplicate written characters into two given CharWriter.

API: ACDK

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.7
Date:
Date
2005/04/09 19:26:45


Public Member Functions

 TeeCharWriter (IN(RCharWriter) first, IN(RCharWriter) second)
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 (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


Protected Attributes

RCharWriter _first
RCharWriter _second


Constructor & Destructor Documentation

acdk::io::TeeCharWriter::TeeCharWriter IN(RCharWriter first,
IN(RCharWriter second
[inline]
 


Member Function Documentation

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

close the writer

Implements acdk::io::AbstractCharWriter.

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

flush the writer

Implements acdk::io::AbstractCharWriter.

virtual RWriter acdk::io::TeeCharWriter::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.

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

write a single unicode character

Implements acdk::io::AbstractCharWriter.

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

write a single ASCII 7 bit character

Implements acdk::io::AbstractCharWriter.

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

write a string

Reimplemented from acdk::io::AbstractCharWriter.


Member Data Documentation

RCharWriter acdk::io::TeeCharWriter::_first [protected]
 

RCharWriter acdk::io::TeeCharWriter::_second [protected]