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

Unpacker class for objects. More...

Detailed Description

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

Unpacker class for objects.

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

Definition at line 204 of file Unpacker.hpp.

#include <Unpacker.hpp>

Static Public Member Functions

static void unpack (ExtPreAlloc< Mem > &ext, T &obj, Unpack_stat &ps)
 It unpack any object checking that the object does not have pointers inside.
 

Member Function Documentation

◆ unpack()

template<typename T , typename Mem >
static void Unpacker< T, Mem, PACKER_OBJECTS_WITH_POINTER_CHECK >::unpack ( ExtPreAlloc< Mem > &  ext,
T &  obj,
Unpack_stat ps 
)
inlinestatic

It unpack any object checking that the object does not have pointers inside.

Parameters
extpreallocated memory from where to unpack the object
objobject where to unpack

Definition at line 214 of file Unpacker.hpp.


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