hops
Public Member Functions | List of all members
hops::FileWriter Class Referenceabstract

#include <FileWriter.hpp>

Inheritance diagram for hops::FileWriter:
Inheritance graph
Collaboration diagram for hops::FileWriter:
Collaboration graph

Public Member Functions

virtual ~FileWriter ()=default
 
virtual void write (const std::string &description, const std::vector< float > &records) const =0
 Writes records. More...
 
virtual void write (const std::string &description, const std::vector< double > &records) const =0
 Writes records. More...
 
virtual void write (const std::string &description, const std::vector< long > &records) const =0
 Writes records. More...
 
virtual void write (const std::string &description, const std::vector< Eigen::VectorXf > &records) const =0
 Writes records. More...
 
virtual void write (const std::string &description, const std::vector< Eigen::VectorXd > &records) const =0
 Writes records. More...
 
virtual void write (const std::string &description, const std::vector< std::string > &records) const =0
 Writes records. More...
 
virtual void write (const std::string &description, const Eigen::MatrixXd &matrix) const =0
 Writes a single matrix in double precision. More...
 
virtual void write (const std::string &description, const Eigen::VectorXd &vector) const =0
 Writes a single vector in double precision. More...
 

Constructor & Destructor Documentation

◆ ~FileWriter()

virtual hops::FileWriter::~FileWriter ( )
virtualdefault

Member Function Documentation

◆ write() [1/8]

virtual void hops::FileWriter::write ( const std::string description,
const Eigen::MatrixXd &  matrix 
) const
pure virtual

Writes a single matrix in double precision.

Parameters
description
matrix

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [2/8]

virtual void hops::FileWriter::write ( const std::string description,
const Eigen::VectorXd &  vector 
) const
pure virtual

Writes a single vector in double precision.

Parameters
description
matrix

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [3/8]

virtual void hops::FileWriter::write ( const std::string description,
const std::vector< double > &  records 
) const
pure virtual

Writes records.

Parameters
descriptionDescription to attach to the records.
records

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [4/8]

virtual void hops::FileWriter::write ( const std::string description,
const std::vector< Eigen::VectorXd > &  records 
) const
pure virtual

Writes records.

Parameters
descriptionDescription to attach to the records.
records

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [5/8]

virtual void hops::FileWriter::write ( const std::string description,
const std::vector< Eigen::VectorXf > &  records 
) const
pure virtual

Writes records.

Parameters
descriptionDescription to attach to the records.
records

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [6/8]

virtual void hops::FileWriter::write ( const std::string description,
const std::vector< float > &  records 
) const
pure virtual

Writes records.

Parameters
descriptionDescription to attach to the records.
records

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [7/8]

virtual void hops::FileWriter::write ( const std::string description,
const std::vector< long > &  records 
) const
pure virtual

Writes records.

Parameters
descriptionDescription to attach to the records.
records

Implemented in hops::Hdf5Writer, and hops::CsvWriter.

◆ write() [8/8]

virtual void hops::FileWriter::write ( const std::string description,
const std::vector< std::string > &  records 
) const
pure virtual

Writes records.

Parameters
descriptionDescription to attach to the records.
records

Implemented in hops::Hdf5Writer, and hops::CsvWriter.


The documentation for this class was generated from the following file: