2005/5/9

     
 

class LineNumberCharReader

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

acdk::io::LineNumberCharReader Class Reference

#include <LineNumberCharReader.h>

Inheritance diagram for acdk::io::LineNumberCharReader:

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

Detailed Description

Similar to acdk::io::LineNumberReader, but based on CharReader.


Public Member Functions

int readChar ()=0
 read one char.

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

void close ()=0
 closes the reader

virtual RString readLine ()=0
virtual int getCharPos ()=0
virtual void setCharPos (int ch)=0
virtual int getLineNumber ()=0
virtual void setLineNumber (int ln)=0
virtual int getColumnNumber ()=0
virtual void setColumnNumber (int cn)=0


Member Function Documentation

void acdk::io::LineNumberCharReader::close  )  [pure virtual]
 

closes the reader

Implements acdk::io::CharReader.

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

virtual int acdk::io::LineNumberCharReader::getCharPos  )  [pure virtual]
 

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

virtual int acdk::io::LineNumberCharReader::getColumnNumber  )  [pure virtual]
 

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

virtual int acdk::io::LineNumberCharReader::getLineNumber  )  [pure virtual]
 

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

int acdk::io::LineNumberCharReader::readChar  )  [pure virtual]
 

read one char.

Returns:
-1 if end of file

Implements acdk::io::CharReader.

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

virtual RString acdk::io::LineNumberCharReader::readLine  )  [pure virtual]
 

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

RString acdk::io::LineNumberCharReader::readString  )  [pure virtual]
 

read until EOF and return as string

Implements acdk::io::CharReader.

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

virtual void acdk::io::LineNumberCharReader::setCharPos int  ch  )  [pure virtual]
 

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

virtual void acdk::io::LineNumberCharReader::setColumnNumber int  cn  )  [pure virtual]
 

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

virtual void acdk::io::LineNumberCharReader::setLineNumber int  ln  )  [pure virtual]
 

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