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

Member Function Documentation

◆ operator()()

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

It call the copy function for each property.

Definition at line 518 of file Packer.hpp.

Field Documentation

◆ dst

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

encapsulated object destination

Definition at line 498 of file Packer.hpp.

◆ src

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

encapsulated object source

Definition at line 496 of file Packer.hpp.

◆ sub_id

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

element to copy

Definition at line 501 of file Packer.hpp.


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