OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
object_si_d_e< v_src, v_dst, prp > Struct Template Reference

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

Detailed Description

template<typename v_src, typename v_dst, int... prp>
struct object_si_d_e< v_src, v_dst, prp >

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 copy the selected properties

Template Parameters
v_srcsource object
d_srcdestination object

Definition at line 27 of file object_si_d.hpp.

#include <object_si_d.hpp>

Public Types

typedef to_boost_vmpl< prp...>
::type 
v_prp
 Convert the packed properties into an MPL vector.
 

Public Member Functions

 object_si_d_e (const v_src &src, v_dst &dst)
 Constructor. More...
 
template<typename T >
void operator() (T &t)
 It call the functor for each member.
 

Data Fields

const v_src & src
 Source object.
 
v_dst & dst
 Destination object.
 

Constructor & Destructor Documentation

template<typename v_src , typename v_dst , int... prp>
object_si_d_e< v_src, v_dst, prp >::object_si_d_e ( const v_src &  src,
v_dst &  dst 
)
inline

Constructor.

Parameters
srcsource object
dstdestination object

Definition at line 44 of file object_si_d.hpp.


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