SettingsFileDataclasssettings.t[338]

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  restoreItem  saveItem 

Properties  

lst_settings.t[445]

a list of SettingsFileItem objects giving the contents of the file

tab_settings.t[442]
lookup table of values, keyed by variable name

Methods  

addComment (str)settings.t[370]

add a comment line

addItem (id, val)settings.t[355]
add a variable

construct ( )settings.t[339]
no description available

restoreItem (memItem)settings.t[425]
Restore an item. We'll look for a value for the given item in the file contents. If we find the file item, we'll restore its value to the in-memory item. If we don't find the file item, we'll restore the factory default.

saveItem (memItem)settings.t[381]
Save an item. This takes the current value from the given SettingsItem, and saves it to the in-memory representation of the file.

TADS 3 Library Manual
Generated on 7/19/2007 from TADS version 3.0.15.1