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 84 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 | |
| template<typename T > | |
| void | operator() (T &t) const |
| It produce an output for each property. | |
| 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 105 of file VTKWriter_point_set.hpp.
|
inline |
Get a vertex iterator
Definition at line 126 of file VTKWriter_point_set.hpp.
|
inline |
It produce an output for each property.
| t | property id |
Definition at line 118 of file VTKWriter_point_set.hpp.
| file_type prop_out_v< ele_v, St >::ft |
Binary or ASCII.
Definition at line 87 of file VTKWriter_point_set.hpp.
| const openfpm::vector<std::string>& prop_out_v< ele_v, St >::prop_names |
properties names
Definition at line 96 of file VTKWriter_point_set.hpp.
| std::string& prop_out_v< ele_v, St >::v_out |
property output string
Definition at line 90 of file VTKWriter_point_set.hpp.
| const openfpm::vector_std< ele_v >& prop_out_v< ele_v, St >::vv |
vector that we are processing
Definition at line 93 of file VTKWriter_point_set.hpp.