Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kAddAbstractVersion | ( |  | TYPE,
|  |  | FORMAT,
|  |  | FORMAT_VER,
|  |  | GUID
| ) |  |

Within a type definition, indicates that type information can be serialized, but instances cannot.

This approach is intended to support abstract base classes, in cases where descendents must support serialization. This enables collections (containers) in which the collection element type is defined as the type of an abstract base to be correctly serialized.

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

See also
  Extending Zen, kSerializer