RowWriter Class Reference

RowWriter interface. More...

Inheritance diagram for RowWriter:

Inheritance graph

List of all members.

Public Member Functions

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

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 DEX User Manual for more details on this.

Sparsity Technologies

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 ( dex::gdb::StringList &  row  )  throw (dex::gdb::IOException, dex::gdb::Error) [pure virtual]

Writes the next row.

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

Implemented in CSVWriter.

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

Closes the writer.

IOException If the close fails.

Implemented in CSVWriter.

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

Generated on Tue Jul 16 12:10:25 2013 for Dex by  doxygen 1.5.6