RowWriter Class Reference
[Io]

RowWriter interface. More...

Inheritance diagram for RowWriter:

Inheritance graph

List of all members.

Public Member Functions

virtual void Write (sparksee::gdb::StringList &row)=0 throw (sparksee::gdb::IOException, sparksee::gdb::Error)
 Writes the next row.
virtual void Close ()=0 throw (sparksee::gdb::IOException, sparksee::gdb::Error)
 Closes the writer.
virtual ~RowWriter ()
 Destructor.

Protected Member Functions

 RowWriter ()
 Empty constructor.


Detailed Description

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

Constructor & Destructor Documentation

RowWriter::RowWriter (  )  [inline, protected]

Empty constructor.

Protected because no one should instantiate a RowWriter. Just inherited classes can use this empty constructor.


Member Function Documentation

virtual void RowWriter::Write ( sparksee::gdb::StringList &  row  )  throw (sparksee::gdb::IOException, sparksee::gdb::Error) [pure virtual]

Writes the next row.

Parameters:
row [in] Row of data.
Exceptions:
IOException If bad things happen during the write.

Implemented in CSVWriter.

virtual void RowWriter::Close (  )  throw (sparksee::gdb::IOException, sparksee::gdb::Error) [pure virtual]

Closes the writer.

Exceptions:
IOException If the close fails.

Implemented in CSVWriter.


The documentation for this class was generated from the following file:

Generated on Tue Jun 2 13:44:22 2015 for Sparksee by  doxygen 1.5.6