Utilities to write CSV data to an output stream. More...
Functions | |
template<typename T > | |
std::fstream & | ofstreamcsv (std::fstream &in, const MimmoPiercedVector< T > &x) |
template<typename T , size_t d> | |
std::fstream & | ofstreamcsv (std::fstream &in, const std::array< T, d > &x) |
template<typename T > | |
std::fstream & | ofstreamcsv (std::fstream &in, const std::vector< T > &x) |
template<typename T > | |
std::fstream & | ofstreamcsv (std::fstream &in, const T &x) |
template<typename T , size_t d> | |
std::fstream & | ofstreamcsvend (std::fstream &in, const MimmoPiercedVector< T > &x) |
template<typename T , size_t d> | |
std::fstream & | ofstreamcsvend (std::fstream &in, const std::array< T, d > &x) |
template<typename T > | |
std::fstream & | ofstreamcsvend (std::fstream &in, const std::vector< T > &x) |
template<typename T > | |
std::fstream & | ofstreamcsvend (std::fstream &in, const T &x) |
template<class T > | |
std::fstream & | ofstreamcsvend (std::fstream &out, const MimmoPiercedVector< T > &x) |
Detailed Description
Utilities to write CSV data to an output stream.
Function Documentation
◆ ofstreamcsv() [1/4]
std::fstream & mimmo::outputCSVStream::ofstreamcsv | ( | std::fstream & | out, |
const MimmoPiercedVector< T > & | x | ||
) |
Store a data in a stream when export in csv format a vector of data.
- Parameters
-
[in] out output stream. [in] x vector of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 129 of file GenericOutput.tpp.
◆ ofstreamcsv() [2/4]
std::fstream & mimmo::outputCSVStream::ofstreamcsv | ( | std::fstream & | out, |
const std::array< T, d > & | x | ||
) |
Store a data in a stream when export in csv format an array of data of dimension d.
- Parameters
-
[in] out output stream. [in] x array of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 97 of file GenericOutput.tpp.
◆ ofstreamcsv() [3/4]
std::fstream & mimmo::outputCSVStream::ofstreamcsv | ( | std::fstream & | out, |
const std::vector< T > & | x | ||
) |
Store a data in a stream when export in csv format a vector of data.
- Parameters
-
[in] out output stream. [in] x vector of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 63 of file GenericOutput.tpp.
◆ ofstreamcsv() [4/4]
std::fstream & mimmo::outputCSVStream::ofstreamcsv | ( | std::fstream & | out, |
const T & | x | ||
) |
Store a data in a stream when export in csv format.
- Parameters
-
[in] out output stream. [in] x data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 36 of file GenericOutput.tpp.
◆ ofstreamcsvend() [1/5]
std::fstream& mimmo::outputCSVStream::ofstreamcsvend | ( | std::fstream & | out, |
const MimmoPiercedVector< T > & | x | ||
) |
Store a data in a stream when export in csv format a vector of data when end of line is reached.
- Parameters
-
[in] out output stream. [in] x vector of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 155 of file GenericOutput.tpp.
◆ ofstreamcsvend() [2/5]
std::fstream & mimmo::outputCSVStream::ofstreamcsvend | ( | std::fstream & | out, |
const std::array< T, d > & | x | ||
) |
Store a data in a stream when export in csv format an array of data of dimension d when end of line is reached.
- Parameters
-
[in] out output stream. [in] x array of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 116 of file GenericOutput.tpp.
◆ ofstreamcsvend() [3/5]
std::fstream & mimmo::outputCSVStream::ofstreamcsvend | ( | std::fstream & | out, |
const std::vector< T > & | x | ||
) |
Store a data in a stream when export in csv format a vector of data when end of line is reached.
- Parameters
-
[in] out output stream. [in] x vector of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 84 of file GenericOutput.tpp.
◆ ofstreamcsvend() [4/5]
std::fstream & mimmo::outputCSVStream::ofstreamcsvend | ( | std::fstream & | out, |
const T & | x | ||
) |
Store a data in a stream when export in csv format when end of line is reached.
- Parameters
-
[in] out output stream. [in] x data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 49 of file GenericOutput.tpp.
◆ ofstreamcsvend() [5/5]
std::fstream& mimmo::outputCSVStream::ofstreamcsvend | ( | std::fstream & | out, |
const MimmoPiercedVector< T > & | x | ||
) |
Store a data in a stream when export in csv format a vector of data when end of line is reached.
- Parameters
-
[in] out output stream. [in] x vector of data to write.
- Returns
- Reference to result output stream after data export.
Definition at line 155 of file GenericOutput.tpp.