Sign in Join
FPDoc Onlineexperiment

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

TConfigMemStorageclassImplement a configuration storage class using in-memory storage for values in the class instance.
TConfigMemStorageNodeclassImplements a storage node used in a memory-based configuration storage.
TConfigStorageclassDefines the base class for a configuration storage mechanism.

Procedures and functions

CfgStrToDatefunctionConverts a string with a date/time value using the specified format to the TDateTime output value.
CompareConfigMemStorageNamesfunctionCompares the specified PChar values to determine the relative order for the memory node paths.
CompareConfigMemStorageNodesfunctionCompares the names for the specified memory-based storage nodes to determine their relative order.
ComparePCharWithConfigMemStorageNodefunctionCompares the specified string to the name for a the specified memory-based storage nodes to determine their relative order.
DateToCfgStrfunctionReturns a string representation for TDateTime value using the specified format.
LoadStringToStringTreeprocedureLoads names and values at the specified path in a configuration storage instance to the specified Tree.
SaveStringToStringTreeprocedureNot used in the current LCL version.

Types

TConfigMemStorageModificationenumerationRepresents modification operations for configuration storage nodes.
TConfigStorageClasstypeClass reference used to create new instances of TConfigStorage.

Constants

ConfigMemStorageFormatVersionconstantCurrent version for the storage format used in configuration storage classes.
DateAsCfgStrFormatconstantDefault locale-independent format used for date values in DateToCfgStr.
DateTimeAsCfgStrFormatconstantDefault locale-independent format used for date/time values.

Uses

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