projects
/
ecparse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax help and some cmd-line parsing
[ecparse.git]
/
FileReaderInput.cpp
diff --git
a/FileReaderInput.cpp
b/FileReaderInput.cpp
index
14fc0c6
..
bd08f13
100644
(file)
--- a/
FileReaderInput.cpp
+++ b/
FileReaderInput.cpp
@@
-18,3
+18,7
@@
int FileReaderInput::read(void* buffer, size_t length) {
readBytes = fread(buffer, 1, length, file);
return 0;
}
+
+bool FileReaderInput::isEOF() {
+ return feof(file);
+}