glibmm 2.82.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Glib::Value< Glib::RefPtr< T >, typename std::enable_if_t< Glib::Traits::HasGetBaseType< T, GType()>::value||Glib::Traits::IsIncompleteClassType< T >::value > > Class Template Reference

Partial specialization for RefPtr<> to Glib::Object. More...

#include <glibmm/value.h>

Inheritance diagram for Glib::Value< Glib::RefPtr< T >, typename std::enable_if_t< Glib::Traits::HasGetBaseType< T, GType()>::value||Glib::Traits::IsIncompleteClassType< T >::value > >:
Inheritance graph
[legend]

Public Types

using CppType = Glib::RefPtr< T >
 

Public Member Functions

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_Object
static GType value_type ()
 

Additional Inherited Members

- Protected Member Functions inherited from Glib::ValueBase_Object
void set_object (Glib::ObjectBase *data)
 
Glib::ObjectBaseget_object () const
 
Glib::RefPtr< Glib::ObjectBaseget_object_copy () const
 
- Protected Attributes inherited from Glib::ValueBase
GValue gobject_
 

Detailed Description

template<class T>
class Glib::Value< Glib::RefPtr< T >, typename std::enable_if_t< Glib::Traits::HasGetBaseType< T, GType()>::value||Glib::Traits::IsIncompleteClassType< T >::value > >

Partial specialization for RefPtr<> to Glib::Object.

Member Typedef Documentation

◆ CppType

Member Function Documentation

◆ get()

template <class T >
CppType Glib::Value< Glib::RefPtr< T >, typename std::enable_if_t< Glib::Traits::HasGetBaseType< T, GType()>::value||Glib::Traits::IsIncompleteClassType< T >::value > >::get ( ) const
inline

◆ set()

◆ value_type()

template <class T >
static GType Glib::Value< Glib::RefPtr< T >, typename std::enable_if_t< Glib::Traits::HasGetBaseType< T, GType()>::value||Glib::Traits::IsIncompleteClassType< T >::value > >::value_type ( )
inlinestatic