gda.quark_list

Module for [QuarkList] class

class QuarkList

Types 1

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
QuarkList self()Returns `this`, for use in `with` statements.
gda.quark_list.QuarkList newFromString(string string_)Creates a new #GdaQuarkList given a string.
void addFromString(string string_, bool cleanup)string must be a semi-colon separated list of "<key>=<value>" strings (for example "DBNAME=notes;USERNAME=alfred"). Each key and value must respect the RFC 1738 recommendations: the <co...
void clear()Removes all strings in the given #GdaQuarkList.
gda.quark_list.QuarkList copy()Creates a new #GdaQuarkList from an existing one. Returns: a newly allocated #GdaQuarkList with a copy of the data in qlist.
string find(string name)Searches for the value identified by name in the given #GdaQuarkList. For protected values (authentification data), don't forget to call [gda.quark_list.QuarkList.protectValues] when you don't need...
void foreach_(glib.types.HFunc func)Calls the given function for each of the key/value pairs in qlist. The function is passed the key and value of each pair, and the given user_data parameter. qlist may not be modified while iteratin...
void protectValues()Call this function to get rid of the clear version of the value associated to name.
void remove(string name)Removes an entry from the #GdaQuarkList, given its name.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GdaQuarkList, 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 strin...