preCICE v3.1.2
|
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 16 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 23 of file TXTReader.hpp.
|
private |
Filestream.
Definition at line 38 of file TXTReader.hpp.
|
private |
Definition at line 35 of file TXTReader.hpp.