S3FC project page | S3FC home page |
s3_streamable_dispatcher<T
, s3_typegroup_pod>.
More...
#include <s3_streamable.h>
Static Public Methods | |
void | pack (const T &t, s3_pack_buffer &b) |
Pack the memory footprint of t into b , at the current position. More... | |
void | unpack (T &t, const s3_pack_buffer &b) |
Unpack a new instance of T , from the current position of b . More... | |
void | pack_array (const T *const &t, s3_pack_buffer &b, const size_t &n) |
Pack an array of POD types into b at the current position. More... | |
void | unpack_array (T *&t, const s3_pack_buffer &b, bool inplace) |
Instantiate a new array of POD types T and initialise from @c. More... |
s3_streamable_dispatcher<T
, s3_typegroup_pod>.
Helper class handling packing of the following POD types
s3_streamable
.s3_streamable
that needs to be packed. This is accomplished by extracting all the relevant data in packable form and packing this during the packing. The unpacking is accomplished by extracting the packed data and configuring or constructing an instance from this data.
Definition at line 252 of file s3_streamable.h.
|
Pack the memory footprint of
This does
Definition at line 34 of file s3_streamable.tcc. References s3_pack_buffer::copy_in. Referenced by s3_streamable_dispatcher::pack. |
|
Pack an array of
Definition at line 58 of file s3_streamable.tcc. References s3_pack_buffer::copy_in. Referenced by s3_streamable_dispatcher::pack_array. |
|
Unpack a new instance of
Definition at line 47 of file s3_streamable.tcc. References s3_pack_buffer::copy_out. Referenced by s3_streamable_dispatcher::unpack. |
|
Instantiate a
Set the Note:
Definition at line 75 of file s3_streamable.tcc. References s3_pack_buffer::copy_out. Referenced by s3_streamable_dispatcher::unpack_array. |
Send comments to: s3fc@stonethree.com |
|