glibmm 2.31.0
|
Specialization of Variant containing a Glib::ustring, for variants of type string, bytestring, object path, or signature. More...
#include <glibmm/variant.h>
Public Types | |
typedef char* | CType |
typedef Glib::ustring | CppType |
Public Member Functions | |
Variant () | |
Default constructor. | |
Variant (GVariant* castitem, bool take_a_reference=false) | |
GVariant constructor. | |
Glib::ustring | get () const |
Gets the contents of the Variant. | |
Static Public Member Functions | |
static const VariantType& | variant_type () |
Gets the VariantType. | |
static Variant< Glib::ustring > | create (const Glib::ustring& data) |
Creates a new Variant<Glib::ustring>. |
Specialization of Variant containing a Glib::ustring, for variants of type string, bytestring, object path, or signature.
typedef Glib::ustring Glib::Variant< Glib::ustring >::CppType |
Reimplemented from Glib::VariantStringBase.
typedef char* Glib::Variant< Glib::ustring >::CType |
Reimplemented from Glib::VariantStringBase.
Glib::Variant< Glib::ustring >::Variant | ( | ) |
Default constructor.
Glib::Variant< Glib::ustring >::Variant | ( | GVariant< Glib::ustring >* | 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<Glib::ustring> Glib::Variant< Glib::ustring >::create | ( | const Glib::ustring& | data | ) | [static] |
Creates a new Variant<Glib::ustring>.
data | The value of the new Variant. |
Glib::ustring Glib::Variant< Glib::ustring >::get | ( | ) | const |
static const VariantType& Glib::Variant< Glib::ustring >::variant_type | ( | ) | [static] |