|
Sparksee 6.1.0
|
#include <RowReader.h>

Public Member Functions | |
| virtual sparksee::gdb::bool_t | Reset () throw (sparksee::gdb::IOException) =0 |
| Moves the reader to the beginning. | |
| virtual sparksee::gdb::bool_t | Read (sparksee::gdb::StringList &row) throw (sparksee::gdb::IOException) =0 |
| Reads the next row as a string array. | |
| virtual sparksee::gdb::int32_t | GetRow () throw (sparksee::gdb::IOException) =0 |
| The row number for the current row. | |
| virtual void | Close () throw (sparksee::gdb::IOException) =0 |
| Closes the reader. | |
| virtual | ~RowReader () |
| Destructor. | |
Protected Member Functions | |
| RowReader () | |
| Empty constructor. | |
RowReader interface.
Common interface for those readers which get the data as an string array.
It works as follows: perform as many read operations as necessary and call close once at the end. Once close is called no more read operations can be executed.
Check out the 'Data import' section in the SPARKSEE User Manual for more details on this.
|
inlineprotected |
Empty constructor.
Protected because no one should instantiate a RowReader. Just inherited classes can use this empty constructor.
|
pure virtual | ||||||||||||
Closes the reader.
| IOException | If the close fails. |
Implemented in CSVReader.
References Close().
Referenced by Close().
|
pure virtual | ||||||||||||
The row number for the current row.
| IOException | If it fails. |
Implemented in CSVReader.
References GetRow().
Referenced by GetRow().
|
pure virtual | |||||||||||||
Reads the next row as a string array.
| row | [out] A string list with each comma-separated element as a separate entry. |
| IOException | If bad things happen during the read. |
Implemented in CSVReader.
References Read().
Referenced by Read().
|
pure virtual | ||||||||||||
Moves the reader to the beginning.
Restarts the reader.
true if the reader can be restarted, false otherwise. | IOException | If bad things happen during the restart. |
Implemented in CSVReader.