1 #ifndef AWFUL_SERIALIZABLE_H_
2 #define AWFUL_SERIALIZABLE_H_
4 #include "refcounted.h"
8 struct Serialization_tag
{};
10 class Serializable
: public RefCounted
15 // This is a special constructor called when instanciating an object frmo a stream.
16 // The parameter does nothing.
17 Serializable( const Serialization_tag
& ) {}
19 // This is called when the serialization process is complete. At that point, all relevant Pointers
20 // to other objects have been set.
21 virtual void postLoad() {}