OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
call_unpack_agg_functor< obj_type, Mem > Struct Template Reference

Detailed Description

template<typename obj_type, typename Mem>
struct call_unpack_agg_functor< obj_type, Mem >

Definition at line 492 of file Packer_util.hpp.

Public Member Functions

 call_unpack_agg_functor (ExtPreAlloc< Mem > &mem, obj_type &obj, Unpack_stat &ps)
 constructor
 
template<typename T >
void operator() (T &t)
 It calls the unpacker for each property.
 

Data Fields

ExtPreAlloc< Mem > & mem
 Memory where to pack.
 
obj_type & obj
 object to pack
 
Unpack_statps
 statistic about packing
 

Constructor & Destructor Documentation

◆ call_unpack_agg_functor()

template<typename obj_type , typename Mem >
call_unpack_agg_functor< obj_type, Mem >::call_unpack_agg_functor ( ExtPreAlloc< Mem > &  mem,
obj_type &  obj,
Unpack_stat ps 
)
inline

constructor

Parameters
memmemory where to pack
objobject to pack
pspacking statistic

Definition at line 510 of file Packer_util.hpp.

Member Function Documentation

◆ operator()()

template<typename obj_type , typename Mem >
template<typename T >
void call_unpack_agg_functor< obj_type, Mem >::operator() ( T &  t)
inline

It calls the unpacker for each property.

Definition at line 517 of file Packer_util.hpp.

Field Documentation

◆ mem

template<typename obj_type , typename Mem >
ExtPreAlloc<Mem>& call_unpack_agg_functor< obj_type, Mem >::mem

Memory where to pack.

Definition at line 495 of file Packer_util.hpp.

◆ obj

template<typename obj_type , typename Mem >
obj_type& call_unpack_agg_functor< obj_type, Mem >::obj

object to pack

Definition at line 498 of file Packer_util.hpp.

◆ ps

template<typename obj_type , typename Mem >
Unpack_stat& call_unpack_agg_functor< obj_type, Mem >::ps

statistic about packing

Definition at line 501 of file Packer_util.hpp.


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