#include <glibmm/value.h>
◆ ValueBase() [1/2]
Glib::ValueBase::ValueBase |
( |
| ) |
|
Initializes the GValue, but without a type.
You have to call init() before using the set(), get(), or reset() methods.
◆ ValueBase() [2/2]
◆ ~ValueBase()
Glib::ValueBase::~ValueBase |
( |
| ) |
|
|
noexcept |
◆ gobj() [1/2]
GValue * Glib::ValueBase::gobj |
( |
| ) |
|
|
inline |
◆ gobj() [2/2]
const GValue * Glib::ValueBase::gobj |
( |
| ) |
const |
|
inline |
◆ init() [1/2]
void Glib::ValueBase::init |
( |
const GValue * |
value | ) |
|
Setup the GValue storing the type and value of the specified value.
Note that init() should never be called twice.
init() is not implemented as constructor, to avoid the necessity to implement a forward constructor in each derived class.
- Parameters
-
value | The existing GValue. |
◆ init() [2/2]
Setup the GValue for storing the specified type.
The contents will be initialized to the default value for this type. Note that init() should never be called twice.
init() is not implemented as constructor, to avoid the necessity to implement a forward constructor in each derived class.
- Parameters
-
type | The type that the Value should hold. |
◆ operator=()
◆ reset()
void Glib::ValueBase::reset |
( |
| ) |
|
Reset contents to the default value of its type.
◆ gobject_
GValue Glib::ValueBase::gobject_ |
|
protected |