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/sbuffer.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sbuffer.cpp') diff --git a/src/sbuffer.cpp b/src/sbuffer.cpp index 0ed0f47..f84f8a3 100644 --- a/src/sbuffer.cpp +++ b/src/sbuffer.cpp @@ -60,3 +60,8 @@ void SBuffer::setPosEnd( long pos ) nPos = fbData.getLength() - pos; } +bool SBuffer::isEOS() +{ + return nPos == fbData.getLength(); +} + -- cgit v1.2.3