[Overview][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Ini file implementation
Source position: inifiles.pp line 183
type TIniFile = class(TCustomIniFile) end; |
||
public |
||
constructor Create(); |
|
Create a new instance of TIniFile |
destructor Destroy; override; |
|
Remove the TIniFile instance from memory |
function ReadString(); override; |
|
Read a string |
procedure WriteString(); override; |
|
Write string to file |
procedure ReadSection(); override; |
|
Read the key names in a section |
procedure ReadSectionRaw(); |
|
Read raw section |
procedure ReadSections(); override; |
|
Read section names |
procedure ReadSectionValues(); override; |
|
|
procedure EraseSection(); override; |
|
|
procedure DeleteKey(); override; |
|
Delete key |
procedure UpdateFile; override; |
|
Update the file on disk |
|
Stream from which ini file was read |
|
property CacheUpdates: Boolean; [rw] |
|
Should changes be kept in memory |
|
Ini file implementation |
|
| | ||
|
Abstract ini file object |
|
| | ||
TObject |
TIniFile is an implementation of TCustomIniFile which does the same as TMemIniFile, namely it reads the whole file into memory. Unlike TMemIniFile it does not cache updates in memory, but immediately writes any changes to disk.
TIniFile introduces no new methods, it just implements the abstract methods introduced in TCustomIniFile
|
Abstract ini file object |
|
|
Inifile cached in memory |