OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
csv_col_str< T > Struct Template Reference

This class is an helper to produce csv headers from multi-array. More...

Detailed Description

template<typename T>
struct csv_col_str< T >

This class is an helper to produce csv headers from multi-array.

Usage:

float src[3];
std::stringstream str;
csv_col_str<float[3]> cp(std::string("test"),str);
std::cout << str.str() << "\n";
This class is an helper to produce csv headers from multi-array.

Will produce ",test[0],test[1],test[2]"

Definition at line 32 of file csv_multiarray.hpp.

#include <csv_multiarray.hpp>

Public Member Functions

 csv_col_str (std::string prp, std::stringstream &str)
 

Constructor & Destructor Documentation

◆ csv_col_str()

template<typename T >
csv_col_str< T >::csv_col_str ( std::string  prp,
std::stringstream &  str 
)
inline

Definition at line 34 of file csv_multiarray.hpp.


The documentation for this struct was generated from the following file: