|
blocxx
|
#include <RandomNumber.hpp>
Public Member Functions | |
| RandomNumber (Int32 lowVal=0, Int32 highVal=RAND_MAX) | |
| Int32 | getNextNumber () |
Static Public Member Functions | |
| static void | initRandomness () |
| static void | saveRandomState () |
Private Attributes | |
| Int32 | m_lowVal |
| Int32 | m_highVal |
Definition at line 48 of file RandomNumber.hpp.
Definition at line 71 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::callOnce(), initRandomness(), m_highVal, m_lowVal, and BLOCXX_NAMESPACE::operator==().
| Int32 BLOCXX_NAMESPACE::RandomNumber::getNextNumber | ( | ) |
Definition at line 130 of file RandomNumber.cpp.
References m_highVal, m_lowVal, and BLOCXX_NAMESPACE::operator==().
|
static |
Definition at line 84 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::operator==().
Referenced by RandomNumber().
|
static |
Definition at line 119 of file RandomNumber.cpp.
|
private |
Definition at line 63 of file RandomNumber.hpp.
Referenced by getNextNumber(), and RandomNumber().
|
private |
Definition at line 62 of file RandomNumber.hpp.
Referenced by getNextNumber(), and RandomNumber().