OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
copy_bck< Tsrc, Tdst > Class Template Reference

Detailed Description

template<typename Tsrc, typename Tdst>
class copy_bck< Tsrc, Tdst >

Definition at line 35 of file SparseGrid.hpp.

Public Member Functions

 copy_bck (Tsrc &src, Tdst &dst, size_t pos)
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Private Attributes

Tsrc & src
 source
 
Tdst & dst
 destination
 
size_t pos
 

Constructor & Destructor Documentation

◆ copy_bck()

template<typename Tsrc , typename Tdst >
copy_bck< Tsrc, Tdst >::copy_bck ( Tsrc &  src,
Tdst &  dst,
size_t  pos 
)
inline

Definition at line 47 of file SparseGrid.hpp.

Member Function Documentation

◆ operator()()

template<typename Tsrc , typename Tdst >
template<typename T >
void copy_bck< Tsrc, Tdst >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 53 of file SparseGrid.hpp.

Field Documentation

◆ dst

template<typename Tsrc , typename Tdst >
Tdst& copy_bck< Tsrc, Tdst >::dst
private

destination

Definition at line 41 of file SparseGrid.hpp.

◆ pos

template<typename Tsrc , typename Tdst >
size_t copy_bck< Tsrc, Tdst >::pos
private

Definition at line 43 of file SparseGrid.hpp.

◆ src

template<typename Tsrc , typename Tdst >
Tsrc& copy_bck< Tsrc, Tdst >::src
private

source

Definition at line 38 of file SparseGrid.hpp.


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