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

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

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.

#include <VCluster_meta_function.hpp>

Public Member Functions

 set_buf_size_for_each_prop (sT &v, openfpm::vector< size_t > &sz)
 constructor
 
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
 

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.

Member Function Documentation

◆ operator()()

template<typename sT >
template<typename T >
void set_buf_size_for_each_prop< sT >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 430 of file VCluster_meta_function.hpp.

Field Documentation

◆ sz

template<typename sT >
openfpm::vector<size_t>& set_buf_size_for_each_prop< sT >::sz

Definition at line 417 of file VCluster_meta_function.hpp.

◆ v

template<typename sT >
sT& set_buf_size_for_each_prop< sT >::v

set of pointers

Definition at line 415 of file VCluster_meta_function.hpp.


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