Image Component Library (ICL)
|
lightweight Random generator class for uniform random distributions in positive integer domain More...
#include <Random.h>
Public Member Functions | |
URandI (unsigned int max) | |
Create with given max value. | |
operator unsigned int () const | |
returns random(this->max) | |
Private Attributes | |
unsigned int | max |
lightweight Random generator class for uniform random distributions in positive integer domain
icl::utils::URandI::URandI | ( | unsigned int | max | ) | [inline] |
Create with given max value.
icl::utils::URandI::operator unsigned int | ( | ) | const [inline] |
returns random(this->max)
unsigned int icl::utils::URandI::max [private] |