XmlHash
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ Compact ]
public class XmlHash
A hash table representation of an XML file.
Content:
Static methods:
Methods:
- public void add (string key, string data)
Adds a new key/value pair to the XmlHash
hash
.
- public XmlHashStatus compare (string key, string compare_data)
Compares the value with key equal to key
in hash
against compare_data
.
- public void destroy ()
Frees the memory associated with hash
.
- public void foreach_key (XmlHashFunc func)
Executes func
against each key/value pair in hash
.
- public void foreach_key_remove (XmlHashRemoveFunc func)
Calls foreach_remove on hash
's internal hash table.
- public void remove (string key)
Remove the entry in hash
with key equal to key
, if it exists.
- public void write ()
Writes the XML represented by hash
to the file originally
passed to @new.