OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
copy_unpacker_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_unpacker_chunk< e_src, e_dst >

It copy one element of the chunk for each property.

Definition at line 337 of file Unpacker.hpp.

#include <Unpacker.hpp>

Public Member Functions

 copy_unpacker_chunk (const e_src &src, e_dst &dst, size_t sub_id)
 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_unpacker_chunk()

template<typename e_src, typename e_dst>
copy_unpacker_chunk< e_src, e_dst >::copy_unpacker_chunk ( const e_src &  src,
e_dst &  dst,
size_t  sub_id 


srcsource encapsulated object
dstdestination encapsulated object

Definition at line 354 of file Unpacker.hpp.

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