glibmm 2.31.16
|
Specialization of Glib::Variant containing a bool type. More...
#include <glibmm/variant_basictypes.h>
Public Types | |
typedef gboolean | CType |
Public Member Functions | |
Variant () | |
Default constructor. | |
Variant (GVariant* castitem, bool take_a_reference=false) | |
GVariant constructor. | |
bool | get () const |
Gets the value of the Glib::Variant<bool>. | |
Static Public Member Functions | |
static const VariantType& | variant_type () |
Gets the Glib::VariantType. | |
static Variant< bool > | create (bool data) |
Creates a new Glib::Variant<bool>. |
Specialization of Glib::Variant containing a bool type.
typedef gboolean Glib::Variant< bool >::CType |
Glib::Variant< bool >::Variant | ( | ) | [inline] |
Default constructor.
Glib::Variant< bool >::Variant | ( | GVariant< bool > * | castitem, |
bool | take_a_reference = false |
||
) | [inline, explicit] |
GVariant constructor.
castitem | The GVariant to wrap. |
static Variant<bool> Glib::Variant< bool >::create | ( | bool | data | ) | [static] |
Creates a new Glib::Variant<bool>.
data | The value of the new Glib::Variant<bool>. |
bool Glib::Variant< bool >::get | ( | ) | const |
Gets the value of the Glib::Variant<bool>.
static const VariantType& Glib::Variant< bool >::variant_type | ( | ) | [static] |
Gets the Glib::VariantType.