SettingsFileDataclass

settings.t[465]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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 5/16/2013 from TADS version 3.1.3