glibmm 2.66.8
Glib::Value< Glib::ustring > Class Reference

Specialization for UTF-8 strings. More...

#include <glibmm/value.h>

Inheritance diagram for Glib::Value< Glib::ustring >:

Public Types

using CppType = Glib::ustring
 
using CppType
 
using CType
 
- Public Types inherited from Glib::ValueBase_String
using CType = const gchar*
 

Public Member Functions

void set (const Glib::ustring &data)
 
Glib::ustring get () const
 
void set (const CppType &data)
 
CppType get () const
 
- Public Member Functions inherited from Glib::ValueBase
 ValueBase ()
 Initializes the GValue, but without a type.
 
 ValueBase (const ValueBase & other)
 
ValueBaseoperator= (const ValueBase & other)
 
 ~ValueBase () noexcept
 
void init (GType type)
 Setup the GValue for storing the specified type.
 
void init (const GValue * value)
 Setup the GValue storing the type and value of the specified value.
 
void reset ()
 Reset contents to the default value of its type.
 
GValue * gobj ()
 
const GValue * gobj () const
 

Static Public Member Functions

static GType value_type ()
 
- Static Public Member Functions inherited from Glib::ValueBase_Boxed
static GType value_type ()
 
- Static Public Member Functions inherited from Glib::ValueBase_String
static GType value_type ()
 

Additional Inherited Members

- Protected Member Functions inherited from Glib::ValueBase_Boxed
void set_boxed (const void *data)
 
void * get_boxed () const
 
- Protected Member Functions inherited from Glib::ValueBase_String
void set_cstring (const char *data)
 
const char * get_cstring () const
 
- Protected Attributes inherited from Glib::ValueBase
GValue gobject_
 

Detailed Description

Specialization for UTF-8 strings.

Member Typedef Documentation

◆ CppType [1/2]

◆ CppType [2/2]

using Glib::Value< Glib::ustring >::CppType

◆ CType

using Glib::Value< Glib::ustring >::CType

Member Function Documentation

◆ get() [1/2]

Glib::ustring Glib::Value< Glib::ustring >::get ( ) const
inline

◆ get() [2/2]

CppType Glib::Value< Glib::ustring >::get ( ) const
inline

◆ set() [1/2]

void Glib::Value< Glib::ustring >::set ( const CppType & data)
inline

◆ set() [2/2]

void Glib::Value< Glib::ustring >::set ( const Glib::ustring & data)

◆ value_type()

static GType Glib::Value< Glib::ustring >::value_type ( )
static