RowWriter interface.
More...
#include <RowWriter.h>
|
| virtual void | Write (sparksee::gdb::StringList &row) throw (sparksee::gdb::IOException, sparksee::gdb::Error) =0 |
| | Writes the next row.
|
| virtual void | Close () throw (sparksee::gdb::IOException, sparksee::gdb::Error) =0 |
| | Closes the writer.
|
|
virtual | ~RowWriter () |
| | Destructor.
|
RowWriter interface.
Common interface for those writers which dump the data from an string array.
It works as follows: perform as many write operations as necessary and call close once at the end. Once close is called no more write operations can be executed.
Check out the 'Data export' section in the SPARKSEE User Manual for more details on this.
- Author
- Sparsity Technologies http://www.sparsity-technologies.com
◆ RowWriter()
Empty constructor.
Protected because no one should instantiate a RowWriter. Just inherited classes can use this empty constructor.
◆ Close()
| virtual void RowWriter::Close |
( |
| ) |
|
| throw | ( | sparksee::gdb::IOException, |
| | sparksee::gdb::Error ) | | | |
|
pure virtual |
Closes the writer.
- Exceptions
-
Implemented in CSVWriter.
◆ Write()
| virtual void RowWriter::Write |
( |
sparksee::gdb::StringList & | row | ) |
|
| throw | ( | sparksee::gdb::IOException, |
| | sparksee::gdb::Error ) | | | |
|
pure virtual |
Writes the next row.
- Parameters
-
- Exceptions
-
Implemented in CSVWriter.
The documentation for this class was generated from the following file: