OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Packer< T, Mem, PACKER_ARRAY_CP_PRIMITIVE > Class Template Reference

Detailed Description

template<typename T, typename Mem>
class Packer< T, Mem, PACKER_ARRAY_CP_PRIMITIVE >

Definition at line 169 of file Packer.hpp.

Static Public Member Functions

static void pack (ExtPreAlloc< Mem > &ext, const T &obj, Pack_stat &sts)
 It packs arrays of C++ primitives.
 
template<typename tp , long unsigned int dim, typename vmpl >
static void pack (ExtPreAlloc< Mem > &ext, const openfpm::detail::multi_array::sub_array_openfpm< tp, dim, vmpl > &obj, Pack_stat &sts)
 It packs arrays of C++ primitives.
 
static void packRequest (T &obj, size_t &req)
 It add a request to pack a C++ primitive.
 
template<typename tp , long unsigned int dim, typename vmpl >
static void packRequest (const openfpm::detail::multi_array::sub_array_openfpm< tp, dim, vmpl > &obj, size_t &req)
 It add a request to pack a C++ primitive.
 

Member Function Documentation

◆ pack() [1/2]

template<typename T , typename Mem >
template<typename tp , long unsigned int dim, typename vmpl >
static void Packer< T, Mem, PACKER_ARRAY_CP_PRIMITIVE >::pack ( ExtPreAlloc< Mem > &  ext,
const openfpm::detail::multi_array::sub_array_openfpm< tp, dim, vmpl > &  obj,
Pack_stat sts 
)
inlinestatic

It packs arrays of C++ primitives.

Parameters
extpreallocated memory where to pack the object
objobject to pack
stspack-stat info

Definition at line 201 of file Packer.hpp.

◆ pack() [2/2]

template<typename T , typename Mem >
static void Packer< T, Mem, PACKER_ARRAY_CP_PRIMITIVE >::pack ( ExtPreAlloc< Mem > &  ext,
const T &  obj,
Pack_stat sts 
)
inlinestatic

It packs arrays of C++ primitives.

Parameters
extpreallocated memory where to pack the object
objobject to pack
stspack-stat info

Definition at line 180 of file Packer.hpp.

◆ packRequest() [1/2]

template<typename T , typename Mem >
template<typename tp , long unsigned int dim, typename vmpl >
static void Packer< T, Mem, PACKER_ARRAY_CP_PRIMITIVE >::packRequest ( const openfpm::detail::multi_array::sub_array_openfpm< tp, dim, vmpl > &  obj,
size_t &  req 
)
inlinestatic

It add a request to pack a C++ primitive.

Parameters
reqrequests vector

Definition at line 232 of file Packer.hpp.

◆ packRequest() [2/2]

template<typename T , typename Mem >
static void Packer< T, Mem, PACKER_ARRAY_CP_PRIMITIVE >::packRequest ( T &  obj,
size_t &  req 
)
inlinestatic

It add a request to pack a C++ primitive.

Parameters
reqrequests vector

Definition at line 221 of file Packer.hpp.


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