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
H5_prop_out< ele_v, has_name > Struct Template Reference

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

#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.
 

Data Fields

hid_t file_id
 
ele_v & vv
 
size_t stop
 

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.

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.


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