Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kAddPrivateVersion | ( |  | 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".

Parameters

  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).

See also
  Extending Zen, kSerializer