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

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

Detailed Description

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

this class is a functor for "for_each" algorithm

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

Definition at line 18 of file copy_fusion_vector.hpp.

#include <copy_fusion_vector.hpp>

Public Member Functions

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

Data Fields

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

Constructor & Destructor Documentation

◆ copy_fusion_vector_encap()

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

constructor

It define the copy parameters.

Parameters
srcsource fusion vector
dstdestination fusion vector

Definition at line 34 of file copy_fusion_vector.hpp.

Member Function Documentation

◆ operator()()

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

It call the copy function for each property.

Definition at line 51 of file copy_fusion_vector.hpp.

Field Documentation

◆ dst

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

destination fusion vector

Definition at line 24 of file copy_fusion_vector.hpp.

◆ src

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

source fusion vector

Definition at line 21 of file copy_fusion_vector.hpp.


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