2005/5/9

     
 

class PushbackCharReader

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

acdk::io::PushbackCharReader Class Reference

#include <PushbackCharReader.h>

Inheritance diagram for acdk::io::PushbackCharReader:

acdk::io::CharReader acdk::cfgscript::ScriptSource acdk::io::PushbackCharReaderImpl List of all members.

Detailed Description

CharReader where character can be pushed back into the stream.

API: ACDK<br/>

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


Public Member Functions

overwrite int readChar ()=0
 read one char.

overwrite RString readString ()=0
 read until EOF and return as string

overwrite void close ()=0
 closes the reader

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


Member Function Documentation

overwrite void acdk::io::PushbackCharReader::close  )  [pure virtual]
 

closes the reader

Implements acdk::io::CharReader.

Implemented in acdk::cfgscript::ScriptSource, and acdk::io::PushbackCharReaderImpl.

overwrite int acdk::io::PushbackCharReader::readChar  )  [pure virtual]
 

read one char.

Returns:
-1 if end of file

Implements acdk::io::CharReader.

Implemented in acdk::cfgscript::ScriptSource, and acdk::io::PushbackCharReaderImpl.

overwrite RString acdk::io::PushbackCharReader::readString  )  [pure virtual]
 

read until EOF and return as string

Implements acdk::io::CharReader.

Implemented in acdk::cfgscript::ScriptSource, and acdk::io::PushbackCharReaderImpl.

virtual void acdk::io::PushbackCharReader::resetPushbackBuffer  )  [pure virtual]
 

Implemented in acdk::cfgscript::ScriptSource, and acdk::io::PushbackCharReaderImpl.

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

Reimplemented in acdk::cfgscript::ScriptSource, and acdk::io::PushbackCharReaderImpl.

virtual void acdk::io::PushbackCharReader::unread ucchar  ch  )  [pure virtual]
 

Implemented in acdk::cfgscript::ScriptSource, and acdk::io::PushbackCharReaderImpl.