OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
compare_cpu_encap_encap< e_src, e_dst > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

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

this class is a functor for "for_each" algorithm

This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to copy one encap into another encap object

Template Parameters
encapsource
encapdst

Definition at line 347 of file Encap.hpp.

#include <Encap.hpp>

Public Member Functions

 compare_cpu_encap_encap (const e_src &src, const 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
 object 1 we have to compare
 
const e_dst & dst
 object 2 we have to compare
 

Constructor & Destructor Documentation

◆ compare_cpu_encap_encap()

template<typename e_src , typename e_dst >
compare_cpu_encap_encap< e_src, e_dst >::compare_cpu_encap_encap ( const e_src &  src,
const e_dst &  dst 
)
inline

constructor

Parameters
srcencapsulated object1
dstencapsulated object2

Definition at line 362 of file Encap.hpp.

Member Function Documentation

◆ operator()()

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

It call the copy function for each property.

Parameters
teach member

This is the type of the object we have to copy

Remove the reference from the type to copy

Definition at line 396 of file Encap.hpp.

Field Documentation

◆ dst

template<typename e_src , typename e_dst >
const e_dst& compare_cpu_encap_encap< e_src, e_dst >::dst

object 2 we have to compare

Definition at line 352 of file Encap.hpp.

◆ src

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

object 1 we have to compare

Definition at line 350 of file Encap.hpp.


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