#include <SF/Archive.hpp>
#include <SF/SerializePolymorphic.hpp>
Go to the source code of this file.
Functions | |
template<typename Base , typename Derived > | |
void | SF::serializeParent (Archive &ar, Derived &derived) |
void SF::serializeParent | ( | Archive & | ar, |
Derived & | derived | ||
) |
Serializes a base class of a derived class. Call this from the serialization function of the derived class, to invoke serialization code for the base class.