50 explicit Random (int64 seedValue)
noexcept;
63 int nextInt()
noexcept;
69 int nextInt (
int maxValue)
noexcept;
79 int64 nextInt64()
noexcept;
84 float nextFloat()
noexcept;
89 double nextDouble()
noexcept;
92 bool nextBool()
noexcept;
100 void fillBitsRandomly (
void* bufferToFill,
size_t sizeInBytes);
103 void fillBitsRandomly (
BigInteger& arrayToChange,
int startBit,
int numBits);
107 void setSeed (int64 newSeed)
noexcept;
110 int64
getSeed() const noexcept {
return seed; }
116 void combineSeed (int64 seedValue)
noexcept;
124 void setSeedRandomly();
132 static Random& getSystemRandom() noexcept;
138 JUCE_LEAK_DETECTOR (
Random)
An arbitrarily large integer class.
A random number generator.
int64 getSeed() const noexcept
Returns the RNG's current seed.
A general-purpose range object, that simply represents any linear range with a start and end point.
#define JUCE_API
This macro is added to all JUCE public class declarations.