software engineer &        architecture


class PushbackCharReaderImpl

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

acdk::io::PushbackCharReaderImpl Class Reference

#include <PushbackCharReader.h>

Inheritance diagram for acdk::io::PushbackCharReaderImpl:

acdk::io::AbstractCharFilterReader acdk::io::PushbackCharReader acdk::io::AbstractCharReader acdk::lang::Object acdk::io::CharReader acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: ACDK<br/>.

Roger Rene Kommer (
2005/04/09 19:26:45

Public Member Functions

 PushbackCharReaderImpl (IN(RCharReader) in, int buffsize=1, IN(acdk::lang::Object) iolock=Nil)
virtual int readChar ()
 read one char.

virtual RString readString ()
 read until EOF and return as string

virtual void close ()
 closes the reader

virtual void unread (ucchar ch)
virtual void unread (IN(RString) str)
virtual void resetPushbackBuffer ()

Protected Attributes

RuccharArray _buffer
int _pos

Constructor & Destructor Documentation

acdk::io::PushbackCharReaderImpl::PushbackCharReaderImpl IN(RCharReader in,
int  buffsize = 1,
IN(acdk::lang::Object iolock = Nil

Member Function Documentation

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

closes the reader

Reimplemented from acdk::io::AbstractCharFilterReader.

virtual int acdk::io::PushbackCharReaderImpl::readChar  )  [virtual]

read one char.

-1 if end of file

Reimplemented from acdk::io::AbstractCharFilterReader.

virtual RString acdk::io::PushbackCharReaderImpl::readString  )  [virtual]

read until EOF and return as string

Reimplemented from acdk::io::AbstractCharFilterReader.

virtual void acdk::io::PushbackCharReaderImpl::resetPushbackBuffer  )  [inline, virtual]

Implements acdk::io::PushbackCharReader.

virtual void acdk::io::PushbackCharReaderImpl::unread IN(RString str  )  [virtual]

Reimplemented from acdk::io::PushbackCharReader.

virtual void acdk::io::PushbackCharReaderImpl::unread ucchar  ch  )  [virtual]

Implements acdk::io::PushbackCharReader.

Member Data Documentation

RuccharArray acdk::io::PushbackCharReaderImpl::_buffer [protected]

int acdk::io::PushbackCharReaderImpl::_pos [protected]

Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer