TStoredValue class
A key/value pair representing a property value, with added Save/Restore features.
Declaration
TStoredValue = class(TCollectionItem)Inheritance
- TStoredValue
- TCollectionItem
- TPersistent
- TObject
Description
Nothing more than the line above yet.
Properties
StoredValues | public | The collection containing the collection item. |
Name | published | The name for the collection item. |
Value | published | The value of the property (as a String or a Variant type). |
KeyString | published | XOR encoding key, empty for encoding is not used. |
Methods
GetDisplayName | protected | Gets the value for the DisplayName property in the collection item. |
SetDisplayName | protected | Sets the value for the DisplayName property in the collection item. |
Create | public | Constructor for the class instance. |
Assign | public | Copies property values from the specified persistent object into the current class instance. |
Clear | public | Clears the content in the Value property. |
Save | public | Saves the value for the collection item to the storage container for the collection. |
Restore | public | Loads the value for the collection item from the storage container for the collection. |
Events
OnSave | published | Event handler signalled when the collection item value is saved. |
OnRestore | published | Event handler signalled when the collection item value is restored. |
Inherited
From TCollectionItem (10)
Changed Collection Destroy DisplayName GetNamePath GetOwner ID Index SetCollection SetIndex
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
