OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
copy_encap_vector_fusion< enc, bfv > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename enc, typename bfv>
struct copy_encap_vector_fusion< enc, bfv >

this class is a functor for "for_each" algorithm

It copy a boost::fusion::vector into an encap

Definition at line 67 of file copy_fusion_vector.hpp.

#include <copy_fusion_vector.hpp>

Public Member Functions

__device__ __host__ copy_encap_vector_fusion (const enc &src, bfv &dst)
 constructor
 
template<typename T >
__device__ __host__ void operator() (T &t)
 It call the copy function for each property.
 

Data Fields

const enc & src
 source fusion vector
 
bfv & dst
 destination fusion vector
 

Constructor & Destructor Documentation

◆ copy_encap_vector_fusion()

template<typename enc , typename bfv >
__device__ __host__ copy_encap_vector_fusion< enc, bfv >::copy_encap_vector_fusion ( const enc &  src,
bfv &  dst 
)
inline

constructor

It define the copy parameters.

Parameters
srcsource fusion vector
dstdestination fusion vector

Definition at line 83 of file copy_fusion_vector.hpp.

Member Function Documentation

◆ operator()()

template<typename enc , typename bfv >
template<typename T >
__device__ __host__ void copy_encap_vector_fusion< enc, bfv >::operator() ( T &  t)
inline

It call the copy function for each property.

Definition at line 100 of file copy_fusion_vector.hpp.

Field Documentation

◆ dst

template<typename enc , typename bfv >
bfv& copy_encap_vector_fusion< enc, bfv >::dst

destination fusion vector

Definition at line 73 of file copy_fusion_vector.hpp.

◆ src

template<typename enc , typename bfv >
const enc& copy_encap_vector_fusion< enc, bfv >::src

source fusion vector

Definition at line 70 of file copy_fusion_vector.hpp.


The documentation for this struct was generated from the following file: