QuarkList
Object Hierarchy:
Gda.QuarkList
Gda.QuarkList
Gda.QuarkList
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gda_quark_list_get_type ()" ) ] [ Compact ]public class QuarkList
Content:
Creation methods:
public QuarkList ()
Creates a new QuarkList , which is a set of
key->value pairs, very similar to GLib's GHashTable, but with the only purpose to make easier the parsing and creation of data
source connection strings.
public QuarkList.from_string (string string)
Creates a new QuarkList given a string.
Methods:
public void @foreach (HFunc func)
Calls the given function for each of the key/value pairs in
this .
public void add_from_string (string string, bool cleanup)
string
must be a semi-colon separated list of "&
lt;key>=<value>" strings (for example "DB_NAME=notes;USERNAME=alfred").
public void clear ()
Removes all strings in the given QuarkList .
public QuarkList copy ()
Creates a new QuarkList from an existing
one.
public unowned string find (string name)
Searches for the value identified by name
in the given
QuarkList .
public void free ()
Releases all memory occupied by the given
QuarkList .
public void protect_values ()
Call this function to get rid of the clear version of all the values
stored in this .
public void remove (string name)
Removes an entry from the QuarkList , given
its name.