|
cereal
A C++11 library for serialization
|
Creates a binding (map entry) between an output archive type and a polymorphic type. More...
#include <cereal/details/polymorphic_impl.hpp>
Public Member Functions | |
| OutputBindingCreator () | |
| Initialize the binding. | |
Static Public Member Functions | |
| static void | writeMetadata (Archive &ar) |
| Writes appropriate metadata to the archive for this polymorphic type. | |
Creates a binding (map entry) between an output archive type and a polymorphic type.
Bindings are made when types are registered, assuming that at least one archive has already been registered. When this struct is created, it will insert (at run time) an entry into a map that properly handles casting for serializing polymorphic objects
1.8.3.1