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

Packer for objects, with impossibility to check for internal pointers. More...

Detailed Description

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

Packer for objects, with impossibility to check for internal pointers.

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

Definition at line 246 of file Packer.hpp.

#include <Packer.hpp>

Static Public Member Functions

static void pack (ExtPreAlloc< Mem > &ext, const T &obj, Pack_stat &sts)
 It pack an object.
 
static void packRequest (const T &obj, size_t &req)
 it add a request to pack an object
 
static void packRequest (size_t &req)
 it add a request to pack an object
 

Member Function Documentation

◆ pack()

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

It pack an object.

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

Definition at line 257 of file Packer.hpp.

◆ packRequest() [1/2]

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

it add a request to pack an object

Parameters
reqrequests vector

Definition at line 278 of file Packer.hpp.

◆ packRequest() [2/2]

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

it add a request to pack an object

Parameters
reqrequests vector

Definition at line 288 of file Packer.hpp.


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