OpenFPM_io  0.2.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Functions Variables Typedefs
prop_out_v< ele_v, St > Struct Template Reference

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

#include <VTKWriter_point_set.hpp>

Public Member Functions

 prop_out_v (std::string &v_out, const openfpm::vector_std< ele_v > &vv)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property.
 
void lastProp ()
 

Data Fields

std::string & v_out
 
const openfpm::vector_std
< ele_v > & 
vv
 

Detailed Description

template<typename ele_v, typename St>
struct prop_out_v< ele_v, St >

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

Template Parameters
ele_vIt is the class ele_v that store the couple vector of position and property

Definition at line 71 of file VTKWriter_point_set.hpp.

Constructor & Destructor Documentation

template<typename ele_v, typename St>
prop_out_v< ele_v, St >::prop_out_v ( std::string &  v_out,
const openfpm::vector_std< ele_v > &  vv 
)
inline

constructor

Parameters
v_outstring to fill with the vertex properties

Definition at line 84 of file VTKWriter_point_set.hpp.

Member Function Documentation

template<typename ele_v, typename St>
void prop_out_v< ele_v, St >::lastProp ( )
inline

Get a vertex iterator

Definition at line 97 of file VTKWriter_point_set.hpp.


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