this class is a functor for "for_each" algorithm More...
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 produce an output for each property
ele_v | It is the class ele_v that store the couple vector of position and property |
Definition at line 83 of file VTKWriter_point_set.hpp.
#include <VTKWriter_point_set.hpp>
Public Member Functions | |
prop_out_v (std::string &v_out, const openfpm::vector_std< ele_v > &vv, const openfpm::vector< std::string > &prop_names, file_type ft) | |
constructor More... | |
template<typename T > | |
void | operator() (T &t) const |
It produce an output for each property. More... | |
void | lastProp () |
Data Fields | |
file_type | ft |
Binary or ASCII. | |
std::string & | v_out |
property output string | |
const openfpm::vector_std < ele_v > & | vv |
vector that we are processing | |
const openfpm::vector < std::string > & | prop_names |
properties names | |
|
inline |
constructor
v_out | string to fill with the vertex properties |
vv | vector we are processing |
ft | ASCII or BINARY format |
Definition at line 104 of file VTKWriter_point_set.hpp.
|
inline |
Get a vertex iterator
Definition at line 125 of file VTKWriter_point_set.hpp.
|
inline |
It produce an output for each property.
t | property id |
Definition at line 117 of file VTKWriter_point_set.hpp.