Packer for primitives.
More...
template<typename T, typename Mem>
class Packer< T, Mem, PACKER_PRIMITIVE >
Packer for primitives.
- Template Parameters
-
T | object type to pack |
Mem | Memory origin HeapMemory CudaMemory ... |
Definition at line 73 of file Packer.hpp.
#include <Packer.hpp>
template<typename T , typename Mem >
It pack any C++ primitives.
- Parameters
-
ext | preallocated memory where to pack the object |
obj | object to pack |
sts | pack-stat info |
Definition at line 84 of file Packer.hpp.
template<typename T , typename Mem >
static void Packer< T, Mem, PACKER_PRIMITIVE >::packRequest |
( |
const T & |
obj, |
|
|
size_t & |
req |
|
) |
| |
|
inlinestatic |
It add a request to pack a C++ primitive.
- Parameters
-
Definition at line 98 of file Packer.hpp.
template<typename T , typename Mem >
static void Packer< T, Mem, PACKER_PRIMITIVE >::packRequest |
( |
size_t & |
req | ) |
|
|
inlinestatic |
It add a request to pack a C++ primitive.
- Parameters
-
Definition at line 108 of file Packer.hpp.
The documentation for this class was generated from the following file: