
Definition at line 17 of file TextFileWriter.hpp.
Public Member Functions | |
| TextFileWriter (std::ostream *out) | |
| Construct from output stream. | |
| TextFileWriter (const std::string file) | |
| Construct from file. | |
| virtual | ~TextFileWriter () |
| Destructor. | |
| virtual void | write (const double value) |
| Write single value. | |
| virtual void | write (const indii::ml::aux::vector &values) |
| Write vector of values. | |
| virtual void | write (const indii::ml::aux::matrix &values) |
| Write matrix of values. | |
| virtual void | write (const indii::ml::aux::symmetric_matrix &values) |
| Write symmetric matrix of values. | |
| virtual void | writeLine () |
| Write the end of the current line and begin a new line. | |
| TextFileWriter | ( | std::ostream * | out | ) |
Construct from output stream.
| out | Stream to which to write. |
Definition at line 7 of file TextFileWriter.cpp.
| TextFileWriter | ( | const std::string | file | ) |
Construct from file.
| file | Name of file to which to write. |
Definition at line 11 of file TextFileWriter.cpp.
| ~TextFileWriter | ( | ) | [virtual] |
| void write | ( | const double | value | ) | [virtual] |
Write single value.
| value | Value to write. |
Implements Writer.
Definition at line 19 of file TextFileWriter.cpp.
| void write | ( | const indii::ml::aux::vector & | values | ) | [virtual] |
Write vector of values.
All values are written to the current line.
| values | Vector of values to write. |
Implements Writer.
Definition at line 23 of file TextFileWriter.cpp.
| void write | ( | const indii::ml::aux::matrix & | values | ) | [virtual] |
Write matrix of values.
All values are written to the current line in column-wise fashion.
| values | Matrix of values to write. |
Implements Writer.
Definition at line 32 of file TextFileWriter.cpp.
| void write | ( | const indii::ml::aux::symmetric_matrix & | values | ) | [virtual] |
Write symmetric matrix of values.
All values from the lower triangle of the matrix are written to the current line in column-wise fashion.
| values | Matrix of values to write. |
Implements Writer.
Definition at line 43 of file TextFileWriter.cpp.
| void writeLine | ( | ) | [virtual] |
Write the end of the current line and begin a new line.
Implements Writer.
Definition at line 54 of file TextFileWriter.cpp.
1.5.3