OpenFPM_io  0.2.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Functions Variables Typedefs
csv_col_str< T > Struct Template Reference

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

#include <csv_multiarray.hpp>

Public Member Functions

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

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.


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