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