1 #ifndef SERIALIZE_SERIALIZABLE_H 2 #define SERIALIZE_SERIALIZABLE_H 25 t =
dynamic_cast<T*
>(s);
54 T* tmp =
const_cast<T*
>(o.
get());
63 #endif // SERIALIZE_SERIALIZABLE_H
void operator()(sprockit::refcount_ptr< T > &o, serializer &ser)
void operator()(sprockit::refcount_ptr< const T > &o, serializer &ser)
void size_serializable(serializable *s, serializer &ser)
SERIALIZE_MODE mode() const
This class is basically a wrapper for objects to declare the order in which their members should be s...
void operator()(const sprockit::refcount_ptr< T > &o, serializer &ser)
void pack_serializable(serializable *s, serializer &ser)
void unpack_serializable(serializable *&s, serializer &ser)
void serialize_intrusive_ptr(T *&t, serializer &ser)