alaCarte Maps
Renderer for OpenStreetMap tiles
|
#include <random.hpp>
Public Member Functions | |
Random () | |
Random (unsigned long _init) | |
~Random () | |
void | next () |
template<typename T > | |
T | rand () |
int | rand () |
template<typename T > | |
T | rand (T _max) |
template<typename T > | |
T | rand (T _min, T _max) |
Static Public Member Functions | |
static void | Next () |
template<typename T > | |
static T | Rand () |
static int | Rand () |
template<typename T > | |
static T | Rand (T _max) |
template<typename T > | |
static T | Rand (T _min, T _max) |
Private Attributes | |
unsigned long | m_RandomSeed |
Static Private Attributes | |
static Random | m_RandomGenerator |
Definition at line 8 of file random.hpp.
Random::Random | ( | ) |
Definition at line 11 of file random.cpp.
Random::Random | ( | unsigned long | _init | ) |
Definition at line 22 of file random.cpp.
Random::~Random | ( | ) |
Definition at line 27 of file random.cpp.
void Random::next | ( | ) |
Definition at line 32 of file random.cpp.
|
inlinestatic |
Definition at line 68 of file random.hpp.
|
inline |
Definition at line 43 of file random.hpp.
|
inline |
Definition at line 49 of file random.hpp.
|
inline |
Definition at line 55 of file random.hpp.
|
inline |
Definition at line 61 of file random.hpp.
|
inlinestatic |
Definition at line 74 of file random.hpp.
|
inlinestatic |
Definition at line 79 of file random.hpp.
|
inlinestatic |
Definition at line 85 of file random.hpp.
|
inlinestatic |
Definition at line 91 of file random.hpp.
|
staticprivate |
Definition at line 37 of file random.hpp.
|
private |
Definition at line 38 of file random.hpp.