Sign in Join
FPDoc Onlineexperiment

TStoredValue class

In unit PropertyStorage

A key/value pair representing a property value, with added Save/Restore features.

Declaration

pascal
TStoredValue = class(TCollectionItem)

Inheritance

  1. TStoredValue
  2. TCollectionItem
  3. TPersistent
  4. TObject

Description

Nothing more than the line above yet.

Properties

StoredValuespublicThe collection containing the collection item.
NamepublishedThe name for the collection item.
ValuepublishedThe value of the property (as a String or a Variant type).
KeyStringpublishedXOR encoding key, empty for encoding is not used.

Methods

GetDisplayNameprotectedGets the value for the DisplayName property in the collection item.
SetDisplayNameprotectedSets the value for the DisplayName property in the collection item.
CreatepublicConstructor for the class instance.
AssignpublicCopies property values from the specified persistent object into the current class instance.
ClearpublicClears the content in the Value property.
SavepublicSaves the value for the collection item to the storage container for the collection.
RestorepublicLoads the value for the collection item from the storage container for the collection.

Events

OnSavepublishedEvent handler signalled when the collection item value is saved.
OnRestorepublishedEvent 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.