|
glibmm 2.31.20
|
Specialization of Variant containing a std::string, for variants of type bytestring, object path, or signature. More...
#include <glibmm/variant.h>

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