LazConfigStorage unit
Defines various base classes for loading and saving configuration files.
lazconfigstorage.pas is part of the
LazUtils package.
Author: Mattias Gaertner
Classes and records
TConfigMemStorage | class | Implement a configuration storage class using in-memory storage for values in the class instance. |
TConfigMemStorageNode | class | Implements a storage node used in a memory-based configuration storage. |
TConfigStorage | class | Defines the base class for a configuration storage mechanism. |
Procedures and functions
CfgStrToDate | function | Converts a string with a date/time value using the specified format to the TDateTime output value. |
CompareConfigMemStorageNames | function | Compares the specified PChar values to determine the relative order for the memory node paths. |
CompareConfigMemStorageNodes | function | Compares the names for the specified memory-based storage nodes to determine their relative order. |
ComparePCharWithConfigMemStorageNode | function | Compares the specified string to the name for a the specified memory-based storage nodes to determine their relative order. |
DateToCfgStr | function | Returns a string representation for TDateTime value using the specified format. |
LoadStringToStringTree | procedure | Loads names and values at the specified path in a configuration storage instance to the specified Tree. |
SaveStringToStringTree | procedure | Not used in the current LCL version. |
Types
TConfigMemStorageModification | enumeration | Represents modification operations for configuration storage nodes. |
TConfigStorageClass | type | Class reference used to create new instances of TConfigStorage. |
Constants
ConfigMemStorageFormatVersion | constant | Current version for the storage format used in configuration storage classes. |
DateAsCfgStrFormat | constant | Default locale-independent format used for date values in DateToCfgStr. |
DateTimeAsCfgStrFormat | constant | Default locale-independent format used for date/time values. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
