ICF 3.0.5.47
Technical documentation of ICF Libraries
istd::CRandomNumber Class Reference

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

#include <CRandomNumber.h>

Collaboration diagram for istd::CRandomNumber:

Public Member Functions

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

Protected Member Functions

double GetNextUnitary () const
 

Detailed Description

Helper class for calculation of a random number.

Definition at line 16 of file CRandomNumber.h.

Constructor & Destructor Documentation

◆ CRandomNumber()

istd::CRandomNumber::CRandomNumber ( )

Member Function Documentation

◆ GetNextDouble()

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

Get new random real value in the given range.

◆ GetNextInt()

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

Get new random integer value in the given range.

◆ GetNextUnitary()

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

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

© Witold Gantzke and Kirill Lepskiy