OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
H5_prop_out< ele_v, has_name > Struct Template Reference

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

Detailed Description

template<typename ele_v, bool has_name>
struct H5_prop_out< ele_v, has_name >

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 write each property in H5Part

Template Parameters
ele_vis the vector of properties
seq,sequenceof property to output
has_namedefine if the structure define names for the properties

Definition at line 28 of file HDF5_XdmfWriter_point_set.hpp.

#include <HDF5_XdmfWriter_point_set.hpp>

Public Member Functions

 H5_prop_out (hid_t file_id, ele_v &vv, size_t stop)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property. More...
 

Data Fields

hid_t file_id
 HDF5 file.
 
ele_v & vv
 vector that we are processing
 
size_t stop
 Up to which element to write.
 

Constructor & Destructor Documentation

template<typename ele_v, bool has_name>
H5_prop_out< ele_v, has_name >::H5_prop_out ( hid_t  file_id,
ele_v &  vv,
size_t  stop 
)
inline

constructor

Parameters
v_outstring to fill with the vertex properties

Definition at line 44 of file HDF5_XdmfWriter_point_set.hpp.

Member Function Documentation

template<typename ele_v, bool has_name>
template<typename T >
void H5_prop_out< ele_v, has_name >::operator() ( T &  t) const
inline

It produce an output for each property.

Parameters
tproperty id

Definition at line 54 of file HDF5_XdmfWriter_point_set.hpp.


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