List of all members.
In dynamic type serialization, an object can be stored and restored via a pointer to a base class. That is, if one has class B that is inherited from class A, dynamic type serialization allows one to write the contents of B via a pointer to A. In order to be dynamically serializable, a class or a parent class of a class must implement this interface.
|A virtual destructor is needed to make sure all subclasses have a vtable. |
A virtual destructor is needed to make sure all subclasses have a vtable.
Otherwise the rtti system does not work correctly.