OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
csv_col< Tobj, attr > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename Tobj, bool attr>
struct csv_col< Tobj, attr >

this class is a functor for "for_each" algorithm

For each element of the boost::vector the operator() is called. Is mainly used to create a string containing all the properties of the object

Template Parameters

Definition at line 80 of file CSVWriter.hpp.

#include <CSVWriter.hpp>

Public Member Functions

 csv_col (std::stringstream &str)
 Constructor. More...
template<typename T >
void operator() (T &t)
 It call the functor for each member.

Data Fields

std::stringstream & str
 String containing the colums list as string.

Constructor & Destructor Documentation

◆ csv_col()

template<typename Tobj, bool attr>
csv_col< Tobj, attr >::csv_col ( std::stringstream &  str)


\str String where to put the colum list

Definition at line 90 of file CSVWriter.hpp.

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