Utilities to read CSV data from an input stream. More...
Functions | |
template<typename T , size_t d> | |
std::fstream & | ifstreamcsv (std::fstream &in, MimmoPiercedVector< std::array< T, d > > &x) |
template<typename T > | |
std::fstream & | ifstreamcsv (std::fstream &in, MimmoPiercedVector< T > &x) |
template<typename T , size_t d> | |
std::fstream & | ifstreamcsv (std::fstream &in, std::array< T, d > &x) |
template<typename T > | |
std::fstream & | ifstreamcsv (std::fstream &in, std::vector< T > &x) |
template<typename T > | |
std::fstream & | ifstreamcsv (std::fstream &in, T &x) |
template<typename T , size_t d> | |
std::fstream & | ifstreamcsvend (std::fstream &in, std::array< T, d > &x) |
template<typename T > | |
std::fstream & | ifstreamcsvend (std::fstream &in, std::vector< T > &x) |
template<typename T > | |
std::fstream & | ifstreamcsvend (std::fstream &in, T &x) |
Detailed Description
Utilities to read CSV data from an input stream.
Function Documentation
◆ ifstreamcsv() [1/5]
std::fstream & mimmo::inputCSVStream::ifstreamcsv | ( | std::fstream & | in, |
MimmoPiercedVector< std::array< T, d > > & | x | ||
) |
Recover a data from a stream when import in csv format a MimmoPiercedVector of data.
- Parameters
-
[in] in import stream. [out] x MimmoPiercedVector data read.
- Returns
- Reference to result import stream after data import.
Definition at line 167 of file GenericInput.tpp.
◆ ifstreamcsv() [2/5]
std::fstream & mimmo::inputCSVStream::ifstreamcsv | ( | std::fstream & | in, |
MimmoPiercedVector< T > & | x | ||
) |
Recover a data from a stream when import in csv format a MimmoPiercedVector of data.
- Parameters
-
[in] in import stream. [out] x MimmoPiercedVector data read.
- Returns
- Reference to result import stream after data import.
Definition at line 134 of file GenericInput.tpp.
◆ ifstreamcsv() [3/5]
std::fstream & mimmo::inputCSVStream::ifstreamcsv | ( | std::fstream & | in, |
std::array< T, d > & | x | ||
) |
Recover a data from a stream when import in csv format an array of data of dimension d.
- Parameters
-
[in] in import stream. [out] x array data read.
- Returns
- Reference to result import stream after data import.
Definition at line 99 of file GenericInput.tpp.
◆ ifstreamcsv() [4/5]
std::fstream & mimmo::inputCSVStream::ifstreamcsv | ( | std::fstream & | in, |
std::vector< T > & | x | ||
) |
Recover a data from a stream when import in csv format a vector of data.
- Parameters
-
[in] in import stream. [out] x vector data read.
- Returns
- Reference to result import stream after data import.
Definition at line 71 of file GenericInput.tpp.
◆ ifstreamcsv() [5/5]
std::fstream & mimmo::inputCSVStream::ifstreamcsv | ( | std::fstream & | in, |
T & | x | ||
) |
Recover a data from a stream when import in csv format.
- Parameters
-
[in] in import stream. [out] x data read.
- Returns
- Reference to result import stream after data import.
Definition at line 38 of file GenericInput.tpp.
◆ ifstreamcsvend() [1/3]
std::fstream & mimmo::inputCSVStream::ifstreamcsvend | ( | std::fstream & | in, |
std::array< T, d > & | x | ||
) |
Recover a data from a stream when import in csv format an array of data of dimension d.
- Parameters
-
[in] in import stream. [out] x array data read.
- Returns
- Reference to result import stream after data import.
Definition at line 123 of file GenericInput.tpp.
◆ ifstreamcsvend() [2/3]
std::fstream & mimmo::inputCSVStream::ifstreamcsvend | ( | std::fstream & | in, |
std::vector< T > & | x | ||
) |
Recover a data from a stream when import in csv format a vector of data.
- Parameters
-
[in] in import stream. [out] x vector data read.
- Returns
- Reference to result import stream after data import.
Definition at line 88 of file GenericInput.tpp.
◆ ifstreamcsvend() [3/3]
std::fstream & mimmo::inputCSVStream::ifstreamcsvend | ( | std::fstream & | in, |
T & | x | ||
) |
Recover a data from a stream when import in csv format when end of line is reached.
- Parameters
-
[in] in import stream. [out] x data read.
- Returns
- Reference to result import stream after data import.
Definition at line 55 of file GenericInput.tpp.