| Revision 217,
485 bytes
checked in by martin, 6 years ago
(diff) |
|
Set svn:eol-style as appropriate for all files
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // -------------------------------------------------------------------------- |
|---|
| 2 | // |
|---|
| 3 | // File |
|---|
| 4 | // Name: Random.h |
|---|
| 5 | // Purpose: Random numbers |
|---|
| 6 | // Created: 31/12/03 |
|---|
| 7 | // |
|---|
| 8 | // -------------------------------------------------------------------------- |
|---|
| 9 | |
|---|
| 10 | #ifndef RANDOM__H |
|---|
| 11 | #define RANDOM__H |
|---|
| 12 | |
|---|
| 13 | #include <string> |
|---|
| 14 | |
|---|
| 15 | namespace Random |
|---|
| 16 | { |
|---|
| 17 | void Initialise(); |
|---|
| 18 | void Generate(void *pOutput, int Length); |
|---|
| 19 | std::string GenerateHex(int Length); |
|---|
| 20 | uint32_t RandomInt(uint32_t MaxValue); |
|---|
| 21 | }; |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | #endif // RANDOM__H |
|---|
| 25 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.