Class BinaryFileReader

Class Documentation

class BinaryFileReader

Public Functions

inline bool openFile(const std::string &fileName)
inline void closeFile()
inline void readBuffer(char *buffer, size_t size)
template<typename T>
inline void read(T &v)
inline void read(std::string &str)
template<typename T>
inline void readMatrix(T &m)
template<typename T, int Rows, int Cols>
inline void readMatrixX(Eigen::Matrix<T, Rows, Cols> &m)
template<typename T, int Options, typename StorageIndex>
inline void readSparseMatrix(Eigen::SparseMatrix<T, Options, StorageIndex> &m)
template<typename T>
inline void readVector(std::vector<T> &m)

Public Members

std::ifstream m_file