OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
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

Definition at line 101 of file Encap.hpp.

#include <Encap.hpp>

Public Member Functions

 compare_cpu_encap_encap (const e_src &src, const e_dst &dst)
 constructor More...
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.

Data Fields

const e_src & src
 object we have to compare
const e_dst & dst

Constructor & Destructor Documentation

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 


It define the copy parameters.

keywhich element we are modifying
grid_dstgrid we are updating
objobject we have to set in grid_dst (encapsulated)

Definition at line 117 of file Encap.hpp.

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