8 #ifndef VECTOR_PROP_COPY_HPP_ 
    9 #define VECTOR_PROP_COPY_HPP_ 
   11 #include "for_each_ref.hpp" 
   12 #include <boost/mpl/range_c.hpp> 
   13 #include <boost/fusion/include/size.hpp> 
   26 template<
typename v_src,
typename v_dst, 
int... prp>
 
   53         typedef typename boost::mpl::at<typename v_dst::type,typename boost::mpl::int_<T::value>>::type dtype;
 
   54         typedef decltype(
src.template 
get<boost::mpl::at<
v_prp,boost::mpl::int_<T::value>>::type::value>()) stype;
 
   72 template<
typename v_src,
typename v_dst, 
int... prp>
 
   99         typedef typename boost::mpl::at<typename v_dst::type,typename boost::mpl::int_<T::value>>::type ctype;
 
  101         meta_copy<ctype>::meta_copy_(boost::fusion::at_c<boost::mpl::at<v_prp,boost::mpl::int_<T::value>>::type::value>(src.data),boost::fusion::at_c<T::value>(dst.data));
 
  116 template<
typename v_src, 
typename v_dst,
int type_copy, 
int... prp>
 
  121         std::cerr << 
"Error object_copy: " << __FILE__ << 
" " << __LINE__ << 
"\n";
 
  134 template<
typename v_src, 
typename v_dst, 
int... prp>
 
  140         boost::mpl::for_each_ref< boost::mpl::range_c<int,0,v_dst::max_prop> >(obj);
 
  146         boost::mpl::for_each_ref< boost::mpl::range_c<int,0,v_dst::max_prop> >(obj);
 
  164 template<
typename v_src, 
typename v_dst, 
int... prp>
 
  170         boost::mpl::for_each_ref< boost::mpl::range_c<int,0,v_dst::max_prop> >(obj);
 
  176         boost::mpl::for_each_ref< boost::mpl::range_c<int,0,v_dst::max_prop> >(obj);
 
  180 template<
typename v_src, 
typename v_dst>
 
v_dst & dst
Destination object. 
 
const v_src & src
Source object. 
 
object_si_d_f(const v_src &src, v_dst &dst)
Constructor. 
 
to_boost_vmpl< prp...>::type v_prp
Convert the packed properties into an MPL vector. 
 
void operator()(T &t)
It call the functor for each member. 
 
void operator()(T &t)
It call the functor for each member. 
 
this class is a functor for "for_each" algorithm 
 
this class is a functor for "for_each" algorithm 
 
It copy the properties from one object to another. 
 
object_si_d_e(const v_src &src, v_dst &dst)
Constructor.