AusweisApp2
Lade ...
Suche ...
Keine Treffer
Random.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include <QObject>
8
9namespace governikus
10{
11
12class 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
Definition: Env.h:44
Definition: Random.h:14
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
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15