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< 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
Tobject

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

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

Constructor.

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: