TIniFile class
Ini file implementation.
Declaration
TIniFile = class(TCustomIniFile)Inheritance
- TIniFile
- TCustomIniFile
Descends from it: TMemIniFile
Description
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
See also
Properties
Dirty | protected | |
Stream | public | Stream from which ini file was read. |
CacheUpdates | public | Should changes be kept in memory. |
WriteBOM | public | Indicates if a Byte Order Mark (BOM) is written at the start of the .INI file. |
Methods
ReadIniValues | protected | |
MaybeUpdateFile | protected | |
SetEncoding | protected | |
Create | public | Create a new instance of TIniFile. |
Destroy | public | Remove the TIniFile instance from memory. |
ReadString | public | Read a string. |
WriteString | public | Write string to file. |
ReadSection | public | Read the key names in a section. |
ReadSectionRaw | public | Read raw section. |
ReadSections | public | Read section names. |
ReadSectionValues | public | Read names and values of a section. |
EraseSection | public | Clear a section. |
DeleteKey | public | Delete key. |
UpdateFile | public | Update the file on disk. |
Inherited
From TCustomIniFile (29)
BoolFalseStrings BoolTrueStrings CaseSensitive Encoding EscapeLineFeeds FileName FormatSettingsActive Options OwnsEncoding ReadBinaryStream ReadBool ReadDate ReadDateTime ReadFloat ReadInt64 ReadInteger ReadTime SectionExists SetBoolStringValues StripQuotes ValueExists WriteBinaryStream WriteBool WriteDate WriteDateTime WriteFloat WriteInt64 WriteInteger WriteTime
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
