JVCL Help:IJvAppStoragePublishedProps

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

IJvAppStoragePublishedProps
run\JvAppStorage.pas


Summary

If a class implements this interface all published properties of the class will be handled by JvAppStorages.Read/WritePersistent

run\JvAppStorage.pas


Pascal

 run\JvAppStorage.pas
 IJvAppStoragePublishedProps = interface;


Description

If a class implements this interface all published properties of the class will be handled by JvAppStorages.Read/WritePersistent. This is useful in combination with IJvAppStorageHandler
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