2005/5/9

     
 

class StringWriter

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

acdk::io::StringWriter Class Reference

#include <StringWriter.h>

Inheritance diagram for acdk::io::StringWriter:

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

Detailed Description

Reads character, not bytes Similar to Javas InputStreamReader.

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


Public Member Functions

 StringWriter ()
RStringBuffer getStringBuffer ()
void setStringBuffer (IN(RStringBuffer) sb)
RString getString ()
void setString (IN(RString) str)
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


Protected Attributes

RStringBuffer _stringBuffer


Constructor & Destructor Documentation

acdk::io::StringWriter::StringWriter  )  [inline]
 


Member Function Documentation

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

close the writer

Implements acdk::io::CharWriter.

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

flush the writer

Implements acdk::io::CharWriter.

RString acdk::io::StringWriter::getString  )  [inline]
 

RStringBuffer acdk::io::StringWriter::getStringBuffer  )  [inline]
 

void acdk::io::StringWriter::setString IN(RString str  )  [inline]
 

void acdk::io::StringWriter::setStringBuffer IN(RStringBuffer sb  )  [inline]
 

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

write a single unicode character

Implements acdk::io::CharWriter.

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

write a single ASCII 7 bit character

Implements acdk::io::CharWriter.

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

write a string

Implements acdk::io::CharWriter.

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

write unicode characters

Reimplemented from acdk::io::CharWriter.

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

write ASCII 7 bit characters

Reimplemented from acdk::io::CharWriter.


Member Data Documentation

RStringBuffer acdk::io::StringWriter::_stringBuffer [protected]