|
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.
| BLOCXX_NAMESPACE::RandomNumber::RandomNumber | ( | Int32 | lowVal = 0, |
| Int32 | highVal = RAND_MAX |
||
| ) |
Definition at line 72 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::callOnce(), and BLOCXX_NAMESPACE::cpp::guard.
| Int32 BLOCXX_NAMESPACE::RandomNumber::getNextNumber | ( | ) |
Definition at line 131 of file RandomNumber.cpp.
| void BLOCXX_NAMESPACE::RandomNumber::initRandomness | ( | ) | [static] |
Definition at line 85 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::cpp::seed.
| void BLOCXX_NAMESPACE::RandomNumber::saveRandomState | ( | ) | [static] |
Definition at line 120 of file RandomNumber.cpp.
Int32 BLOCXX_NAMESPACE::RandomNumber::m_highVal [private] |
Definition at line 63 of file RandomNumber.hpp.
Referenced by getNextNumber().
Int32 BLOCXX_NAMESPACE::RandomNumber::m_lowVal [private] |
Definition at line 62 of file RandomNumber.hpp.
Referenced by getNextNumber().
1.7.3