OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
csv_col< Tobj, false > Struct Template Reference

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

Detailed Description

template<typename Tobj>
struct csv_col< Tobj, false >

this class is a functor for "for_each" algorithm

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 vertex properties

Specialization when we do not have vertex attributes

Template Parameters
Ggraph type

Definition at line 120 of file CSVWriter.hpp.

#include <CSVWriter.hpp>

Public Member Functions

 csv_col (std::stringstream &str)
 Constructor.
 
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 >
csv_col< Tobj, false >::csv_col ( std::stringstream &  str)
inline

Constructor.

\str String where to put the colum list

Definition at line 130 of file CSVWriter.hpp.

Member Function Documentation

◆ operator()()

template<typename Tobj >
template<typename T >
void csv_col< Tobj, false >::operator() ( T &  t)
inline

It call the functor for each member.

Definition at line 137 of file CSVWriter.hpp.

Field Documentation

◆ str

template<typename Tobj >
std::stringstream& csv_col< Tobj, false >::str

String containing the colums list as string.

Definition at line 123 of file CSVWriter.hpp.


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