|
glibmm
2.31.22
|
VariantIter - An opaque data structure used to iterate through VariantBase containers such as arrays. More...
#include <glibmm/variantiter.h>
Public Member Functions | |
| VariantIter () | |
| VariantIter (GVariantIter* castitem, bool make_a_copy=false) | |
| VariantIter (const VariantIter& src) | |
| VariantIter& | operator= (const VariantIter& src) |
| ~VariantIter () | |
| GVariantIter* | gobj () |
| const GVariantIter* | gobj () const |
| GVariantIter* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
| VariantIter (const VariantBase& variant) | |
| gsize | get_n_children () const |
| Queries the number of child items in the container that we are iterating over. | |
| bool | next_value (VariantBase&value) |
Protected Attributes | |
| GVariantIter* | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::VariantIter | wrap (GVariantIter* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
VariantIter - An opaque data structure used to iterate through VariantBase containers such as arrays.
| Glib::VariantIter::VariantIter | ( | GVariantIter * | castitem, |
| bool | make_a_copy = false |
||
| ) | [explicit] |
| Glib::VariantIter::VariantIter | ( | const VariantIter& | src | ) |
| Glib::VariantIter::VariantIter | ( | const VariantBase& | variant | ) | [explicit] |
| gsize Glib::VariantIter::get_n_children | ( | ) | const |
Queries the number of child items in the container that we are iterating over.
This is the total number of items -- not the number of items remaining.
This function might be useful for preallocation of arrays.
| GVariantIter* Glib::VariantIter::gobj | ( | ) | [inline] |
| const GVariantIter* Glib::VariantIter::gobj | ( | ) | const [inline] |
| GVariantIter* Glib::VariantIter::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
| bool Glib::VariantIter::next_value | ( | VariantBase& | value | ) |
| VariantIter& Glib::VariantIter::operator= | ( | const VariantIter& | src | ) |
| Glib::VariantIter wrap | ( | GVariantIter * | 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. |
GVariantIter* Glib::VariantIter::gobject_ [protected] |
1.7.6.1