diff options
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r-- | project2/fileRows.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp index 2f4d6cf..3a16ed6 100644 --- a/project2/fileRows.cpp +++ b/project2/fileRows.cpp @@ -51,6 +51,7 @@ _FileRows::getColumnName(unsigned int col) const void _FileRows::execute(const RowProcessor * rp) const { + rowNum = 0; FileStarChannel c(doOpen()); c.set_encoding(encoding); c.set_line_term(newline); @@ -105,6 +106,7 @@ _FileRows::execute(const RowProcessor * rp) const curCol++; } rp->rowReady(); + rowNum += 1; } values.clear(); } @@ -122,6 +124,12 @@ _FileRows::isNull(unsigned int col) const return false; } +bool +_FileRows::isNull(const Glib::ustring & col) const +{ + return false; +} + const Glib::ustring & _FileRows::getCurrentValue(const Glib::ustring & id) const { |