#include <AbstractCharReader.h>
Inheritance diagram for acdk::io::AbstractCharReader:
This class already implements the IO locking mechanism.
API: ACDK
Public Member Functions | |
AbstractCharReader (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 int | readChar ()=0 |
read one char. | |
virtual RString | readString () |
read until EOF and return as string | |
Protected Attributes | |
acdk::lang::Object | _iolock |
|
|
|
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. |
|
read one char.
Implements acdk::io::CharReader. Implemented in acdk::io::AbstractCharFilterReader, acdk::io::ByteToCharReader, acdk::io::ConsoleCharReader, acdk::io::LineNumberCharReaderImpl, acdk::io::PushbackCharReaderImpl, and acdk::io::StringReader. |
|
read until EOF and return as string
Implements acdk::io::CharReader. Reimplemented in acdk::io::AbstractCharFilterReader, acdk::io::ByteToCharReader, acdk::io::LineNumberCharReaderImpl, acdk::io::PushbackCharReaderImpl, and acdk::io::StringReader. |
|
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. |
|
|