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

Detailed Description

template<typename encap, typename Mem>
struct call_pack_enc_functor_chunking< encap, Mem >

Definition at line 134 of file Packer_util.hpp.

Public Member Functions

 call_pack_enc_functor_chunking (ExtPreAlloc< Mem > &mem, const encap &obj, size_t sub_id, Pack_stat &sts)
 
template<typename T >
void operator() (T &t)
 It calls the packer for each property.
 

Data Fields

ExtPreAlloc< Mem > & mem
 Memory that pack/serialize the object.
 
const encap & obj
 Object to serialize.
 
size_t sub_id
 Element id.
 
Pack_statsts
 serialization status
 

Constructor & Destructor Documentation

◆ call_pack_enc_functor_chunking()

template<typename encap , typename Mem >
call_pack_enc_functor_chunking< encap, Mem >::call_pack_enc_functor_chunking ( ExtPreAlloc< Mem > &  mem,
const encap &  obj,
size_t  sub_id,
Pack_stat sts 
)
inline

Definition at line 148 of file Packer_util.hpp.

Member Function Documentation

◆ operator()()

template<typename encap , typename Mem >
template<typename T >
void call_pack_enc_functor_chunking< encap, Mem >::operator() ( T &  t)
inline

It calls the packer for each property.

Definition at line 155 of file Packer_util.hpp.

Field Documentation

◆ mem

template<typename encap , typename Mem >
ExtPreAlloc<Mem>& call_pack_enc_functor_chunking< encap, Mem >::mem

Memory that pack/serialize the object.

Definition at line 137 of file Packer_util.hpp.

◆ obj

template<typename encap , typename Mem >
const encap& call_pack_enc_functor_chunking< encap, Mem >::obj

Object to serialize.

Definition at line 140 of file Packer_util.hpp.

◆ sts

template<typename encap , typename Mem >
Pack_stat& call_pack_enc_functor_chunking< encap, Mem >::sts

serialization status

Definition at line 146 of file Packer_util.hpp.

◆ sub_id

template<typename encap , typename Mem >
size_t call_pack_enc_functor_chunking< encap, Mem >::sub_id

Element id.

Definition at line 143 of file Packer_util.hpp.


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