Packer for primitives. More...
Packer for primitives.
T | object type to pack |
Mem | Memory origin HeapMemory CudaMemory ... |
Definition at line 132 of file Packer.hpp.
#include <Packer.hpp>
Static Public Member Functions | |
static void | pack (ExtPreAlloc< Mem > &ext, const T &obj, Pack_stat &sts, size_t n) |
It packs arrays of C++ primitives. | |
static void | packRequest (T &obj, size_t &req) |
It add a request to pack a C++ primitive. | |
|
inlinestatic |
It packs arrays of C++ primitives.
ext | preallocated memory where to pack the object |
obj | object to pack |
sts | pack-stat info |
Definition at line 143 of file Packer.hpp.
|
inlinestatic |
It add a request to pack a C++ primitive.
req | requests vector |
Definition at line 161 of file Packer.hpp.