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

Unpacker for grids. More...

Detailed Description

template<typename T, typename Mem>
class Unpacker< T, Mem, PACKER_GRID >

Unpacker for grids.

Template Parameters
Tobject type to unpack
MemMemory origin HeapMemory CudaMemory ...

Definition at line 254 of file Unpacker.hpp.

#include <Unpacker.hpp>

Static Public Member Functions

template<unsigned int ... prp>
static void unpack (ExtPreAlloc< Mem > &mem, T &obj, Unpack_stat &ps)
 
template<typename grid_sub_it_type , typename context_type , unsigned int ... prp>
static void unpack (ExtPreAlloc< Mem > &mem, grid_sub_it_type &sub_it, T &obj, Unpack_stat &ps, context_type &context, rem_copy_opt opt)
 
template<typename grid_sub_it_type , typename header_type , typename context_type , unsigned int ... prp>
static void unpack_with_header (ExtPreAlloc< Mem > &mem, grid_sub_it_type &sub_it, T &obj, header_type &header, int ih, Unpack_stat &ps, context_type &context, rem_copy_opt opt)
 

Member Function Documentation

◆ unpack() [1/2]

template<typename T , typename Mem >
template<typename grid_sub_it_type , typename context_type , unsigned int ... prp>
static void Unpacker< T, Mem, PACKER_GRID >::unpack ( ExtPreAlloc< Mem > &  mem,
grid_sub_it_type &  sub_it,
T &  obj,
Unpack_stat ps,
context_type &  context,
rem_copy_opt  opt 
)
inlinestatic

Definition at line 265 of file Unpacker.hpp.

◆ unpack() [2/2]

template<typename T , typename Mem >
template<unsigned int ... prp>
static void Unpacker< T, Mem, PACKER_GRID >::unpack ( ExtPreAlloc< Mem > &  mem,
T &  obj,
Unpack_stat ps 
)
inlinestatic

Definition at line 258 of file Unpacker.hpp.

◆ unpack_with_header()

template<typename T , typename Mem >
template<typename grid_sub_it_type , typename header_type , typename context_type , unsigned int ... prp>
static void Unpacker< T, Mem, PACKER_GRID >::unpack_with_header ( ExtPreAlloc< Mem > &  mem,
grid_sub_it_type &  sub_it,
T &  obj,
header_type &  header,
int  ih,
Unpack_stat ps,
context_type &  context,
rem_copy_opt  opt 
)
inlinestatic

Definition at line 273 of file Unpacker.hpp.


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