JVCL Help:IJvAppStorageHandler

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

IJvAppStorageHandler
run\JvAppStorage.pas


Summary

If a class implements this interface JvAppStorage.Read/WritePersistent uses the interface methods to store object properties

run\JvAppStorage.pas


Pascal

 run\JvAppStorage.pas
 IJvAppStorageHandler = interface;


Description

If a class implements this interface JvAppStorage.Read/WritePersistent uses the interface methods to store object properties.
If a class doesn't implement the IJvAppStorageHandler interface or if it also implements the IJvAppStoragePublishedProps interface, all published properties are written (as it currently does) and if the first is implemented it will call those methods (either in addition to the published properties or exclusively):
// only published properties
TPubOnly1 = class(TPersistent)

// only published properties
TPubOnly2 = class(TInterfacedPersistent, IJvAppStoragePublishedProps)

// only the IJvAppStorageHandler methods are used; does not have to be a TPersistent descendant
// or have RTTI
TIntfOnly = class(TInterfacedObject, IJvAppStorageHandler)

// the IJvAppStorageHandler methods are used in addition to the published properties
TIntfAndPub = class(TInterfacedPersistent, IJVAppStorageHandler, IJvAppStoragePublishedProps)

run\JvAppStorage.pas


See Also

TJvCustomAppStorage.ReadPersistent,TJvCustomAppStorage.WritePersistent

run\JvAppStorage.pas


About

Navigation

run\JvAppStorage.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page