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

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

Detailed Description

template<typename T, bool is_writable>
struct csv_value_str< T, is_writable >

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

Usage:

float src[3] = {1.0,2.0,3.0};
std::stringstream str;
std::cout << str.str() << "\n";
This class is an helper to produce csv data from multi-array.

Will produce ",1.0,2.0,3.0"

Definition at line 128 of file csv_multiarray.hpp.

#include <csv_multiarray.hpp>

Public Member Functions

 csv_value_str (T &v, std::stringstream &str)
 

Constructor & Destructor Documentation

◆ csv_value_str()

template<typename T , bool is_writable>
csv_value_str< T, is_writable >::csv_value_str ( T &  v,
std::stringstream &  str 
)
inline

Definition at line 130 of file csv_multiarray.hpp.


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