openMSX
|
Define mapping between constructor arg list of base- and subclass. More...
#include <serialize_meta.hh>
Define mapping between constructor arg list of base- and subclass.
When loading a polymorphic base class, the user must provide the union of constructor arguments for all subclasses (because it's not yet known which concrete subtype will be deserialized). This class defines the mapping between this union of parameters and the subset used for a specific subclass.
In case the parameter list of the subclass is empty or if it is the same as the base class, this mapping will be defined automatically. In the other cases, the user must define a specialization of this class.
Definition at line 98 of file serialize_meta.hh.