CSV Writer. More...
CSV Writer.
It write in CSV format vector of objects living into an N-dimensional space
v_pos | Positional vector |
v_prp | Property vector |
Definition at line 163 of file CSVWriter.hpp.
#include <CSVWriter.hpp>
Public Member Functions | |
bool | write (std::string file, v_pos &v, v_prp &prp, size_t offset=0) |
It write a CSV file. | |
Private Member Functions | |
std::string | get_csv_colums () |
Get the colums name (also the positional name) | |
std::string | get_csv_data (v_pos &vp, v_prp &vpr, size_t offset) |
Get the csv data section. | |
|
inlineprivate |
Get the colums name (also the positional name)
Definition at line 168 of file CSVWriter.hpp.
|
inlineprivate |
Get the csv data section.
vp | vector that contain the positional information |
vpr | vector that contain the property information |
offset | from where to start |
Definition at line 200 of file CSVWriter.hpp.
|
inline |
It write a CSV file.
prp | which properties to output [default = -1 (all)] |
file | path where to write |
v | positional vector |
prp | properties vector |
offset | from where to start to write |
Definition at line 248 of file CSVWriter.hpp.