ACF $AcfVersion:0$
CRandomNumber.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5namespace istd
6{
7
8
13{
14public:
16
20 int GetNextInt(int minValue, int maxValue) const;
21
25 double GetNextDouble(double minValue, double maxValue) const;
26
27protected:
28 double GetNextUnitary() const;
29};
30
31
32} // namespace istd
33
34
35
36
Helper class for calculation of a random number.
double GetNextDouble(double minValue, double maxValue) const
Get new random real value in the given range.
double GetNextUnitary() const
int GetNextInt(int minValue, int maxValue) const
Get new random integer value in the given range.
Standard library.
Definition IComponent.h:17