RttiUtils unit
RTTI utility functions.
The rttiutils unit is a unit providing simplified access to the
RTTI information from published properties using the TPropInfoList
class. This access can be used when saving or restoring form properties at runtime,
or for persisting other objects whose RTTI is available: the TPropsStorage class can be used for this. The implementation
is based on the apputils unit from RXLib by AO
ROSNO and Master-Bank
Classes and records
TPropInfoList | class | Class for keeping property information. |
TPropsStorage | class | Property storage mechanism. |
Procedures and functions
CreateStoredItem | function | Concatenates component and property name. |
ParseStoredItem | function | Split a property reference to component reference and property name. |
UpdateStoredList | procedure | Update a stringlist with object references. |
Types
TEraseSectEvent | procedure type | Clear a storage section. |
TFindComponentEvent | procedure type | Event callback to locate a component instance. |
TPropStorageOption | enumeration | Type to enumerate several options for propstorage. |
TPropStorageOptions | set | Set of TPropStorageOption. |
TReadStrEvent | procedure type | Callback to read strings from storage. |
TWriteStrEvent | procedure type | Write a string to storage. |
Constants
sPropNameDelimiter | constant | Separator used when constructing section/key names. |
Variables
FindGlobalComponentCallBack | variable | Callback used when component references must be resolved. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
