[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Defines the method used to delete the specified node path or to reset it to a default value.
Source position: lazconfigstorage.pas line 37
protected procedure TConfigStorage.SetDeleteFullPathValue( |
const APath: string; |
const AValue: string; |
const DefValue: string |
); virtual; abstract; |
const APath: string; |
AValue: Integer; |
DefValue: Integer |
); virtual; abstract; |
const APath: string; |
AValue: Boolean; |
DefValue: Boolean |
); virtual; abstract; |
APath |
|
Path to the node updated or removed in the method. |
AValue |
|
Value for the node to update or remove in the method. Causes the node to be deleted when its value matches DefValue. |
DefValue |
|
Default value stored in the node when AValue does not match DefValue. |
APath |
|
Path to the node updated or removed in the method. |
AValue |
|
Value for the node to update or remove in the method. Causes the node to be deleted when its value matches DefValue. |
DefValue |
|
Default value stored in the node when AValue does not match DefValue. |
APath |
|
Path to the node updated or removed in the method. |
AValue |
|
Value for the node to update or remove in the method. Causes the node to be deleted when its value matches DefValue. |
DefValue |
|
Default value stored in the node when AValue does not match DefValue. |
SetDeleteFullPathValue is an overloaded abstract virtual method in TConfigStorage. It must be overridden and implemented in a descendent class to use the node notation required for the underlying storage mechanism.
Overloaded variants of the method allow the AValue and DefValue arguments to be passed as either String, Integer, or Boolean types. Both arguments must use the same type. The arguments determine whether the node is removed or updated with a default value in the storage mechanism. When both arguments have the same value, the node at APath is deleted from the storage. Otherwise, the value in DefValue is stored for the specified node.
SetDeleteFullPathValue is called from the SetDeleteValue method after ExtendPath has been called to include the CurrentBasePath value at the start of the node path in APath.
|
Updates the value for the specified node path, or deletes it when it contains a default value. |
|
|
Resolves a relative node path to the current base path for the storage mechanism. |
|
|
Contains the base node path where values are read or written in the storage mechanism. |
|
|
Implements the method used to delete the specified node path or to reset it to a default value. |
|
Version 4.0 | Generated 2025-05-03 | Home |