Packer for primitives. More...
Packer for primitives.
T | object type to pack |
Mem | Memory origin HeapMemory CudaMemory ... |
Definition at line 75 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 any C++ primitives. More... | |
static void | packRequest (std::vector< size_t > &req) |
It add a request to pack a C++ primitive. More... | |
|
inlinestatic |
It pack any C++ primitives.
ext | preallocated memory where to pack the object |
obj | object to pack |
sts | pack-stat info |
Definition at line 86 of file Packer.hpp.
|
inlinestatic |
It add a request to pack a C++ primitive.
req | requests vector |
Definition at line 100 of file Packer.hpp.