#include <Serializer.h>
Public Member Functions | |
SerializeAs (Type &t) | |
template<class S> | |
void | serialize (S &s) |
template<class S> | |
void | encode (S &s) const |
template<class S> | |
void | decode (S &s) |
Public Attributes | |
Type & | value |
To serialize type Foo by converting to/from type Bar create a serializable() overload like this:
SerializeAs<Foo,Bar> serializable(Foo& t) { return SerializeAs<Foo,Bar>(t); }