Public Member Functions | Protected Member Functions | List of all members
istd::CRandomNumber Class Reference

Helper class for calculation of a random number. More...

#include <CRandomNumber.h>

Public Member Functions

 CRandomNumber ()
 
int GetNextInt (int minValue, int maxValue) const
 Get new random integer value in the given range. More...
 
double GetNextDouble (double minValue, double maxValue) const
 Get new random real value in the given range. More...
 

Protected Member Functions

double GetNextUnitary () const
 

Detailed Description

Helper class for calculation of a random number.

Definition at line 12 of file CRandomNumber.h.

Constructor & Destructor Documentation

istd::CRandomNumber::CRandomNumber ( )

Member Function Documentation

double istd::CRandomNumber::GetNextDouble ( double  minValue,
double  maxValue 
) const

Get new random real value in the given range.

int istd::CRandomNumber::GetNextInt ( int  minValue,
int  maxValue 
) const

Get new random integer value in the given range.

double istd::CRandomNumber::GetNextUnitary ( ) const
protected

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy