S3FC project page S3FC home page

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

s3_streamable_helper_streamable Struct Template Reference

Note: Never call any function in this class directly - these should only be called from s3_streamable_dispatcher<T, s3_typegroup_streamable>. More...

#include <s3_streamable.h>

List of all members.

Static Public Methods

void pack (const T &t, s3_pack_buffer &b)
 Pack t into b. More...

void unpack (T &t, const s3_pack_buffer &b)
 Pack a T from b into t. More...


Detailed Description

template<typename T>
struct s3_streamable_helper_streamable< T >

Note: Never call any function in this class directly - these should only be called from s3_streamable_dispatcher<T, s3_typegroup_streamable>.

Helper class handling packing of types derived from s3_streamable.

Definition at line 310 of file s3_streamable.h.


Member Function Documentation

template<typename T>
void s3_streamable_helper_streamable< T >::pack const T &    t,
s3_pack_buffer   b
[static]
 

Pack t into b.

Forward to t.pack(b)

Parameters:
t  Instance of T to pack.
b  s3_packed_data instance to pack t into.

Definition at line 97 of file s3_streamable.tcc.

Referenced by s3_streamable_dispatcher::pack.

template<typename T>
void s3_streamable_helper_streamable< T >::unpack T &    t,
const s3_pack_buffer   b
[static]
 

Pack a T from b into t.

Forward to t.unpack(b)

Parameters:
t  Instance of T into which to unpack.
b  s3_packed_data containing T at the current position.

Definition at line 110 of file s3_streamable.tcc.

Referenced by s3_streamable_dispatcher::unpack.


The documentation for this struct was generated from the following files:
Send comments to: s3fc@stonethree.com SourceForge Logo