| libgdamm Reference Documentation |
Public Types | |
| typedef sigc::slot< void, Glib::ustring, Glib::ustring > | ForeachSlot |
Public Member Functions | |
| void | add_from_string (const Glib::ustring& name, bool cleanup) |
| void | clear () |
| Removes all strings in the given Gda::QuarkList. | |
| Glib::ustring | find (const Glib::ustring& name) const |
| Searches for the value identified by name in the given Gda::QuarkList. | |
| void | foreach (const ForeachSlot& func) |
| Calls the given function for each of the key/value pairs in qlist. | |
| const GdaQuarkList* | gobj () const |
| Provides access to the underlying C instance. | |
| GdaQuarkList* | gobj () |
| Provides access to the underlying C instance. | |
| GdaQuarkList* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
| QuarkList& | operator= (const QuarkList& other) |
| QuarkList (const QuarkList& other) | |
| QuarkList (GdaQuarkList* gobject, bool make_a_copy=true) | |
| QuarkList () | |
| void | remove (const Glib::ustring& name) |
| Removes an entry from the Gda::QuarkList, given its name. | |
| void | swap (QuarkList& other) |
| ~QuarkList () | |
Protected Attributes | |
| GdaQuarkList* | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| void | swap (QuarkList& lhs, QuarkList& rhs) |
| Gnome::Gda::QuarkList | wrap (GdaQuarkList* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
Parameter lists are used primarily in the parsing and creation of connection strings.
| typedef sigc::slot<void, Glib::ustring, Glib::ustring> Gnome::Gda::QuarkList::ForeachSlot |
| Gnome::Gda::QuarkList::QuarkList | ( | ) |
| Gnome::Gda::QuarkList::QuarkList | ( | GdaQuarkList * | gobject, | |
| bool | make_a_copy = true | |||
| ) | [explicit] |
| Gnome::Gda::QuarkList::QuarkList | ( | const QuarkList& | other | ) |
| Gnome::Gda::QuarkList::~QuarkList | ( | ) |
| void Gnome::Gda::QuarkList::add_from_string | ( | const Glib::ustring & | name, | |
| bool | cleanup | |||
| ) |
| void Gnome::Gda::QuarkList::clear | ( | ) |
Removes all strings in the given Gda::QuarkList.
| Glib::ustring Gnome::Gda::QuarkList::find | ( | const Glib::ustring & | name | ) | const |
Searches for the value identified by name in the given Gda::QuarkList.
| name | The name of the value to search for. |
0 if not found. | void Gnome::Gda::QuarkList::foreach | ( | const ForeachSlot& | 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 iterating over it.
| func | The function to call for each key/value pair. | |
| user_data | User data to pass to the function. |
| const GdaQuarkList* Gnome::Gda::QuarkList::gobj | ( | ) | const [inline] |
| GdaQuarkList* Gnome::Gda::QuarkList::gobj | ( | ) | [inline] |
| GdaQuarkList* Gnome::Gda::QuarkList::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
| void Gnome::Gda::QuarkList::remove | ( | const Glib::ustring & | name | ) |
| Gnome::Gda::QuarkList wrap | ( | GdaQuarkList * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
A Glib::wrap() method for this object.
| object | The C instance. | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
GdaQuarkList* Gnome::Gda::QuarkList::gobject_ [protected] |
Referenced by gobj().