blocxx
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
BLOCXX_NAMESPACE::RandomNumber Class Reference

#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
 

Detailed Description

Definition at line 78 of file RandomNumber.hpp.

Constructor & Destructor Documentation

◆ RandomNumber()

BLOCXX_NAMESPACE::RandomNumber::RandomNumber ( Int32  lowVal = 0,
Int32  highVal = RAND_MAX 
)

Definition at line 101 of file RandomNumber.cpp.

Member Function Documentation

◆ getNextNumber()

Int32 BLOCXX_NAMESPACE::RandomNumber::getNextNumber ( )

Definition at line 160 of file RandomNumber.cpp.

◆ initRandomness()

void BLOCXX_NAMESPACE::RandomNumber::initRandomness ( )
static

Definition at line 114 of file RandomNumber.cpp.

◆ saveRandomState()

void BLOCXX_NAMESPACE::RandomNumber::saveRandomState ( )
static

Definition at line 149 of file RandomNumber.cpp.

Member Data Documentation

◆ m_highVal

Int32 BLOCXX_NAMESPACE::RandomNumber::m_highVal
private

Definition at line 123 of file RandomNumber.hpp.

◆ m_lowVal

Int32 BLOCXX_NAMESPACE::RandomNumber::m_lowVal
private

Definition at line 122 of file RandomNumber.hpp.


The documentation for this class was generated from the following files: