Zen API
|
#define kAddPrivateVersionEx | ( | TYPE, | |
FORMAT, | |||
FORMAT_VER, | |||
GUID, | |||
WRITE_METHOD, | |||
READ_METHOD | |||
) |
Within a type definition, indicates that a type has the specified serialization version.
Assumes that serialization method names will be prefixed with an "x".
This macro should only be used with type versions that implement modern deserialization methods. Refer to kType_VersionDeserializeFx for more information on the differences between legacy and modern deserialization methods.
Note, the addition of a serialization version requires the addition of a framework constructor. Refer to kAddFrameworkConstructor.
TYPE | Type symbol (e.g. kArrayList). |
FORMAT | Serialization format name string (e.g. "kdat6"). |
FORMAT_VER | Serialization format version string (e.g. "5.7.1.0"). |
GUID | Type identifier string within serialization format (e.g. "kArrayList-0"). |
WRITE_METHOD | Serialization write method (e.g. WriteDat6V0). |
READ_METHOD | Serialization read method (e.g. ReadDat6V0). |