glibmm: Glib::Value< float > Class Template Reference

glibmm 2.56.0

Public Types | Public Member Functions | Static Public Member Functions | List of all members
Glib::Value< float > Class Template Reference
Generic Values

`#include <glibmm/value_basictypes.h>`

Inheritance diagram for Glib::Value< float >:
[legend]

## Public Types
using | CppType = float
using | CType = gfloat

## Public Member Functions
void | set (float data)
float | get () const
Public Member Functions inherited from Glib::ValueBase
| 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

## Static Public Member Functions
static GType | value_type ()

## Additional Inherited Members
Protected Attributes inherited from Glib::ValueBase
GValue | gobject_

## Member Typedef Documentation

## ◆ CppType

using Glib::Value< float >::CppType = float

## ◆ CType

using Glib::Value< float >::CType = gfloat

## Member Function Documentation

## ◆ get()

float Glib::Value< float >::get | ( |  | ) | const

## ◆ set()

void Glib::Value< float >::set | ( | float | data | ) |

## ◆ value_type()

static GType Glib::Value< float >::value_type | ( |  | ) |
| static