![]() |
Diana Software
|
random generator for blinding purposes More...
Public Member Functions | |
| QBlindTools (const std::string &stringSeed) | |
| double | Uniform () const |
| clear members More... | |
| double | Uniform (const int seed) const |
| int | Scramble (const std::string &word) const |
Private Attributes | |
| std::string | fStringSeed |
| int | fSeed |
random generator for blinding purposes
Definition at line 14 of file QBlindTools.hh.
| QBlindTools::QBlindTools | ( | const std::string & | stringSeed | ) |
Definition at line 7 of file QBlindTools.cc.
References DianaThrow, err, fSeed, fStringSeed, QERR_OUT_OF_RANGE, and Scramble().
| int QBlindTools::Scramble | ( | const std::string & | word | ) | const |
| double QBlindTools::Uniform | ( | ) | const |
| double QBlindTools::Uniform | ( | const int | seed | ) | const |
Definition at line 45 of file QBlindTools.cc.
References DianaThrow, err, and QERR_OUT_OF_RANGE.
|
private |
Definition at line 27 of file QBlindTools.hh.
Referenced by QBlindTools(), and Uniform().
|
private |
Definition at line 26 of file QBlindTools.hh.
Referenced by QBlindTools().