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) | |
GVariant constructor. | |
double | get () const |
Gets the value of the Glib::Variant<double>. | |
Static Public Member Functions | |
static const GVariantType* | variant_type () |
Gets the GVariantType. | |
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 ) | [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 GVariantType* Glib::Variant< double >::variant_type | ( | ) | [static] |
Gets the GVariantType.