glibmm 2.82.0
|
#include <glibmm/random.h>
Public Member Functions | |
Rand () | |
Rand (guint32 seed) | |
~Rand () noexcept | |
Rand (const Rand &)=delete | |
Rand & | operator= (const Rand &)=delete |
void | set_seed (guint32 seed) |
bool | get_bool () |
guint32 | get_int () |
gint32 | get_int_range (gint32 begin, gint32 end) |
double | get_double () |
double | get_double_range (double begin, double end) |
GRand * | gobj () |
const GRand * | gobj () const |
Glib::Rand::Rand | ( | ) |
|
explicit |
|
noexcept |
bool Glib::Rand::get_bool | ( | ) |
double Glib::Rand::get_double | ( | ) |
guint32 Glib::Rand::get_int | ( | ) |
gint32 Glib::Rand::get_int_range | ( | gint32 | begin, |
gint32 | end | ||
) |
|
inline |
|
inline |