Packer for primitives.
More...
template<typename T, typename Mem>
class Packer< T, Mem, PACKER_PRIMITIVE >
Packer for primitives.
- Template Parameters
-
Definition at line 82 of file Packer.hpp.
#include <Packer.hpp>
|
static void | pack (ExtPreAlloc< Mem > &ext, const T &obj, Pack_stat &sts) |
| It pack any C++ primitives.
|
|
static void | packRequest (const T &obj, size_t &req) |
| It add a request to pack a C++ primitive.
|
|
static void | packRequest (size_t &req) |
| It add a request to pack a C++ primitive.
|
|
◆ pack()
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 93 of file Packer.hpp.
◆ packRequest() [1/2]
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 107 of file Packer.hpp.
◆ packRequest() [2/2]
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 117 of file Packer.hpp.
The documentation for this class was generated from the following file: