Available also on: Delphi | .NET | Java | ActiveX.
Creates a configuration wrapper for a layer or project file.
# Python def __init__( self, _layer: TObject, _path: str ) -> None:
| Name | Type | Description |
|---|---|---|
| _layer | TObject | Layer object associated with the configuration. |
| _path | str | Full path to the configuration file. It can be empty, in which case only layer-dependent files are used. |
PURPOSE: Initializes configuration state for subsequent section selection, typed parameter access, and project or layer serialization.
BEHAVIOR: Stores the associated layer context and config path, and prepares the instance for descendant-specific loading and saving behavior.
CONSTRAINTS: This constructor belongs to an abstract base class and is used through descendant classes created for a concrete config format.