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 380 of file map_grid.hpp.
#include <map_grid.hpp>
Public Types | |
typedef to_boost_vmpl< prp... >::type | v_prp |
Convert the packed properties into an MPL vector. | |
Public Member Functions | |
switch_copy_host_to_device (typename memory_traits_inte< T_type >::type &dst) | |
constructor | |
template<typename T > | |
void | operator() (T &t) const |
It call the copy function for each property. | |
Data Fields | |
memory_traits_inte< T_type >::type & | dst |
encapsulated destination object | |
typedef to_boost_vmpl<prp...>::type switch_copy_host_to_device< T_type, prp >::v_prp |
Convert the packed properties into an MPL vector.
Definition at line 386 of file map_grid.hpp.
|
inline |
constructor
src | source encapsulated object |
dst | source encapsulated object |
Definition at line 394 of file map_grid.hpp.
|
inline |
It call the copy function for each property.
Definition at line 402 of file map_grid.hpp.
memory_traits_inte<T_type>::type& switch_copy_host_to_device< T_type, prp >::dst |
encapsulated destination object
Definition at line 383 of file map_grid.hpp.