gda.quark_list

Module for [QuarkList] class

class QuarkList

Types 1

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
QuarkList self() nothrowReturns `this`, for use in `with` statements.
gda.quark_list.QuarkList newFromString(string string_) static nothrowCreates a new #GdaQuarkList given a string.
void addFromString(string string_, bool cleanup) nothrowstring must be a semi-colon separated list of "<key>=<value>" strings (for example "DB_NAME=notes;USERNAME=alfred"). Each key and value must respect the RFC 1738 recommendations: the <c...
void clear() nothrowRemoves all strings in the given #GdaQuarkList.
gda.quark_list.QuarkList copy() nothrowCreates a new #GdaQuarkList from an existing one. Returns: a newly allocated #GdaQuarkList with a copy of the data in qlist.
string find(string name) nothrowSearches 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) nothrowCalls 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() nothrowCall this function to get rid of the clear version of the value associated to name.
void remove(string name) nothrowRemoves 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...