glibmm 2.78.0
List of all members
Glib::Value< T *, Enable > Class Template Reference

Specialization for pointers to instances of any type. More...

#include <glibmm/value_custom.h>

Inheritance diagram for Glib::Value< T *, Enable >:
Inheritance graph
[legend]

Additional Inherited Members

- Public Types inherited from Glib::Value_Pointer< T * >
using T = std::remove_cv_t< std::remove_pointer_t< T * > >
 
using CppType = T *
 
- Public Member Functions inherited from Glib::Value_Pointer< T * >
void set (CppType data)
 
CppType get () const
 
- Public Member Functions inherited from Glib::ValueBase
 ValueBase ()
 Initializes the GValue, but without a type. More...
 
 ValueBase (const ValueBase & other)
 
ValueBaseoperator= (const ValueBase & other)
 
 ~ValueBase () noexcept
 
void init (GType type)
 Setup the GValue for storing the specified type. More...
 
void init (const GValue * value)
 Setup the GValue storing the type and value of the specified value. More...
 
void reset ()
 Reset contents to the default value of its type. More...
 
GValue * gobj ()
 
const GValue * gobj () const
 
- Static Public Member Functions inherited from Glib::Value_Pointer< T * >
static GType value_type ()
 
- Static Public Member Functions inherited from Glib::ValueBase_Object
static GType value_type ()
 
- 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, typename Enable>
class Glib::Value< T *, Enable >

Specialization for pointers to instances of any type.

No attempt is made to manage the memory associated with the pointer, you must take care of that yourself.