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 one encap into another encap object
encap | source |
encap | dst |
Definition at line 64 of file hostDevice_util_funcs.hpp.
#include <hostDevice_util_funcs.hpp>
Public Types | |
typedef to_boost_vmpl< prp... >::type | v_prp |
Convert the packed properties into an MPL vector. | |
Public Member Functions | |
device_to_host_impl (typename layout_base< T_type >::type &dst) | |
constructor | |
template<typename T > | |
void | operator() (T &t) const |
It call the copy function for each property. | |
Data Fields | |
layout_base< T_type >::type & | dst |
encapsulated destination object | |
typedef to_boost_vmpl<prp...>::type device_to_host_impl< T_type, layout_base, prp >::v_prp |
Convert the packed properties into an MPL vector.
Definition at line 70 of file hostDevice_util_funcs.hpp.
|
inline |
constructor
src | source encapsulated object |
dst | source encapsulated object |
Definition at line 78 of file hostDevice_util_funcs.hpp.
|
inline |
It call the copy function for each property.
Definition at line 86 of file hostDevice_util_funcs.hpp.
layout_base<T_type>::type& device_to_host_impl< T_type, layout_base, prp >::dst |
encapsulated destination object
Definition at line 67 of file hostDevice_util_funcs.hpp.