Foundation > Graphic Objects > Loading and saving Graphic Objects > Persistence basics
 
Persistence basics
All IlvGraphic classes in Rogue Wave Views implement everything needed to create or save instances using ilv data files. Rogue Wave 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().

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.