glibmm: Glib::Value< const T *, Enable > Class Template Reference

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

#include <glibmm/value_custom.h>

Inheritance diagram for Glib::Value< const T *, Enable >:

Additional Inherited Members

- Public Types inherited from Glib::Value_Pointer< const T* >
using T = std::remove_cv_t< std::remove_pointer_t< const T* >>
 
using CppType = const T*
 
- Public Member Functions inherited from Glib::Value_Pointer< const 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< const 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< const T *, Enable >

Specialization for pointers to const instances of any type.

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