2005/5/9

     
 

class CharWriter

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

acdk::io::CharWriter Class Reference

#include <CharWriter.h>

Inheritance diagram for acdk::io::CharWriter:

acdk::io::AbstractCharWriter acdk::io::StringWriter acdk::tools::aunit::guitestrunner::BufferedCharWriter acdk::wx::ide::TextOutputCtrl acdk::wx::TextCtrlCharWriter acdk::io::AbstractCharFilterWriter acdk::io::CharArrayWriter acdk::io::CharToByteWriter acdk::io::ConsoleCharWriter acdk::io::TeeCharWriter acdk::tools::csfide::OutputWindow acdk::io::PrintWriter org::w3c::dom::DOMWriter List of all members.

Detailed Description

Reads character, not bytes Similar to Javas InputStreamReader.


Public Member Functions

virtual void writeChar (char c)=0
 write a single ASCII 7 bit character

virtual void writeChar (ucchar c)=0
 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)=0
 write a string

virtual void flush ()=0
 flush the writer

virtual void close ()=0
 close the writer

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


Member Function Documentation

virtual void acdk::io::CharWriter::close  )  [pure virtual]
 

close the writer

Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, acdk::io::PrintWriter, acdk::io::StringWriter, acdk::io::TeeCharWriter, acdk::tools::aunit::guitestrunner::BufferedCharWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.

virtual void acdk::io::CharWriter::flush  )  [pure virtual]
 

flush the writer

Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, acdk::io::PrintWriter, acdk::io::StringWriter, acdk::io::TeeCharWriter, acdk::tools::aunit::guitestrunner::BufferedCharWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.

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

returns the underlying byte reader

Parameters:
decoder If Nil uses the system encoding

Reimplemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, and acdk::io::TeeCharWriter.

virtual void acdk::io::CharWriter::writeChar ucchar  c  )  [pure virtual]
 

write a single unicode character

Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::StringWriter, acdk::io::TeeCharWriter, acdk::tools::aunit::guitestrunner::BufferedCharWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.

virtual void acdk::io::CharWriter::writeChar char  c  )  [pure virtual]
 

write a single ASCII 7 bit character

Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, acdk::io::StringWriter, acdk::io::TeeCharWriter, acdk::tools::aunit::guitestrunner::BufferedCharWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.

virtual void acdk::io::CharWriter::writeString IN(RString str  )  [pure virtual]
 

write a string

Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, acdk::io::StringWriter, acdk::io::TeeCharWriter, acdk::tools::aunit::guitestrunner::BufferedCharWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.

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

write unicode characters

Reimplemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::StringWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.

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

write ASCII 7 bit characters

Reimplemented in acdk::io::AbstractCharFilterWriter, acdk::io::AbstractCharWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::StringWriter, acdk::wx::ide::TextOutputCtrl, and acdk::wx::TextCtrlCharWriter.