this class is a functor for "for_each" algorithm More...
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 applying an operation
op | operation |
v_src | source object |
d_src | destination object |
prp | properties |
Definition at line 227 of file object_s_di.hpp.
#include <object_s_di.hpp>
Public Types | |
typedef to_boost_vmpl< prp... >::type | v_prp |
Convert the packed properties into an MPL vector. | |
Public Member Functions | |
object_s_di_e_op_cnk (const v_src &src, v_dst &dst, size_t sub_id) | |
Constructor. | |
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. | |
size_t | sub_id |
element id | |
typedef to_boost_vmpl<prp...>::type object_s_di_e_op_cnk< op, v_src, v_dst, prp >::v_prp |
Convert the packed properties into an MPL vector.
Definition at line 230 of file object_s_di.hpp.
|
inline |
Constructor.
src | source object |
dst | destination object |
Definition at line 247 of file object_s_di.hpp.
|
inline |
It call the functor for each member.
Definition at line 266 of file object_s_di.hpp.
v_dst& object_s_di_e_op_cnk< op, v_src, v_dst, prp >::dst |
Destination object.
Definition at line 236 of file object_s_di.hpp.
const v_src& object_s_di_e_op_cnk< op, v_src, v_dst, prp >::src |
Source object.
Definition at line 233 of file object_s_di.hpp.
size_t object_s_di_e_op_cnk< op, v_src, v_dst, prp >::sub_id |
element id
Definition at line 239 of file object_s_di.hpp.