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

Detailed Description

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

Definition at line 85 of file Packer_util.hpp.

Public Member Functions

 call_pack_enc_functor (ExtPreAlloc< Mem > &mem, const encap &obj, 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.
 
Pack_statsts
 serialization status
 

Constructor & Destructor Documentation

◆ call_pack_enc_functor()

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

Definition at line 96 of file Packer_util.hpp.

Member Function Documentation

◆ operator()()

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

It calls the packer for each property.

Definition at line 103 of file Packer_util.hpp.

Field Documentation

◆ mem

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

Memory that pack/serialize the object.

Definition at line 88 of file Packer_util.hpp.

◆ obj

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

Object to serialize.

Definition at line 91 of file Packer_util.hpp.

◆ sts

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

serialization status

Definition at line 94 of file Packer_util.hpp.


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