TC::Rng Class Reference
[Base Classes and Functions]

Provides functions to get/create/set file information. More...

#include <TCRng.h>

List of all members.

Public Member Functions

virtual uint32 GetRandomNumber ()=0
 Get Random true or false value.
virtual uint32 GetRandomNumber (uint32 lower_limit, uint32 upper_limit)=0
 Get random uint32 value between lower_limit and upper_limit The lower_limit and upper_limit is included in the set of random numbers.
virtual double GetRandomNumberDouble (double lower_limit, double upper_limit)=0
 Get random double value between lower_limit and upper_limit The lower_limit and upper_limit is included in the set of random numbers.
virtual void SetSeed (uint32 seed)=0
 Set a new seed to the random number generator.
virtual ~Rng ()


Detailed Description

Provides functions to get/create/set file information.

Definition at line 58 of file TCRng.h.


Constructor & Destructor Documentation

virtual TC::Rng::~Rng (  )  [inline, virtual]

Definition at line 80 of file TCRng.h.


Member Function Documentation

virtual uint32 TC::Rng::GetRandomNumber (  )  [pure virtual]

Get Random true or false value.

virtual uint32 TC::Rng::GetRandomNumber ( uint32  lower_limit,
uint32  upper_limit 
) [pure virtual]

Get random uint32 value between lower_limit and upper_limit The lower_limit and upper_limit is included in the set of random numbers.

virtual double TC::Rng::GetRandomNumberDouble ( double  lower_limit,
double  upper_limit 
) [pure virtual]

Get random double value between lower_limit and upper_limit The lower_limit and upper_limit is included in the set of random numbers.

virtual void TC::Rng::SetSeed ( uint32  seed  )  [pure virtual]

Set a new seed to the random number generator.


The documentation for this class was generated from the following file:

Copyright (c) Thomas Goessler 2003 - 2008