Cheetah Serialization
API Reference

The serialization interface is all in the Cheetah namespace, and all of the functions are static members of:

template<class Tag, class T> class Serialize;

The first template parameter is a policy template parameter. Specializing Serialize for different tag classes defines serialization strategies.

The second template parameter is the class we're defining a serializer for.

One specialization is defined by default, using the tag class Cheetah and an arbitrary class T. Four functions are defined:

These definitions will work for objects with a bitwise copy constructor. For objects with a nontrivial copy constructor appropriate specializations must be made.

Whole different serialization strategies can be defined by defining a new tag class and new serializers for any classes that will be used in that strategy.