OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
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";

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)
 

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