Remote Call Framework 3.4
SerializeParent.hpp File Reference
#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)
 

Function Documentation

◆ serializeParent()

template<typename Base , typename 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.