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

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

Detailed Description

template<typename Tobj>
struct csv_prp< Tobj >

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 34 of file CSVWriter.hpp.

#include <CSVWriter.hpp>

Public Member Functions

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

Data Fields

std::stringstream & str
 String containing the csv line constructed from an object.
Tobj & obj
 Object to write.

Constructor & Destructor Documentation

◆ csv_prp()

template<typename Tobj >
csv_prp< Tobj >::csv_prp ( std::stringstream &  str,
Tobj &  obj 


Create a vertex properties list

objobject to write

Definition at line 50 of file CSVWriter.hpp.

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