aboutsummaryrefslogtreecommitdiff
path: root/src/stable/randombase.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-27 17:42:41 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-27 17:42:41 +0000
commit223e2986ad7752d38ce24d1cbeff47db98df1ae3 (patch)
treeb771b61ac7ae960909c7f670baf70726f8ffe01a /src/stable/randombase.h
parent21df391dc6055884e621181cbc3b51d9ec2b095c (diff)
downloadlibbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.gz
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.bz2
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.xz
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.zip
Added a few comments and fixed a string unit test, it assumed hex would be
upper case by default and now it's lower case.
Diffstat (limited to 'src/stable/randombase.h')
-rw-r--r--src/stable/randombase.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stable/randombase.h b/src/stable/randombase.h
index 946284f..953ccb8 100644
--- a/src/stable/randombase.h
+++ b/src/stable/randombase.h
@@ -11,6 +11,15 @@
11 11
12namespace Bu 12namespace Bu
13{ 13{
14 /**
15 * Base class for random number generators. This provides some basic
16 * implementations of standard helper functions. If your specific random
17 * number generator does not use the full range of a 32 bit integer then
18 * you'll want to override at least randNorm() to correct the range.
19 *
20 * Random number generators are not thread safe on their own. See
21 * Bu::Random.
22 */
14 class RandomBase 23 class RandomBase
15 { 24 {
16 public: 25 public: