SettingsFileData class | settings.t[465]

SettingsFileData - this is an object we use to represent the contents of the configuration file.

`class SettingsFileData : object`

Superclass Tree (in declaration order)

`SettingsFileData`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`lst_ tab_`

Summary of Methods

`addComment addItem construct delItem forEach getItem setItem`

Properties

`lst_` | `settings.t[557]`

a list of SettingsFileItem objects giving the contents of the file

`tab_` | `settings.t[554]`

lookup table of values, keyed by variable name

Methods

`addComment (str)` | `settings.t[532]`

add a comment line

`addItem (id, val)` | `settings.t[504]`

add a variable

`construct ( )` | `settings.t[466]`

no description available

`delItem (id)` | `settings.t[539]`

delete an item

`forEach (func)` | `settings.t[492]`

iterate over all data (non-comment) items in the file

`getItem (id)` | `settings.t[485]`

find an item - returns a SettinsFileItem for the key, or nil if there's no existing item

`setItem (id, val)` | `settings.t[519]`

set a variable, adding a new variable if it doesn't already exist

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2