TPropsStorage
Property storage mechanism.
Declaration
Source position: rttiutils.pp line 75
Description
TPropsStorage provides a mechanism to store properties from any class which has published properties (usually a TPersistent descendent) in a storage mechanism.
TPropsStorage does not handle the storage by itself, instead, the storage is handled through a series of callbacks to read and/or write strings. Conversion of property types to string is handled by TPropsStorage itself: all that needs to be done is set the 3 handlers. The storage mechanism is assumed to have the structure of an .ini file : sections with key/value pairs. The three callbacks should take this into account, but they do not need to create an actual .ini file.
Properties
| Member |
Visibility |
Description |
| AObject |
public |
Object to load or store properties from. |
| Options |
public |
Options to take into account when saving or loading properties from the storage. |
| Prefix |
public |
Prefix to use in storage. |
| Section |
public |
Section name for storage. |
See all PropertiesSee also
| Name |
Description |
| TPropInfoList |
Class for keeping property information. |