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
| v_src | source object |
| d_src | destination object |
Definition at line 144 of file object_si_d.hpp.
#include <object_si_d.hpp>
Public Types | |
| typedef to_boost_vmpl< prp... >::type | v_prp |
Public Member Functions | |
| object_si_d_f (const v_src &src, v_dst &dst) | |
| Constructor. | |
| template<typename T > | |
| void | operator() (T &t) |
| It call the functor for each member. | |
Data Fields | |
| const v_src & | src |
| v_dst & | dst |
| typedef to_boost_vmpl<prp...>::type object_si_d_f< v_src, v_dst, prp >::v_prp |
Definition at line 147 of file object_si_d.hpp.
|
inline |
Constructor.
| src | source object |
| dst | destination object |
Definition at line 161 of file object_si_d.hpp.
|
inline |
It call the functor for each member.
Definition at line 168 of file object_si_d.hpp.
| v_dst& object_si_d_f< v_src, v_dst, prp >::dst |
Definition at line 153 of file object_si_d.hpp.
| const v_src& object_si_d_f< v_src, v_dst, prp >::src |
Definition at line 150 of file object_si_d.hpp.