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#include "mc/deps/core/math/IRandomSeeded.h"
8
9// auto generated forward declare list
10// clang-format off
12struct Seed128Bit;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 XoroshiroRandom& operator=(XoroshiroRandom const&);
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 2
33 virtual int nextInt() /*override*/;
34
35 // vIndex: 1
36 virtual int nextInt(int bound) /*override*/;
37
38 // vIndex: 3
39 virtual int64 nextLong() /*override*/;
40
41 // vIndex: 4
42 virtual bool nextBoolean() /*override*/;
43
44 // vIndex: 5
45 virtual float nextFloat() /*override*/;
46
47 // vIndex: 6
48 virtual double nextDouble() /*override*/;
49
50 // vIndex: 7
51 virtual double nextGaussianDouble() /*override*/;
52
53 // vIndex: 9
54 virtual ::std::unique_ptr<::IRandom> fork() /*override*/;
55
56 // vIndex: 10
57 virtual ::std::unique_ptr<::IPositionalRandomFactory> forkPositional() /*override*/;
58
59 // vIndex: 8
60 virtual void consumeCount(uint rounds) /*override*/;
61
62 // vIndex: 2
63 virtual void setSeed(int64 seed) /*override*/;
64
65 // vIndex: 1
66 virtual void setSeed(::Seed128Bit seed) /*override*/;
67
68 // vIndex: 3
69 virtual int64 seed64() const /*override*/;
70
71 // vIndex: 4
72 virtual ::Seed128Bit seed128() const /*override*/;
73
74 // vIndex: 0
75 virtual ~XoroshiroRandom() /*override*/;
76 // NOLINTEND
77
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCNAPI uint nextInt(uint bound);
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCNAPI int $nextInt();
94
95 MCNAPI int $nextInt(int bound);
96
97 MCNAPI int64 $nextLong();
98
99 MCNAPI bool $nextBoolean();
100
101 MCNAPI float $nextFloat();
102
103 MCNAPI double $nextDouble();
104
105 MCNAPI double $nextGaussianDouble();
106
107 MCNAPI ::std::unique_ptr<::IRandom> $fork();
108
109 MCNAPI ::std::unique_ptr<::IPositionalRandomFactory> $forkPositional();
110
111 MCNAPI void $consumeCount(uint rounds);
112
113 MCNAPI void $setSeed(int64 seed);
114
115 MCNAPI void $setSeed(::Seed128Bit seed);
116
117 MCNAPI int64 $seed64() const;
118
119 MCNAPI ::Seed128Bit $seed128() const;
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCNAPI static void** $vftableForIRandom();
126
127 MCNAPI static void** $vftableForIRandomSeeded();
128 // NOLINTEND
129};
Definition IPositionalRandomFactory.h:11
Definition IRandomSeeded.h:10
Definition IRandom.h:10
Definition XoroshiroRandom.h:15
MCAPI double $nextDouble()
MCAPI void $dtor()
MCAPI int $nextInt(int bound)
static MCAPI void ** $vftableForIRandom()
MCAPI void $setSeed(int64 seed)
MCAPI uint nextInt(uint bound)
MCAPI int64 $seed64() const
MCAPI ::std::unique_ptr<::IRandom > $fork()
MCAPI double $nextGaussianDouble()
static MCAPI void ** $vftableForIRandomSeeded()
MCAPI::Seed128Bit $seed128() const
MCAPI void $setSeed(::Seed128Bit seed)
MCAPI float $nextFloat()
MCAPI bool $nextBoolean()
MCAPI ::std::unique_ptr<::IPositionalRandomFactory > $forkPositional()
MCAPI int $nextInt()
MCAPI int64 $nextLong()
MCAPI void $consumeCount(uint rounds)
Definition Seed128Bit.h:5
Definition Alias.h:14