From 89eeeff54f0b3ce30be5b046fc3899fdeb5ebb40 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 17 Feb 2007 16:31:55 +0000 Subject: Tweaked the stream classes, added an example, and the begining of a formula parser. --- src/sfile.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sfile.cpp') diff --git a/src/sfile.cpp b/src/sfile.cpp index 3f5144d..f1de03c 100644 --- a/src/sfile.cpp +++ b/src/sfile.cpp @@ -67,3 +67,8 @@ void SFile::setPosEnd( long pos ) fseek( fh, pos, SEEK_END ); } +bool SFile::isEOS() +{ + return feof( fh ); +} + -- cgit v1.2.3