Class BinaryFileWriter

Class Documentation

class BinaryFileWriter

Public Functions

inline bool openFile(const std::string &fileName)
inline void closeFile()
inline void writeBuffer(const char *buffer, size_t size)
template<typename T>
inline void write(const T &v)
inline void write(const std::string &str)
template<typename T>
inline void writeMatrix(const T &m)
template<typename T, int Rows, int Cols>
inline void writeMatrixX(const Eigen::Matrix<T, Rows, Cols> &m)
template<typename T, int Options, typename StorageIndex>
inline void writeSparseMatrix(Eigen::SparseMatrix<T, Options, StorageIndex> &m)
template<typename T>
inline void writeVector(const std::vector<T> &m)

Public Members

std::ofstream m_file