OpenFPM  5.2.0
Project that contain the implementation of distributed structures
set_buf_size_for_each_prop< sT > Struct Template Reference

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

#include <VCluster_meta_function.hpp>

Public Member Functions

 set_buf_size_for_each_prop (sT &v, openfpm::vector< size_t > &sz)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

sT & v
 set of pointers
 
openfpm::vector< size_t > & sz
 

Detailed Description

template<typename sT>
struct set_buf_size_for_each_prop< sT >

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 412 of file VCluster_meta_function.hpp.

Constructor & Destructor Documentation

◆ set_buf_size_for_each_prop()

template<typename sT >
set_buf_size_for_each_prop< sT >::set_buf_size_for_each_prop ( sT &  v,
openfpm::vector< size_t > &  sz 
)
inline

constructor

Parameters
vset of pointer buffers to set

Definition at line 424 of file VCluster_meta_function.hpp.


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