OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
copy_packer_chunk< e_src, e_dst > Struct Template Reference

It copy one element of the chunk for each property. More...

Detailed Description

template<typename e_src, typename e_dst>
struct copy_packer_chunk< e_src, e_dst >

It copy one element of the chunk for each property.

Definition at line 493 of file Packer.hpp.

#include <Packer.hpp>

Public Member Functions

 copy_packer_chunk (const e_src &src, size_t sub_id, e_dst &dst)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

const e_src & src
 encapsulated object source
 
e_dst & dst
 encapsulated object destination
 
size_t sub_id
 element to copy
 

Constructor & Destructor Documentation

◆ copy_packer_chunk()

template<typename e_src , typename e_dst >
copy_packer_chunk< e_src, e_dst >::copy_packer_chunk ( const e_src &  src,
size_t  sub_id,
e_dst &  dst 
)
inline

constructor

Parameters
srcsource encapsulated object
dstdestination encapsulated object

Definition at line 510 of file Packer.hpp.


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