OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
 
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 
)
inline

constructor

Parameters
srcsource encapsulated object
dstdestination encapsulated object

Definition at line 354 of file Unpacker.hpp.

Member Function Documentation

◆ operator()()

template<typename e_src , typename e_dst >
template<typename T >
void copy_unpacker_chunk< e_src, e_dst >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 363 of file Unpacker.hpp.

Field Documentation

◆ dst

template<typename e_src , typename e_dst >
e_dst& copy_unpacker_chunk< e_src, e_dst >::dst

encapsulated object destination

Definition at line 342 of file Unpacker.hpp.

◆ src

template<typename e_src , typename e_dst >
const e_src& copy_unpacker_chunk< e_src, e_dst >::src

encapsulated object source

Definition at line 340 of file Unpacker.hpp.

◆ sub_id

template<typename e_src , typename e_dst >
size_t copy_unpacker_chunk< e_src, e_dst >::sub_id

element to copy

Definition at line 345 of file Unpacker.hpp.


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