LavishSettings:settingset (Object Type)

From Lavish Software Wiki
Revision as of 19:15, 3 July 2006 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Description

Object Type Vitals
settingset
Defined By LavishSettings
Inherits settingnode
Reduces To the name of the set
Variable Object Type settingsetref
Uses Sub-Types no
C/C++ Type internal

Members

  • string Name: Name of this set
  • uint GUID: Unique ID of this set
  • settingset FindSet[name]: Retrieve a child set by name
  • setting FindSetting[name]: Retrieve a child setting by name
  • ... Children: Retrieves the first child node, if any, in this set

Methods

  • Import[filename]: Imports a given LavishSettings XML file into this set
  • Reload[filename]: Imports a given LavishSettings XML file into this set, for re-loading
  • Export[filename]: Exports this set to a given LavishSettings XML file
  • AddSet[name]: Creates a child set (sub-set) with the given name
  • AddComment[text]: Creates a child comment with the given text
  • AddSetting[name,value]: Creates a child setting with the given name and value
  • Rename[name]: Renames this set with the given name
  • Clear: Clears (destroys) all children from this set
  • Sort: Sorts the children in this set alphabetically
  • GetIterator[iterator object]: Initializes the given iterator object for iteration of all children of this set
  • GetSetIterator[iterator object]: Initializes the given iterator object for iteration of all child sets of this set
  • GetSettingIterator[iterator object]: Initializes the given iterator object for iteration of all child settings of this set
  • GetCommentIterator[iterator object]: Initializes the given iterator object for iteration of all child comments of this set

Examples

See Also