#include <AsciiCodec.h>
Inheritance diagram for util::AsciiCodec< T >:

Public Methods | |
| AsciiCodec (char columnDeliminator=',', char rowDeliminator='\n') | |
| Create a new AsciiCodec with the given column and row deliminator. | |
| void | setColumnDeliminator (char delim) |
| Set the colum deliminator. | |
| void | setRowDeliminator (char delim) |
| Set the row deliminator. | |
| char | getColumnDeliminator () const |
| Get the colum deliminator. | |
| char | getRowDeliminator () const |
| Get the row deliminator. | |
| void | decodeMatrix (std::istream &in, Matrix< T > &mat) throw (MatrixException&, io::IOException&) |
| Decode an matrix. | |
| void | encodeMatrix (std::ostream &out, const Matrix< T > &mat) throw (MatrixException&, io::IOException&) |
| Encode an matrix. | |
|
||||||||||||||||
|
Create a new AsciiCodec with the given column and row deliminator. The default values allow data interchange between matlab. (Matlab fuction dlmread/dlmwrite).
|
|
||||||||||||||||
|
Decode an matrix. Matrix data is read from in and placed into mat. Matrix dimensions must be read from the stream.
Implements util::MatrixCodec< T >. |
|
||||||||||||||||
|
Encode an matrix. Matrix data is extracted from mat and written into out in some matrix file format.
Implements util::MatrixCodec< T >. |