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, false > Struct Template Reference

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

Detailed Description

template<typename ele_v>
struct H5_prop_out< ele_v, 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 produce an output for each property

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

Definition at line 76 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 >
H5_prop_out< ele_v, false >::H5_prop_out ( hid_t  file_id,
ele_v &  vv,
size_t  stop 
)
inline

constructor

Parameters
file_idhandle of the file
vvelement to write
stopup to which element to write

Definition at line 94 of file HDF5_XdmfWriter_point_set.hpp.

Member Function Documentation

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

It produce an output for each property.

Parameters
tproperty id

Definition at line 104 of file HDF5_XdmfWriter_point_set.hpp.


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