Molecular Dynamics Simulation
1.0
|
Go to the source code of this file.
Functions | |
template<typename T > | |
void | write_csv_element (std::ofstream &file, const T &value) |
Writes a single element to the CSV file. More... | |
template<> | |
void | write_csv_element< std::string > (std::ofstream &file, const std::string &value) |
Escapes a string value to be written to the CSV file. More... | |
void write_csv_element | ( | std::ofstream & | file, |
const T & | value | ||
) |
Writes a single element to the CSV file.
file | The file stream to write to. |
value | The value to write. |
Definition at line 8 of file CSVWriter.cpp.
void write_csv_element< std::string > | ( | std::ofstream & | file, |
const std::string & | value | ||
) |
Escapes a string value to be written to the CSV file.
file | The file stream to write to. |
value | The value to write. |
Definition at line 13 of file CSVWriter.cpp.