Interface IConfiguration

Unit

Declaration

type IConfiguration = interface(IInterface)

Description

Attributes
GUID['{76548E84-3866-4225-BBE5-091CBFD802E2}']

Hierarchy

Overview

Methods

Public function ConfigExists(iCategory: string): boolean;
Public function SectionExists(iCategory, iSection: string): boolean;
Public function ReadString(iCategory: string; iSection, iKey: string; iDefault: string): string;
Public function ReadStringEx(iCategory: string; iSections: array of string; iKey: string; iDefault: string): string;
Public function ReadStringSafe(iCategory: string; iSection, iKey: string; iDefault: string): string;
Public procedure WriteString(iCategory: string; iSection, iKey: string; iValue: string);
Public function ReadInteger(iCategory: string; iSection, iKey: string; iDefault: integer): integer;
Public function ReadIntegerEx(iCategory: string; iSections: array of string; iKey: string; iDefault: integer): integer;
Public procedure WriteInteger(iCategory: string; iSection, iKey: string; iValue: integer);
Public function ReadPassword(iCategory: string; iSection, iKey: string; iDefault: string): string;
Public procedure WritePassword(iCategory: string; iSection, iKey: string; iValue: string);
Public function ReadFloat(iCategory: string; iSection, iKey: string; iDefault: double): double;
Public function ReadFloatEx(iCategory: string; iSections: array of string; iKey: string; iDefault: double): double;
Public procedure WriteFloat(iCategory: string; iSection, iKey: string; iValue: double);
Public function ReadOnOff(iCategory: string; iSection, iKey: string; iDefault: boolean): boolean;
Public function ReadOnOffEx(iCategory: string; iSections: array of string; iKey: string; iDefault: boolean): boolean;
Public procedure WriteOnOff(iCategory: string; iSection, iKey: string; iValue: boolean);
Public function ReadColor(iCategory: string; iSection, iKey: string; iDefault: TColor): TColor;
Public function ReadColorEx(iCategory: string; iSections: array of string; iKey: string; iDefault: TColor): TColor;
Public procedure WriteColor(iCategory: string; iSection, iKey: string; iValue: TColor);
Public procedure ReadFont(iCategory: string; iSection, iFontID: string; iFont: TFont);
Public procedure ReadFontEx(iCategory: string; iSections: array of string; iFontID: string; iFont: TFont);
Public procedure WriteFont(iCategory: string; iSection, iFontID: string; iFont: TFont; iIncludeColor: boolean = true);
Public function ReadSectionValues(iCategory: string; iSection: string): IConfigValues;
Public procedure WriteSectionValues(iCategory: string; iSection: string; iValues: IStrings);
Public procedure AppendSectionValues(iCategory: string; iSection: string; iValues: IStrings);
Public function ReadSectionValuesEx(iCategory: string; iSections: array of string): IConfigValues;
Public function ReadSectionItems(iCategory: string; iSection: string): IStrings;
Public procedure WriteSectionItems(iCategory: string; iSection: string; iValues: IStrings);
Public function GetSections(iCategory: string): IStrings;
Public procedure EraseSection(iCategory: string; iSection: string);
Public procedure EraseCategory(iCategory: string);
Public function ReadMultiSectionValues(iCategory: string; iPrefix: string): IConfigValuesList;
Public procedure WriteMultiSectionValues(iCategory: string; iPrefix: string; iValues: IConfigValuesList);
Public procedure DeleteKey(iCategory: string; iSection: string; iKey: string);
Public procedure Flush;
Public procedure ReleaseFile(iCategory: string);
Public procedure ReleaseAllFiles;

Description

Methods

Public function ConfigExists(iCategory: string): boolean;
 
Public function SectionExists(iCategory, iSection: string): boolean;
 
Public function ReadString(iCategory: string; iSection, iKey: string; iDefault: string): string;
 
Public function ReadStringEx(iCategory: string; iSections: array of string; iKey: string; iDefault: string): string;
 
Public function ReadStringSafe(iCategory: string; iSection, iKey: string; iDefault: string): string;
 
Public procedure WriteString(iCategory: string; iSection, iKey: string; iValue: string);
 
Public function ReadInteger(iCategory: string; iSection, iKey: string; iDefault: integer): integer;
 
Public function ReadIntegerEx(iCategory: string; iSections: array of string; iKey: string; iDefault: integer): integer;
 
Public procedure WriteInteger(iCategory: string; iSection, iKey: string; iValue: integer);
 
Public function ReadPassword(iCategory: string; iSection, iKey: string; iDefault: string): string;
 
Public procedure WritePassword(iCategory: string; iSection, iKey: string; iValue: string);
 
Public function ReadFloat(iCategory: string; iSection, iKey: string; iDefault: double): double;
 
Public function ReadFloatEx(iCategory: string; iSections: array of string; iKey: string; iDefault: double): double;
 
Public procedure WriteFloat(iCategory: string; iSection, iKey: string; iValue: double);
 
Public function ReadOnOff(iCategory: string; iSection, iKey: string; iDefault: boolean): boolean;
 
Public function ReadOnOffEx(iCategory: string; iSections: array of string; iKey: string; iDefault: boolean): boolean;
 
Public procedure WriteOnOff(iCategory: string; iSection, iKey: string; iValue: boolean);
 
Public function ReadColor(iCategory: string; iSection, iKey: string; iDefault: TColor): TColor;
 
Public function ReadColorEx(iCategory: string; iSections: array of string; iKey: string; iDefault: TColor): TColor;
 
Public procedure WriteColor(iCategory: string; iSection, iKey: string; iValue: TColor);
 
Public procedure ReadFont(iCategory: string; iSection, iFontID: string; iFont: TFont);
 
Public procedure ReadFontEx(iCategory: string; iSections: array of string; iFontID: string; iFont: TFont);
 
Public procedure WriteFont(iCategory: string; iSection, iFontID: string; iFont: TFont; iIncludeColor: boolean = true);
 
Public function ReadSectionValues(iCategory: string; iSection: string): IConfigValues;
 
Public procedure WriteSectionValues(iCategory: string; iSection: string; iValues: IStrings);
 
Public procedure AppendSectionValues(iCategory: string; iSection: string; iValues: IStrings);
 
Public function ReadSectionValuesEx(iCategory: string; iSections: array of string): IConfigValues;
 
Public function ReadSectionItems(iCategory: string; iSection: string): IStrings;
 
Public procedure WriteSectionItems(iCategory: string; iSection: string; iValues: IStrings);
 
Public function GetSections(iCategory: string): IStrings;
 
Public procedure EraseSection(iCategory: string; iSection: string);
 
Public procedure EraseCategory(iCategory: string);
 
Public function ReadMultiSectionValues(iCategory: string; iPrefix: string): IConfigValuesList;
 
Public procedure WriteMultiSectionValues(iCategory: string; iPrefix: string; iValues: IConfigValuesList);
 
Public procedure DeleteKey(iCategory: string; iSection: string; iKey: string);
 
Public procedure Flush;
 
Public procedure ReleaseFile(iCategory: string);
 
Public procedure ReleaseAllFiles;
 

Generated by PasDoc 0.16.0.