Sign in Join
FPDoc Onlineexperiment

TConfigMemStorage class

In unit LazConfigStorage

Implement a configuration storage class using in-memory storage for values in the class instance.

Declaration

pascal
TConfigMemStorage = class(TConfigStorage)

Inheritance

  1. TConfigMemStorage
  2. TConfigStorage

Description

Nothing more than the line above yet.

Methods

DeleteFullPathprotectedImplements the method used to remove the node at the specified path from the configuration storage.
DeleteFullPathValueprotectedDeletes the node with the specified full path name from the configuration storage.
GetFullPathValueprotectedGets the value from the specified node path with an optional default value when not found.
SetDeleteFullPathValueprotectedImplements the method used to delete the specified node path or to reset it to a default value.
SetFullPathValueprotectedImplements the method used to resolve the specified node path prior to storing the specified value.
GetFilenamepublicRe-implements the method used to get the file name where the configuration items are stored. Not used in TConfigMemStorage.
WriteToDiskpublicRe-implements the method used to store the configuration items to disk.
DestroypublicDestructor for the class instance.
ClearpublicClears the storage nodes in the memory-based configuration storage.
SaveToConfigpublicSave the storage nodes to the specified path in another configuration storage class instance.
LoadFromConfigpublicLoads storage nodes from the specified path in another configuration storage class instance.
WriteDebugReportpublicGenerates the content in the Root node in a format suitable for debugger output.

Fields

RootpublicTConfigMemStorageNode instance with the root node for the configuration storage.

Inherited

From TConfigStorage (14)

AppendBasePath Create CurrentBasePath DeletePath DeleteValue ExtendPath GetValue ReadObject ReadProperty SetDeleteValue SetValue UndoAppendBasePath WriteObject WriteProperty

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.