#include <CsvWriter.hpp>
◆ CsvWriter()
hops::CsvWriter::CsvWriter |
( |
std::string |
path, |
|
|
int |
outputPrecision = 17 |
|
) |
| |
|
explicit |
◆ write() [1/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const Eigen::MatrixXd & |
matrix |
|
) |
| const |
|
overridevirtual |
Writes a single matrix in double precision.
- Parameters
-
Implements hops::FileWriter.
◆ write() [2/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const Eigen::VectorXd & |
vector |
|
) |
| const |
|
overridevirtual |
Writes a single vector in double precision.
- Parameters
-
Implements hops::FileWriter.
◆ write() [3/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const std::vector< double > & |
records |
|
) |
| const |
|
overridevirtual |
Writes records.
- Parameters
-
description | Description to attach to the records. |
records | |
Implements hops::FileWriter.
◆ write() [4/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const std::vector< Eigen::VectorXd > & |
records |
|
) |
| const |
|
overridevirtual |
Writes records.
- Parameters
-
description | Description to attach to the records. |
records | |
Implements hops::FileWriter.
◆ write() [5/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const std::vector< Eigen::VectorXf > & |
records |
|
) |
| const |
|
overridevirtual |
Writes records.
- Parameters
-
description | Description to attach to the records. |
records | |
Implements hops::FileWriter.
◆ write() [6/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const std::vector< float > & |
records |
|
) |
| const |
|
overridevirtual |
Writes records.
- Parameters
-
description | Description to attach to the records. |
records | |
Implements hops::FileWriter.
◆ write() [7/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const std::vector< long > & |
records |
|
) |
| const |
|
overridevirtual |
Writes records.
- Parameters
-
description | Description to attach to the records. |
records | |
Implements hops::FileWriter.
◆ write() [8/8]
void hops::CsvWriter::write |
( |
const std::string & |
description, |
|
|
const std::vector< std::string > & |
records |
|
) |
| const |
|
overridevirtual |
Writes records.
- Parameters
-
description | Description to attach to the records. |
records | |
Implements hops::FileWriter.
The documentation for this class was generated from the following files: