OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
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 132 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. More...
 

Member Function Documentation

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 142 of file Unpacker.hpp.


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