#include <AbstractCharWriter.h>
Inheritance diagram for acdk::io::AbstractCharWriter:
Abstract implementation for CharReader. This class already implements the IO locking mechanism. API: ACDK
Public Member Functions | |
AbstractCharWriter (IN(acdk::lang::Object) lock=Nil) | |
void | lock () |
lock the object instance. | |
void | unlock () |
unlock the object instance Note: Will be overwritten by acdk::io::Reader and acdk::io::Writer Note: if Unsynchronized or isStack is set, this call will have no effect | |
void | setLock (IN(acdk::lang::Object) obj) |
API: enhanced Set the acdk::lang::Object, which will be used for synchronization. | |
acdk::lang::Object | getLock () |
API: enhanced. | |
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) |
write a string | |
virtual void | flush ()=0 |
flush the writer | |
virtual void | close ()=0 |
close the writer | |
Protected Attributes | |
acdk::lang::Object | _iolock |
|
|
|
close the writer
Implements acdk::io::CharWriter. Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, acdk::io::PrintWriter, and acdk::io::TeeCharWriter. |
|
flush the writer
Implements acdk::io::CharWriter. Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, acdk::io::PrintWriter, and acdk::io::TeeCharWriter. |
|
API: enhanced.
|
|
lock the object instance. Note: Will be overwritten by acdk::io::Reader and acdk::io::Writer Note: if Unsynchronized or isStack is set, this call will have no effect Reimplemented from acdk::lang::ObjectBase. |
|
API: enhanced Set the acdk::lang::Object, which will be used for synchronization.
|
|
unlock the object instance Note: Will be overwritten by acdk::io::Reader and acdk::io::Writer Note: if Unsynchronized or isStack is set, this call will have no effect
Reimplemented from acdk::lang::ObjectBase. |
|
write a single unicode character
Implements acdk::io::CharWriter. Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, and acdk::io::TeeCharWriter. |
|
write a single ASCII 7 bit character
Implements acdk::io::CharWriter. Implemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, and acdk::io::TeeCharWriter. |
|
write a string
Implements acdk::io::CharWriter. Reimplemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, acdk::io::CharToByteWriter, acdk::io::ConsoleCharWriter, and acdk::io::TeeCharWriter. |
|
write unicode characters
Reimplemented from acdk::io::CharWriter. Reimplemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, and acdk::io::CharToByteWriter. |
|
write ASCII 7 bit characters
Reimplemented from acdk::io::CharWriter. Reimplemented in acdk::io::AbstractCharFilterWriter, acdk::io::CharArrayWriter, and acdk::io::CharToByteWriter. |
|
|