Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kAddVersionEx (   TYPE,
  FORMAT,
  FORMAT_VER,
  GUID,
  WRITE_METHOD,
  READ_METHOD 
)

Within a type definition, indicates that a type has the specified serialization version.

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.

Parameters
TYPEType symbol (e.g. kArrayList).
FORMATSerialization format name string (e.g. "kdat6").
FORMAT_VERSerialization format version string (e.g. "5.7.1.0").
GUIDType identifier string within serialization format (e.g. "kArrayList-0").
WRITE_METHODSerialization write method (e.g. WriteDat6V0).
READ_METHODSerialization read method (e.g. ReadDat6V0).
See also
Extending Zen, kSerializer