|
preCICE v3.3.0
|
File reader for matrix/vector in Matlab V7 ASCII format. More...
#include <TXTReader.hpp>
Public Member Functions | |
| TXTReader (const std::string &filename) | |
| Constructor, opens file and sets format. | |
| template<typename Scalar, int Rows, int Cols> | |
| void | read (Eigen::Matrix< Scalar, Rows, Cols > &matrix) |
| Reads the Eigen::Matrix from the file. | |
Private Attributes | |
| logging::Logger | _log {"io::TXTReader"} |
| std::ifstream | _file |
| Filestream. | |
File reader for matrix/vector in Matlab V7 ASCII format.
Definition at line 15 of file TXTReader.hpp.
|
explicit |
Constructor, opens file and sets format.
Definition at line 6 of file TXTReader.cpp.
|
inline |
Reads the Eigen::Matrix from the file.
Definition at line 22 of file TXTReader.hpp.
|
private |
Filestream.
Definition at line 37 of file TXTReader.hpp.
|
private |
Definition at line 34 of file TXTReader.hpp.