OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
copy_aggregate< S > Struct Template Reference

Structure to copy aggregates. More...

Detailed Description

template<typename S>
struct copy_aggregate< S >

Structure to copy aggregates.

Template Parameters
aggregateto copy

Definition at line 62 of file copy_compare_aggregates.hpp.

#include <copy_compare_aggregates.hpp>

Public Member Functions

 copy_aggregate (const S &src, S &dst)
 copy_aggregate
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each member.
 

Data Fields

const S & src
 src
 
S & dst
 Destination grid.
 

Constructor & Destructor Documentation

◆ copy_aggregate()

template<typename S >
copy_aggregate< S >::copy_aggregate ( const S &  src,
S &  dst 
)
inline

copy_aggregate

Definition at line 71 of file copy_compare_aggregates.hpp.

Member Function Documentation

◆ operator()()

template<typename S >
template<typename T >
void copy_aggregate< S >::operator() ( T &  t) const
inline

It call the copy function for each member.

Definition at line 76 of file copy_compare_aggregates.hpp.

Field Documentation

◆ dst

template<typename S >
S& copy_aggregate< S >::dst

Destination grid.

Definition at line 68 of file copy_compare_aggregates.hpp.

◆ src

template<typename S >
const S& copy_aggregate< S >::src

src

Definition at line 65 of file copy_compare_aggregates.hpp.


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