|
glibmm 2.28.2
|
Specialization of Variant containing a VariantBase. More...
#include <glibmm/variant.h>

Public Types | |
| typedef GVariant* | CType |
| typedef VariantBase | CppType |
| typedef Variant< VariantBase > | CppContainerType |
Public Member Functions | |
| Variant () | |
| Default constructor. | |
| Variant (GVariant* castitem, bool take_a_reference=false) | |
| GVariant constructor. | |
| void | get (VariantBase& variant) const |
| VariantBase | get () const |
| Unboxes value. | |
Static Public Member Functions | |
| static const VariantType& | variant_type () |
| Gets the VariantType. | |
| static Variant< VariantBase > | create (const VariantBase& data) |
| Creates a new Variant<VariantBase>. | |
Specialization of Variant containing a VariantBase.
| typedef Variant<VariantBase> Glib::Variant< VariantBase >::CppContainerType |
| typedef VariantBase Glib::Variant< VariantBase >::CppType |
Reimplemented from Glib::VariantContainerBase.
| typedef GVariant* Glib::Variant< VariantBase >::CType |
Reimplemented from Glib::VariantContainerBase.
| Glib::Variant< VariantBase >::Variant | ( | ) |
Default constructor.
| Glib::Variant< VariantBase >::Variant | ( | GVariant< VariantBase >* | castitem, |
| bool | take_a_reference = false |
||
| ) | [explicit] |
GVariant constructor.
| castitem | The GVariant to wrap. |
| take_a_reference | Whether to take an extra reference of the GVariant or not (not taking one could destroy the GVariant with the wrapper). |
| static Variant<VariantBase> Glib::Variant< VariantBase >::create | ( | const VariantBase& | data | ) | [static] |
Creates a new Variant<VariantBase>.
| data | The value of the new Variant. |
| VariantBase Glib::Variant< VariantBase >::get | ( | ) | const |
Unboxes value.
The result is the Variant instance that was contained in value.
| void Glib::Variant< VariantBase >::get | ( | VariantBase& | variant | ) | const |
| static const VariantType& Glib::Variant< VariantBase >::variant_type | ( | ) | [static] |
1.7.4