47 #ifndef SERIALIZATIONPACK_SERIALIZABLE_HPP
48 #define SERIALIZATIONPACK_SERIALIZABLE_HPP
50 #include "Moocho_ConfigDefs.hpp"
52 namespace SerializationPack {
68 virtual void serialize( std::ostream &out )
const = 0;
80 #endif // SERIALIZATIONPACK_SERIALIZABLE_HPP
Mixin interface for objects that can be serialized to and from a stream.
virtual void unserialize(std::istream &in)=0
Un-serialize the object from a stream.
virtual void serialize(std::ostream &out) const =0
Serialize the object to a stream.