CSV Writer. More...
#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. More... | |
Private Member Functions | |
| std::string | get_csv_colums () |
| Get the colums name (also the positional name) More... | |
| std::string | get_csv_data (v_pos &vp, v_prp &vpr, size_t offset) |
| Get the csv data section. 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 149 of file CSVWriter.hpp.
|
inlineprivate |
Get the colums name (also the positional name)
Definition at line 154 of file CSVWriter.hpp.
|
inlineprivate |
Get the csv data section.
| v_pos | vector that contain the positional information |
| v_prp | vector that contain the property information |
| offset | from where to start |
Definition at line 186 of file CSVWriter.hpp.
|
inline |
It write a CSV file.
| prp | which properties to output [default = -1 (all)] |
| file | path where to write |
| v_pos | positional vector |
| v_prp | properties vector |
| offset | from where to start to write |
Definition at line 235 of file CSVWriter.hpp.