LeviLamina
Loading...
Searching...
No Matches
XoroshiroRandom.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/IRandom.h"
7
8// auto generated forward declare list
9// clang-format off
11// clang-format on
12
13class XoroshiroRandom : public ::IRandom {
14public:
15 // member variables
16 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 XoroshiroRandom& operator=(XoroshiroRandom const&);
24 XoroshiroRandom(XoroshiroRandom const&);
25 XoroshiroRandom();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual int nextInt() /*override*/;
31
32 virtual int nextInt(int bound) /*override*/;
33
34 virtual int64 nextLong() /*override*/;
35
36 virtual bool nextBoolean() /*override*/;
37
38 virtual float nextFloat() /*override*/;
39
40 virtual double nextDouble() /*override*/;
41
42 virtual double nextGaussianDouble() /*override*/;
43
44 virtual ::std::unique_ptr<::IPositionalRandomFactory> forkPositional() /*override*/;
45
46 virtual void consumeCount(uint rounds) /*override*/;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCNAPI int $nextInt();
53
54 MCNAPI int $nextInt(int bound);
55
56 MCNAPI int64 $nextLong();
57
58 MCNAPI bool $nextBoolean();
59
60 MCNAPI float $nextFloat();
61
62 MCNAPI double $nextDouble();
63
64 MCNAPI double $nextGaussianDouble();
65
66 MCNAPI ::std::unique_ptr<::IPositionalRandomFactory> $forkPositional();
67
68 MCNAPI void $consumeCount(uint rounds);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition IPositionalRandomFactory.h:11
Definition IRandom.h:10
MCAPI double $nextDouble()
MCAPI int $nextInt(int bound)
MCAPI double $nextGaussianDouble()
MCAPI float $nextFloat()
MCAPI bool $nextBoolean()
MCAPI ::std::unique_ptr<::IPositionalRandomFactory > $forkPositional()
static MCAPI void ** $vftable()
MCAPI int $nextInt()
MCAPI int64 $nextLong()
MCAPI void $consumeCount(uint rounds)
Definition Alias.h:14