#include <KernelIstreamLexer.h>
Collaboration diagram for KernelIstreamLexer< InputStream >:

Public Methods | |
| KernelIstreamLexer (InputStream &stream) | |
| virtual int | nextChar () |
Protected Attributes | |
| InputStream & | _myInputStream |
|
||||||||||
|
Definition at line 26 of file KernelIstreamLexer.h.
00026 : 00027 _myInputStream ( stream ) 00028 { 00029 00030 } |
|
|||||||||
|
Definition at line 34 of file KernelIstreamLexer.h. References KernelIstreamLexer< InputStream >::_myInputStream.
00035 {
00036 char c ;
00037 _myInputStream.get(c) ;
00038 if ( ! _myInputStream.eof() )
00039 {
00040 return int(c) ;
00041 }
00042 else
00043 {
00044 return EOF ;
00045 }
00046 }
|
|
|||||
|
Definition at line 16 of file KernelIstreamLexer.h. Referenced by KernelIstreamLexer< InputStream >::nextChar(). |
| Documentation generated on Mon Nov 25 15:26:07 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |