OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
deconstruct_impl< T_type, layout_base, Memory > Struct Template Reference

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

Detailed Description

template<typename T_type, template< typename > class layout_base, typename Memory>
struct deconstruct_impl< T_type, layout_base, Memory >

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 420 of file map_grid.hpp.

#include <map_grid.hpp>

Public Member Functions

 deconstruct_impl (typename memory_traits_inte< T_type >::type &dst)
 constructor
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

memory_traits_inte< T_type >::type & dst
 object to destruct
 

Constructor & Destructor Documentation

◆ deconstruct_impl()

template<typename T_type , template< typename > class layout_base, typename Memory >
deconstruct_impl< T_type, layout_base, Memory >::deconstruct_impl ( typename memory_traits_inte< T_type >::type &  dst)
inline

constructor

Parameters
srcsource encapsulated object
dstsource encapsulated object

Definition at line 431 of file map_grid.hpp.

Member Function Documentation

◆ operator()()

template<typename T_type , template< typename > class layout_base, typename Memory >
template<typename T >
void deconstruct_impl< T_type, layout_base, Memory >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 438 of file map_grid.hpp.

Field Documentation

◆ dst

template<typename T_type , template< typename > class layout_base, typename Memory >
memory_traits_inte<T_type>::type& deconstruct_impl< T_type, layout_base, Memory >::dst

object to destruct

Definition at line 423 of file map_grid.hpp.


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