Persistence basics
All
IlvGraphic classes in Views implement everything needed to create or save instances using
ilv data files. Views’ extensible proprietary file format allows you to read and save information for your own graphic classes.
IlvGraphic subclasses provide a constructor that initializes a new instance from an
IlvInputFile that deserializes the object (that is, initializes a new graphic object instance from a data file) and a
write method to serialize it (that is, writes the information that defines a graphic object instance to a data file). This mechanism allows persistence implementation to concentrate on only the subclass specifics.
For more information, read the documentation of the macros IlvPredefinedIOMembers(), DeclareIOConstructors(), and DeclareTypeInfo().
Published date: 05/24/2022
Last modified date: 02/24/2022