glibmm: Glib::Value_Enum< T > Class Template Reference
Base class of Glib::Value<T> specializations for enum types. More...
#include <glibmm/value.h>
Inheritance diagram for Glib::Value_Enum< T >:

Public Types |
|
using | CppType = T |
![]() |
|
using | CType = gint |
Public Member Functions |
|
void | set ( CppType data) |
CppType | get () const |
![]() |
|
ValueBase () | |
Initializes the GValue, but without a type.
More...
|
|
ValueBase (const ValueBase & other) | |
ValueBase & | operator= (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 |
Additional Inherited Members |
|
![]() |
|
static GType | value_type () |
![]() |
|
void | set_enum (int data) |
int | get_enum () const |
![]() |
|
GValue | gobject_ |
Detailed Description
template<class T>
class Glib::Value_Enum< T >
Base class of Glib::Value<T> specializations for enum types.
Member Typedef Documentation
template <class T >
using Glib::Value_Enum < T >:: CppType = T |
Member Function Documentation
template <class T >
|
inline |
template <class T >
|
inline |