Home Units Hierarchy Routines All identifiers

Class unaIniFile

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaIniFile = class(unaIniAbstractStorage)

Description

Manages values stored in Windows INI files.

Hierarchy

Overview

Methods

Public constructor create(const fileName: wString = ''; const section: string = 'settings'; lockTimeout: tTimeout = 1000; checkFilePath: bool = true);
Protected function doGetSectionAsText(const sectionName: string): string; override;
Protected function doSetSectionAsText(const sectionName, value: string): bool; override;
Protected function getAsString(): string; override;
Protected function getStringValue(const key: string; const defValue: string = ''): string; override;
Public procedure AfterConstruction(); override;
Protected procedure setAsString(const value: string); override;
Protected procedure setStringValue(const key: string; const value: string); override;

Properties

Public property fileName: wString read f_fileName write setFileName;

Description

Methods

Public constructor create(const fileName: wString = ''; const section: string = 'settings'; lockTimeout: tTimeout = 1000; checkFilePath: bool = true);
 
Protected function doGetSectionAsText(const sectionName: string): string; override;
 
Protected function doSetSectionAsText(const sectionName, value: string): bool; override;
 
Protected function getAsString(): string; override;
 
Protected function getStringValue(const key: string; const defValue: string = ''): string; override;
 
Public procedure AfterConstruction(); override;
 
Protected procedure setAsString(const value: string); override;
 
Protected procedure setStringValue(const key: string; const value: string); override;
 

Properties

Public property fileName: wString read f_fileName write setFileName;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09