AusweisApp2
Random.h
gehe zur Dokumentation dieser Datei
1
5
#pragma once
6
7
#include <QObject>
8
9
namespace
governikus
10
{
11
12
class
Random
13
:
public
QObject
14
{
15
Q_OBJECT
16
friend
class
Env
;
17
18
private
:
19
Random
() =
default
;
20
~
Random
()
override
=
default
;
21
22
public
:
24
Q_INVOKABLE
int
randomInt
(
int
pLowerBound,
int
pUpperBound)
const
;
25
};
26
27
}
// namespace governikus
governikus::Randomizer::getInstance
static Randomizer & getInstance()
governikus::Env
Definition:
Env.h:44
Randomizer.h
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition:
ActivationContext.h:15
governikus::Random
Definition:
Random.h:14
governikus::Random::randomInt
Q_INVOKABLE int randomInt(int pLowerBound, int pUpperBound) const
A discrete random distribution on the range [pLowerBound, pUpperBound] with equal probability through...
Definition:
Random.cpp:14
Random.h
src
ui
qml
Random.h
Erzeugt von
1.8.20